[Clfs-support] Util-linux 2.29.2 in Chapter 6 fails to build when cross compiling for PowerPC

Gunnersky2002 at gunnerhooper.tk Gunnersky2002 at gunnerhooper.tk
Mon Nov 6 19:50:16 PST 2017


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




More information about the Clfs-support mailing list