2009-07-08 14:21:49     SVN compilation error

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

2009-07-08 14:21:49     SVN compilation error

Lukasz Jaruszewski (POLAND)

Message: 76929   

 

Hi all,

 

I'm trying to compile uclinux-dist-trunk-svn.src from https://blackfin.uclinux.org/gf/project/uclinux-dist/frs . While compiling showed me an error which you can find below in the end part of build log:

 

[ ! -d "portmap" ] || ( touch portmap/.sgbuilt_user && make -C portmap ) || exit $?

make[3]: Entering directory `/home/kompilacja/uclinux-dist-trunk-svn-8367/user/portmap'

make NO_MMU=1 -C portmap_6.0

make[4]: Entering directory `/home/kompilacja/uclinux-dist-trunk-svn-8367/user/portmap/portmap_6.0'

bfin-uclinux-gcc -pipe -Wall -g -O2      -mcpu=bf533-0.3 -Wall -Wstrict-prototypes  -DEMBED -D__uClinux__ -I/home/kompilacja/uclinux-dist-trunk-svn-8367  -mcpu=bf533-0.3 -DNO_MMU -DCHECK_PORT -DIGNORE_SIGCHLD    -DFACILITY=LOG_DAEMON   -c -o portmap.o portmap.c

portmap.c: In function ‘main’:

portmap.c:261: warning: implicit declaration of function ‘daemon’

bfin-uclinux-gcc -pipe -Wall -g -O2      -mcpu=bf533-0.3 -Wall -Wstrict-prototypes  -DEMBED -D__uClinux__ -I/home/kompilacja/uclinux-dist-trunk-svn-8367  -mcpu=bf533-0.3 -DNO_MMU -DCHECK_PORT -DIGNORE_SIGCHLD    -DFACILITY=LOG_DAEMON   -c -o pmap_check.o pmap_check.c

bfin-uclinux-gcc -pipe -Wall -g -O2      -mcpu=bf533-0.3 -Wall -Wstrict-prototypes  -DEMBED -D__uClinux__ -I/home/kompilacja/uclinux-dist-trunk-svn-8367  -mcpu=bf533-0.3 -DNO_MMU -DCHECK_PORT -DIGNORE_SIGCHLD    -DFACILITY=LOG_DAEMON   -c -o from_local.o from_local.c

bfin-uclinux-gcc  -Wl,-elf2flt    -mcpu=bf533-0.3   portmap.o pmap_check.o from_local.o   -o portmap

portmap.o: In function `main':

/home/kompilacja/uclinux-dist-trunk-svn-8367/user/portmap/portmap_6.0/portmap.c:261: undefined reference to `_daemon'

collect2: ld returned 1 exit status

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

make[4]: Leaving directory `/home/kompilacja/uclinux-dist-trunk-svn-8367/user/portmap/portmap_6.0'

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

make[3]: Leaving directory `/home/kompilacja/uclinux-dist-trunk-svn-8367/user/portmap'

make[2]: *** [portmap] Error 2

make[2]: Leaving directory `/home/kompilacja/uclinux-dist-trunk-svn-8367/user'

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

make[1]: Leaving directory `/home/kompilacja/uclinux-dist-trunk-svn-8367/user'

make: *** [subdirs] Error 1

 

I'm using blackfin-toolchain-08r1.5-14.i386.rpm and blackfin-toolchain-uclibc-full-08r1.5-14.i386.rpm.

 

I'm wondering if  I must use SVN toolchain's when compile uClinux SVN release?

 

I will be very grateful for any suggestions and pieces of advice.

 

Lukas

QuoteReplyEditDelete

 

 

2009-07-08 14:28:08     Re: SVN compilation error

Robin Getz (UNITED STATES)

Message: 76931   

 

Lukasz:

 

Check the faq:

 

https://docs.blackfin.uclinux.org/doku.php?id=faq

 

Why do I need to use the same version of toolchain/kernel/uClibc/U-boot/uClinux-dist?

 

-Robin

QuoteReplyEditDelete

 

 

2009-07-12 00:58:18     Re: SVN compilation error

Lukasz Jaruszewski (POLAND)

Message: 77060   

 

Robin,

 

Thank you a lot for your information. I have succesfully compiled uClinux from the source.

 

Regards,

 

Lukasz

Attachments

    Outcomes