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

michele.bucca at gmail.com michele.bucca at gmail.com
Tue Nov 7 02:07:00 PST 2017



Il 7 novembre 2017 04:50:16 CET, Gunnersky2002 at gunnerhooper.tk ha scritto:
>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

Have you installed ncurses in the toolchain sysroot? basically ld cannot find libncurses
>
>_______________________________________________
>Clfs-support mailing list
>Clfs-support at lists.clfs.org
>http://lists.clfs.org/listinfo.cgi/clfs-support-clfs.org

-- 
Inviato dal mio dispositivo Android con K-9 Mail. Perdonate la brevità.
-- 
Inviato dal mio dispositivo Android con K-9 Mail. Perdonate la brevità.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.clfs.org/pipermail/clfs-support-clfs.org/attachments/20171107/66a3ac46/attachment.htm>


More information about the Clfs-support mailing list