[radvd-devel-l] Errors when doing make.
Pekka Savola
pekkas at netcore.fi
Tue Aug 18 01:20:06 EDT 2009
It appears you're either missing bison or flex packages (but configure
isn't stopping due to that), or they don't work as expected. If you
can't figure this out, please send me off-list full configure output,
config.log as well as the full make output.
On Fri, 14 Aug 2009, Jong-Hyouk Lee wrote:
> I'm trying to install the latest version (v1.4) of RADVD, but having problems. The installed Linux distribution is Ubuntu
> (2.6.28-13-server). I got the source version and then executed the following: ./configure --prefix=/usr/local --sysconfdir=/etc
> --mandir=/usr/share/man Then, I executed make. But I met the following errors.
>
> root at homer:~/radvd-1.4# make
> make all-am
> make[1]: Entering directory `/root/radvd-1.4'
> gcc -g -O2 -Wall -Wpointer-arith -Wcast-qual -Wcast-align -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -o radvd
> log.o socket.o recv.o util.o radvd.o timer.o send.o process.o interface.o device.o device-common.o privsep.o gram.o scanner.o -lfl -lc
> radvd.o: In function `readin_config':
> /root/radvd-1.4/radvd.c:634: undefined reference to `yyin'
> /root/radvd-1.4/radvd.c:646: undefined reference to `yyin'
> gram.o: In function `yyerror':
> /root/radvd-1.4/gram.y:697: undefined reference to `yytext'
> /root/radvd-1.4/gram.y:697: undefined reference to `num_lines'
> gram.o: In function `yyparse':
> /root/radvd-1.4/gram.c:1528: undefined reference to `yylex'
> gram.o: In function `yyparse':
> /root/radvd-1.4/gram.y:437: undefined reference to `num_lines'
> gram.o: In function `yyerror':
> /root/radvd-1.4/gram.y:697: undefined reference to `yytext'
> /root/radvd-1.4/gram.y:697: undefined reference to `num_lines'
> gram.o: In function `yyparse':
> /root/radvd-1.4/gram.y:491: undefined reference to `num_lines'
> /root/radvd-1.4/gram.y:385: undefined reference to `num_lines'
> /root/radvd-1.4/gram.y:543: undefined reference to `num_lines'
> /root/radvd-1.4/gram.y:423: undefined reference to `num_lines'
> gram.o:/root/radvd-1.4/gram.y:452: more undefined references to `num_lines' follow
> collect2: ld returned 1 exit status
> make[1]: *** [radvd] Error 1
> make[1]: Leaving directory `/root/radvd-1.4'
> make: *** [all] Error 2
> root at homer:~/radvd-1.4#
>
> It seems to be related to flex or bison. Anyone knows about this?
>
> --
> IMARA Team, INRIA &
> Internet Management Technology Lab, Sungkyunkwan University.
> Jong-Hyouk Lee.
>
> #email: jonghyouk (at) gmail (dot) com
> #webpage: http://hurryon.googlepages.com/
>
>
--
Pekka Savola "You each name yourselves king, yet the
Netcore Oy kingdom bleeds."
Systems. Networks. Security. -- George R.R. Martin: A Clash of Kings
More information about the radvd-devel-l
mailing list