|
From: | Bart Bogaerts |
Subject: | [Ltib] Trying to link libtecla |
Date: | Thu, 22 Oct 2009 09:02:31 +0200 |
Hello, I’m trying to compile and linking the Libtecla
opensource package. Compiling no problem but it fails on the linking stap it
needs –lcurses and tell me it couldn’t find the libcurses. But the libcurses is available into the rootfs/usr/lib
directory ! Can someone tell me what is going wrong? LD is used for linking and not gcc. It seems that LD is not
searching into the library directories of the rootfs ? Processing: libtecla ====================== Build path taken because: build key set, no prebuilt
rpm, rpmbuild --dbpath
/home/bart_b/otne_components_fw/trunk/LTIB_BuildEnv4Nx0xx/rootfs//var/lib/rpm
--target ppc --define '_unpackaged_files_terminate_build 0' --define
'_target_cpu ppc' --define '__strip strip' --define '_topdir
/home/bart_b/otne_components_fw/trunk/LTIB_BuildEnv4Nx0xx/rpm' --define
'_prefix /usr' --define '_tmppath /home/bart_b/otne_components_fw/trunk/LTIB_BuildEnv4Nx0xx/tmp'
--define '_mandir /usr/share/man' --define '_sysconfdir /etc' --define
'_localstatedir /var' -bc --short-circuit
/home/bart_b/otne_components_fw/trunk/LTIB_BuildEnv4Nx0xx/dist/lfs-5.1/libtecla/libtecla.spec Building target platforms: ppc Building for target ppc Executing(%build): /bin/sh -e
/home/bart_b/otne_components_fw/trunk/LTIB_BuildEnv4Nx0xx/tmp/rpm-tmp.2373 + umask 022 + cd
/home/bart_b/otne_components_fw/trunk/LTIB_BuildEnv4Nx0xx/rpm/BUILD + cd libtecla-1.6.1 + ./configure --prefix=/usr --host=powerpc-linux
--build=x86_64-unknown-linux-gnu --without-man-pages checking for powerpc-linux-gcc... gcc checking for C compiler default output... a.out checking whether the C compiler works... yes checking whether we are cross compiling... yes checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler...
yes checking whether gcc accepts -g... yes checking for gcc option to accept ANSI C... none
needed checking whether make sets $(MAKE)... yes checking whether ln -s works... yes checking for gawk... gawk checking for powerpc-linux-ranlib... no checking for ranlib... ranlib checking for powerpc-linux-ld... ld checking build system type...
x86_64-unknown-linux-gnu checking host system type...
powerpc-unknown-linux-gnu checking target system type...
powerpc-unknown-linux-gnu checking how to run the C preprocessor... gcc -E checking for egrep... grep -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking for tigetstr in -lcurses... yes checking curses.h usability... yes checking curses.h presence... yes checking for curses.h... yes checking for term.h... yes checking for reentrant functions... yes checking sys/select.h usability... yes checking sys/select.h presence... yes checking for sys/select.h... yes checking for select system call... yes checking for SysV pseudo-terminals... yes checking for --version-script in GNU ld... yes configure: creating ./config.status config.status: creating Makefile + make make[1]: Entering directory
`/home/bart_b/otne_components_fw/trunk/LTIB_BuildEnv4Nx0xx/rpm/BUILD/libtecla-1.6.1' ld -o libtecla.so.1.6.1 -soname libtecla.so.1
-shared --version-script=./libtecla.map normal_obj/getline.o
normal_obj/keytab.o normal_obj/freelist.o normal_obj/strngmem.o
normal_obj/hash.o normal_obj/history.o normal_obj/direader.o
normal_obj/homedir.o normal_obj/pathutil.o normal_obj/expand.o
normal_obj/stringrp.o normal_obj/cplfile.o normal_obj/cplmatch.o normal_obj/pcache.o
normal_obj/version.o normal_obj/chrqueue.o normal_obj/ioutil.o
normal_obj/errmsg.o -lcurses -lc
/opt/freescale/usr/local/gcc-4.2.171-eglibc-2.5.171-dp-1/powerpc-none-linux-gnuspe/lib/gcc/powerpc-none-linux-gnuspe/4.2.3/libgcc.a powerpc-none-linux-gnuspe-ld: cannot find -lcurses make[1]: *** [libtecla.so.1.6.1] Error 1 Regards, Bart Bogaerts |
[Prev in Thread] | Current Thread | [Next in Thread] |