Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Tom <fivemiletom@gmail.com>
To: buildroot@busybox.net
Subject: [Buildroot] cygwin buildroot error - how to include libs ?
Date: Thu, 17 May 2007 22:31:11 -0700	[thread overview]
Message-ID: <464D3A1F.9060600@gmail.com> (raw)

Hello,

when building building cygwin I get the error shown below, due the lost 
linker not finding functions from the libintl library. The packages 
libintl, libintl1 etc are part of my cygwin installation.

I first ran into a similar problem when building the 2.6.21.1 kernel, 
which could be fixed by adding HOST_LOADLIBES="-lcurses -lintl" to the 
invocation and thus to the make commands. No luck. Would anyone know a 
place that will cause make to add it for all HOSTCC(linker) invocations?

Furthermore, is there a minimum requirement for the host gcc, is 3.4.4 
good enough?

Thanks
Tom


******************************************************
Buildroot cygwin build error
******************************************************


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/c++'
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 /tw/buildroot/toolchain_build_arm/uClibc \
                 PREFIX=/tw/buildroot/toolchain_build_arm/uClibc_dev/ \
                 DEVEL_PREFIX=/usr/ \
 
RUNTIME_PREFIX=/tw/buildroot/toolchain_build_arm/uClibc_dev/ \
                 HOSTCC="gcc" \
                 pregen install_dev
+ make 'MAKE=make -j1' -C /tw/buildroot/toolchain_build_arm/uClibc 
PREFIX=/tw/bu
ildroot/toolchain_build_arm/uClibc_dev/ DEVEL_PREFIX=/usr/ 
RUNTIME_PREFIX=/tw/bu
ildroot/toolchain_build_arm/uClibc_dev/ HOSTCC=gcc pregen install_dev
/bin/sh: 
/tw/buildroot/build_arm/staging_dir/bin/arm-linux-uclibcgnueabi-gcc: No
  such file or directory
make[1]: 
/tw/buildroot/build_arm/staging_dir/bin/arm-linux-uclibcgnueabi-gcc: Co
mmand not found
make[1]: Entering directory `/tw/buildroot/toolchain_build_arm/uClibc'
make[1]: 
/tw/buildroot/build_arm/staging_dir/bin/arm-linux-uclibcgnueabi-gcc: Co
mmand not found
make[1]: Entering directory `/tw/buildroot/toolchain_build_arm/uClibc'
make[1]: Entering directory `/tw/buildroot/toolchain_build_arm/uClibc'
/bin/sh: 
/tw/buildroot/build_arm/staging_dir/bin/arm-linux-uclibcgnueabi-gcc: No
  such file or directory
make[2]: 
/tw/buildroot/build_arm/staging_dir/bin/arm-linux-uclibcgnueabi-gcc: Co
mmand not found
make[2]: 
/tw/buildroot/build_arm/staging_dir/bin/arm-linux-uclibcgnueabi-gcc: Co
mmand not found
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 `/tw/buildroot/toolchain_build_arm/uClibc'
make: *** [/tw/buildroot/toolchain_build_arm/uClibc/.configured] Error 2

                 reply	other threads:[~2007-05-18  5:31 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=464D3A1F.9060600@gmail.com \
    --to=fivemiletom@gmail.com \
    --cc=buildroot@busybox.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox