[sr-dev] Compile error in enum_mod.c
Klaus Darilion
klaus.mailinglists at pernau.at
Wed Jul 8 13:35:21 CEST 2009
Andrei Pelinescu-Onciul schrieb:
>> Now I'm getting the following error:
> [...]
>> cfg.tab.o: In function `yyparse':
>> /usr/src/sip-router/cfg.tab.c:4478: multiple definition of `yyparse'
>> y.tab.o:/usr/src/sip-router/y.tab.c:4478: first defined here
> ^^^^^^^
> The file y.tab.c should not exist. It is not created by the sip-router
> compilation process (it creates cfg.tab.c instead).
> I have this reported before, but in the other case there was some mixup
> will old source files.
I found the bug - it happens if you start "make deb" a second time
1. make deb
-> this will fail with an error
2. make deb
-> this will generate y.tab.c as yacc (bison is yacc modues) instead
of bison is used
regards
klaus
More information about the sr-dev
mailing list