illishar

uboot-tools can't compile

Discussion created by illishar on May 24, 2013
Latest reply on May 28, 2013 by illishar

Hello,

 

I'm using the trunk version.

 

uboot-tool can't compile. Error message is:

 

 

========================================================

>>> uboot-tools 2013.01.01 Building

/usr/bin/make -j2 -C /home/mk/buildroot_git/output/build/uboot-tools-2013.01.01 HOSTCC="/home/mk/buildroot_git/output/host/usr/bin/bfin-linux-uclibc-gcc" HOSTCFLAGS="-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64  -pipe -Os  -D__NOMMU__ -D__uClinux__" HOSTLDFLAGS="" HOSTSTRIP=true tools env

make[1]: Entering directory `/home/mk/buildroot_git/output/build/uboot-tools-2013.01.01'

/usr/bin/make -C tools/env all MTD_VERSION=

/usr/bin/make -C tools all

make[2]: Entering directory `/home/mk/buildroot_git/output/build/uboot-tools-2013.01.01/tools/env'

make[2]: Nothing to be done for `all'.

make[2]: Leaving directory `/home/mk/buildroot_git/output/build/uboot-tools-2013.01.01/tools/env'

make[2]: Entering directory `/home/mk/buildroot_git/output/build/uboot-tools-2013.01.01/tools'

make[3]: Entering directory `/home/mk/buildroot_git/output/build/uboot-tools-2013.01.01/tools/kernel-doc'

/home/mk/buildroot_git/output/host/usr/bin/bfin-linux-uclibc-gcc -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64  -pipe -Os  -D__NOMMU__ -D__uClinux__   -o docproc docproc.c

/tmp/ccpjFOgd.o: In function `_exec_kernel_doc':

docproc.c:(.text+0x4c4): undefined reference to `_fork'

/tmp/ccpjFOgd.o: In function `_find_all_symbols':

docproc.c:(.text+0x814): undefined reference to `_fork'

collect2: ld returned 1 exit status

make[3]: *** [docproc] Error 1

make[3]: Leaving directory `/home/mk/buildroot_git/output/build/uboot-tools-2013.01.01/tools/kernel-doc'

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

make[2]: Leaving directory `/home/mk/buildroot_git/output/build/uboot-tools-2013.01.01/tools'

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

make[1]: Leaving directory `/home/mk/buildroot_git/output/build/uboot-tools-2013.01.01'

make: *** [/home/mk/buildroot_git/output/build/uboot-tools-2013.01.01/.stamp_built] Error 2

========================================================

Outcomes