[Buildroot] Buildroot compilation errors (libintl) in cygwin.

Gabbar Singh gabbar_singh_new at yahoo.com
Thu Jul 19 03:56:08 UTC 2007


Thanks a lot for the input Rex.
I did indeed add -lintl to the makefile and the error stopped. So every place where there is any configuration happening, I need to change that makefile.. correct ?
I had to make changes in two places to make it run.

Regards,
Naren

Rex Ashbaugh <rexonator at gmail.com> wrote: you must add '-lintl' to the Makefile script that links the conf program, so it brings in the libintl library

this problem has been reported many times

-Rex



 On 7/17/07, Gabbar Singh <gabbar_singh_new at yahoo.com> wrote: Hi,
I am trying to build a rootfs for arm9 using buildroot.
I am getting this error repeatedly. I couldnt find any helpful info on googling. could anybody please help me out with this.

$ make
if [ ! -e "/home/buildroot/toolchain_build_arm/bin/sed" ] ; then \ 
                mkdir -p "/home/buildroot/toolchain_build_arm/bin"; \
                rm -f "/home/buildroot/toolchain_build_arm/bin/sed"; \
                ln -sf "/usr/bin/sed" "/home/buildroot/toolchain_build_arm 
/bin/sed"; \
        fi

Checking build system dependencies:
CC  clean:                                       Ok
CXX clean:                                      Ok
CPP clean:                                      Ok
CFLAGS clean:                                   Ok
INCLUDES  clean:                                 Ok
CXXFLAGS clean:                                 Ok
which installed:                                Ok
sed works:                                      Ok (/usr/bin/sed)
 GNU make version  '3.81':                        Ok
C compiler '/usr/bin/gcc'
C compiler version '3.4.4':                     Ok
C++ compiler '/usr/bin/g++'
C++ compiler version '3.4.4':                   Ok 
bison installed:                                Ok
flex installed:                                 Ok
gettext  installed:                              Ok
makeinfo installed:                             Ok
Build system dependencies:                      Ok

set -x && make MAKE="make -j1" -C /home/buildroot/toolchain_build_arm/uCli 
bc-0.9.29 \
                PREFIX=/home/buildroot/toolchain_build_arm/uClibc_dev/ \
                DEVEL_PREFIX=/usr/  \
                RUNTIME_PREFIX=/home/buildroot/toolchain_build_arm/uClibc_
dev/ \
                HOSTCC="/usr/bin/gcc" \
                pregen install_dev
+ make 'MAKE=make -j1' -C /home/buildroot/toolchain_build_arm/uClibc- 0.9.2
9 PREFIX=/home/buildroot/toolchain_build_arm/uClibc_dev/ DEVEL_PREFIX=/usr
/ RUNTIME_PREFIX=/home/buildroot/toolchain_build_arm/uClibc_dev/ HOSTCC=/u
sr/bin/gcc pregen install_dev
/bin/sh: /home/arm/usr/bin/arm-linux-uclibcgnueabi-gcc: No such file or di 
rectory
make[1]: /home/arm/usr/bin/arm-linux-uclibcgnueabi-gcc: Command not found
make[1]: Entering directory `/home/buildroot/toolchain_build_arm/uClibc-0.
9.29'
make[1]: /home/arm/usr/bin/arm-linux-uclibcgnueabi-gcc: Command not  found
make[1]: Entering directory `/home/buildroot/toolchain_build_arm/uClibc-0.
9.29'
make[1]: Entering directory `/home/buildroot/toolchain_build_arm/uClibc-0.
9.29'
/bin/sh: /home/arm/usr/bin/arm-linux-uclibcgnueabi-gcc: No such file or di 
rectory
make[2]: /home/arm/usr/bin/arm-linux-uclibcgnueabi-gcc: Command not found
make[2]: /home/arm/usr/bin/arm-linux-uclibcgnueabi-gcc: Command not found
/usr/bin/gcc -I/usr/include/ncurses -DCURSES_LOC="< ncurses.h>" -DLOCALE    conf.
o  zconf.tab.o -o conf
conf.o:conf.c:(.text+0xb2): undefined reference to `_libintl_gettext'
conf.o:conf.c:(.text+0xc6): undefined reference to `_libintl_gettext'
 conf.o:conf.c:(.text+0xda): undefined reference to `_libintl_gettext'
conf.o:conf.c:(.text+0xf2c): undefined reference to `_libintl_gettext'
conf.o:conf.c:(.text+0x10c5): undefined reference to `_libintl_gettext' 
conf.o:conf.c:(.text+0x116f): more undefined references  to `_libintl_gettext' fo
llow
collect2: ld returned 1 exit status
make[2]: *** [conf] Error 1
make[1]: *** [extra/config/conf] Error 2
make[1]: Leaving directory `/home/buildroot/toolchain_build_arm/uClibc- 0.9
.29'
make: *** [/home/buildroot/toolchain_build_arm/uClibc-0.9.29/.configured]
Error 2


Thanks and Regards,
Naren
   

---------------------------------
Need Mail bonding?
Go to the  Yahoo! Mail Q&A for  great tips from Yahoo! Answers users.

_______________________________________________
buildroot mailing list
 buildroot at uclibc.org
http://busybox.net/mailman/listinfo/buildroot
 

 

       
---------------------------------
Need a vacation? Get great deals to amazing places on Yahoo! Travel. 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.buildroot.org/pipermail/buildroot/attachments/20070718/6004fa78/attachment.html>


More information about the buildroot mailing list