[sr-dev] Build problems

Andrei Pelinescu-Onciul andrei at iptel.org
Mon Jun 29 13:19:19 CEST 2009


On Jun 29, 2009 at 13:11, Klaus Darilion <klaus.mailinglists at pernau.at> wrote:
> Hi!
> 
> I justed cloned the repository and executed "make", which fails when 
> linking:
> 
> gcc -Wl,-O2 -Wl,-E   action.o atomic_ops.o basex.o bit_scan.o cfg_core.o 
> cfg_parser.o core_cmd.o crc.o daemonize.o data_lump.o data_lump_rpl.o 
> dns_cache.o dprint.o dset.o dst_blacklist.o endianness.o error.o flags.o
>    ...
> parser/sdp/sdp_helpr_funcs.o rand/fastrand.o rand/isaac/rand.o cfg/cfg.o 
> cfg/cfg_ctx.o cfg/cfg_script.o cfg/cfg_select.o cfg/cfg_struct.o 
> lex.yy.o cfg.tab.o  -ldl -lresolv   -o ser
> cfg.tab.o: In function `yyparse':
> /home/darilion/software/siprouter/sip-router/cfg.tab.c:4478: multiple 
> definition of `yyparse'
> y.tab.o:/home/darilion/software/siprouter/sip-router/y.tab.c:4527: first 
                                                       ^^^^^^^^^^^^
Why do you have a y.tab.c? sip-router compilation produces only
cfg.tab.c.
Did you run yacc or bison manually on cfg.y?

Try rm y.tab.c and see if it works.
If it doesn't then send me the output of bison -V, y.tab.c and
cfg.tab.c.

Andrei



More information about the sr-dev mailing list