G***@gunnerhooper.tk
2017-11-07 03:50:16 UTC
I'm building Util-linux 2.29.2 in Chapter 6 for PowerPC 32-BIT. My build
system is a Core 2 Duo with Linux from Scratch 20170713-systemd x86_64.
When I type make, ld gives me this error:
/mnt/clfs/cross-tools/bin/../lib/gcc/powerpc-unknown-linux-gnu/7.2.0/../../../../powerpc-unknown-linux-gnu/bin/ld:
cannot find -lncursesw
collect2: error: ld returned 1 exit status
make[2]: *** [Makefile:7214: ul] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: Leaving directory '/mnt/clfs/sources/util-linux-2.31'
make[1]: *** [Makefile:11990: all-recursive] Error 1
make[1]: Leaving directory '/mnt/clfs/sources/util-linux-2.31'
make: *** [Makefile:5002: all] Error 2
I installed Linux Headers 4.13.11, GCC 7.2.0, Binutils-2.29, and Glibc
2.26 in this cross toolchain.
I will greatly appreciate any help.
Thanks
system is a Core 2 Duo with Linux from Scratch 20170713-systemd x86_64.
When I type make, ld gives me this error:
/mnt/clfs/cross-tools/bin/../lib/gcc/powerpc-unknown-linux-gnu/7.2.0/../../../../powerpc-unknown-linux-gnu/bin/ld:
cannot find -lncursesw
collect2: error: ld returned 1 exit status
make[2]: *** [Makefile:7214: ul] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: Leaving directory '/mnt/clfs/sources/util-linux-2.31'
make[1]: *** [Makefile:11990: all-recursive] Error 1
make[1]: Leaving directory '/mnt/clfs/sources/util-linux-2.31'
make: *** [Makefile:5002: all] Error 2
I installed Linux Headers 4.13.11, GCC 7.2.0, Binutils-2.29, and Glibc
2.26 in this cross toolchain.
I will greatly appreciate any help.
Thanks