2009-05-19 05:11:52     compilation error when adding RADVD

Document created by Aaronwu Employee on Aug 15, 2013
Version 1Show Document
  • View in full screen mode

2009-05-19 05:11:52     compilation error when adding RADVD

Aymen Abdelwahed (TUNISIA)

Message: 74244   

 

Hi guys,

 

I'm looking to use radvd under uClinux, but when I add it and try to compile my kernel I'm faiced with a compilation error.

Do you know what are the dependencies needed by this package to perform the compilation?

 

 

With my best regards

 

Thanks for helping me

 

-Aymen

TranslateQuoteReplyEditDelete

 

 

2009-05-19 05:17:55     Re: compilation error when adding RADVD

Mike Frysinger (UNITED STATES)

Message: 74245   

 

if you're talking about the -lfl error, that comes from lib/flex/

QuoteReplyEditDelete

 

 

2009-05-19 05:35:12     Re: compilation error when adding RADVD

Aymen Abdelwahed (TUNISIA)

Message: 74246   

 

Hi!

 

This is the error :

 

make[3]: Entering directory `/home/aymen/Desktop/uClinux-dist-2008R1.5-RC3/user/radvd'

make -C build

make[4]: Entering directory `/home/aymen/Desktop/uClinux-dist-2008R1.5-RC3/user/radvd/build'

bfin-uclinux-gcc  -pipe -Wall -g -O2    -mcpu=bf548-any -Wl,-elf2flt    -mcpu=bf548-any -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 gram.o scanner.o -lfl -lc

radvd.o: In function `main':

../radvd.c:234: undefined reference to `_daemon'

collect2: ld returned 1 exit status

make[4]: *** [radvd] Error 1

make[4]: Leaving directory `/home/aymen/Desktop/uClinux-dist-2008R1.5-RC3/user/radvd/build'

make[3]: *** [all] Error 2

make[3]: Leaving directory `/home/aymen/Desktop/uClinux-dist-2008R1.5-RC3/user/radvd'

make[2]: *** [radvd] Error 2

make[2]: Leaving directory `/home/aymen/Desktop/uClinux-dist-2008R1.5-RC3/user'

make[1]: *** [all] Error 2

make[1]: Leaving directory `/home/aymen/Desktop/uClinux-dist-2008R1.5-RC3/user'

make: *** [subdirs] Error 1

TranslateQuoteReplyEditDelete

 

 

2009-05-19 05:44:59     Re: compilation error when adding RADVD

Mike Frysinger (UNITED STATES)

Message: 74247   

 

daemon() is not supported in 2008R1.5 or older.  you'll have to patch the source code manually.

QuoteReplyEditDelete

 

 

2009-05-19 05:46:47     Re: compilation error when adding RADVD

Aymen Abdelwahed (TUNISIA)

Message: 74248   

 

Please do you know how can I do this ?

TranslateQuoteReplyEditDelete

 

 

2009-05-19 05:56:50     Re: compilation error when adding RADVD

Aymen Abdelwahed (TUNISIA)

Message: 74249   

 

Please, what patch should I look for? where can I found it? and how can I add it to my uClinux dist ?

 

Really thanks for all your help

TranslateQuoteReplyEditDelete

 

 

2009-05-19 14:40:53     Re: compilation error when adding RADVD

Robin Getz (UNITED STATES)

Message: 74278   

 

Aymen:

 

When Mike said "you have to patch it", it meant you have to open the source file in an editor, and fix it yourself.

 

-Robin

Attachments

    Outcomes