[sr-dev] Compile error in enum_mod.c

Andrei Pelinescu-Onciul andrei at iptel.org
Wed Jul 8 18:11:04 CEST 2009


On Jul 08, 2009 at 13:35, Klaus Darilion <klaus.mailinglists at pernau.at> wrote:
> 
> 
> 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

Thanks, it should be fixed. make deb works now! (although some work
regarding what exactly is packaged is still needed)


Andrei



More information about the sr-dev mailing list