On 02/11/2015 17:53, Eliot Gable wrote: > I finally have glibc, binutils, and gcc all building within the chroot using > my alternate paths. Further, bzip2 and pkg-config both built without issues > and installed to my alternate paths. I even verified that bzip2 correctly > executes, compresses, and decompresses files. It took some header file > manipulation and some manipulation of various environment variables, some > Makefiles, and a lot of linker flags to this all working in the new location. > > However, now I am getting an error building ncurses. The following output has > verbose mode enabled: > > > cd man && make DESTDIR="" RPATH_LIST="/home/test/usr/lib" all > make[1]: Entering directory '/build/ncurses-6.0/man' > make[1]: Nothing to be done for 'all'. > make[1]: Leaving directory '/build/ncurses-6.0/man' > cd include && make DESTDIR="" RPATH_LIST="/home/test/usr/lib" all > make[1]: Entering directory '/build/ncurses-6.0/include' > make[1]: Nothing to be done for 'all'. > make[1]: Leaving directory '/build/ncurses-6.0/include' > cd ncurses && make DESTDIR="" RPATH_LIST="/home/test/usr/lib" all > make[1]: Entering directory '/build/ncurses-6.0/ncurses' > gcc -o make_hash -DHAVE_CONFIG_H -DUSE_BUILD_CC -I../ncurses -I. -I../include > -I./../include -DHAVE_CONFIG_H -I. -I../include > -L/home/product/code/firmware/cur > rent/usr/lib64 -L/home/test/lib -L/lib64 -I/home/test//usr/include > -L/tools/lib64 -I/tools/include -Wl,--sysroot=/home/test -Wl,-nostdlib > -Wl,--library-path=/home/test/usr/lib64 -Wl,--library-path=/home/test/lib > -Wl,--library-path=/lib -Wl,--library-path=/lib64 -Wl,-rpath > -Wl,/home/test/usr/lib64:/home/test/lib -Wl,-rpath-link > -Wl,/home/test/usr/lib64:/home/test/lib > -Wl,--dynamic-linker=/home/test/lib/ld-linux-x86-64.so.2 -Wl,--verbose > -mtune=core-avx2 -O2 -pipe -fPIC -fPIC -D_GNU_SOURCE -DNDEBUG > -L/home/test/usr/lib64 -L/home/test/lib -L/lib64 -I/home/test//usr/include > -L/tools/lib64 -I/tools/include -Wl,--sysroot=/home/test -Wl,-nostdlib > -Wl,--library-path=/home/test/usr/lib64 -Wl,--library-path=/home/test/lib > -Wl,--library-path=/lib -Wl,--library-path=/lib64 -Wl,-rpath > -Wl,/home/test/usr/lib64:/home/test/lib -Wl,-rpath-link > -Wl,/home/test/usr/lib64:/home/test/lib > -Wl,--dynamic-linker=/home/test/lib/ld-linux-x86-64.so.2 -Wl,--verbose > -mtune=core-avx2 -O2 -pipe -fPIC -I../ncurses -I -I../include -I > ./tinfo/make_hash.c
You could try to "cd /build/ncurses-6.0/ncurses", then copy paste the command above (from your log, not from this mail, where line have been broken randomly), just adding the -v option: this way, you can see the exact command sent to "collect2", and check there is nothing wrong there... Pierre -- http://lists.linuxfromscratch.org/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page Do not top post on this list. A: Because it messes up the order in which people normally read text. Q: Why is top-posting such a bad thing? A: Top-posting. Q: What is the most annoying thing in e-mail? http://en.wikipedia.org/wiki/Posting_style
