[sr-dev] Compile error in enum_mod.c

Klaus Darilion klaus.mailinglists at pernau.at
Wed Jul 1 22:14:59 CEST 2009


Andrei Pelinescu-Onciul wrote:
> On Jun 30, 2009 at 18:58, Sa?l Ibarra <saghul at gmail.com> wrote:

>> 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.
> 
> Did you run bison cfg.y by hand? (that would explain it)
> 
> The fix is: rm y.tab.c y.tab.h
> and then retry compiling. If you manage to reproduce it somehow, please
> let me know.
> (I can't reproduce it)

I remember I had the same problem and I also tried a "make deb" some 
time before.

regards
klaus




More information about the sr-dev mailing list