Re: [Clfs-support] Util-linux 2.29.2 in Chapter 6 fails to build when cross compiling for PowerPC
Yeah, like Michelle said, you need libncurses... I got this stuff compiling on a different platform, and then it stopped compiling again. It's really more of a pain than they let on. I'll let you know if I find a clean way to do it. But why are you using systemd? systemd is cancer. Sent: Monday, November 06, 2017 at 10:50 PM From: gunnersky2...@gunnerhooper.tk To: clfs-support@lists.clfs.org Subject: [Clfs-support] Util-linux 2.29.2 in Chapter 6 fails to build when cross compiling for PowerPC 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 ___ Clfs-support mailing list Clfs-support@lists.clfs.org http://lists.clfs.org/listinfo.cgi/clfs-support-clfs.org ___ Clfs-support mailing list Clfs-support@lists.clfs.org http://lists.clfs.org/listinfo.cgi/clfs-support-clfs.org
Re: [Clfs-support] Util-linux 2.29.2 in Chapter 6 fails to build when cross compiling for PowerPC
Il 7 novembre 2017 04:50:16 CET, gunnersky2...@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@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à. ___ Clfs-support mailing list Clfs-support@lists.clfs.org http://lists.clfs.org/listinfo.cgi/clfs-support-clfs.org
Re: [Clfs-support] Util-linux 2.29.2 in Chapter 6 fails to build when cross compiling for PowerPC
Il 7 novembre 2017 04:50:16 CET, gunnersky2...@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@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à.___ Clfs-support mailing list Clfs-support@lists.clfs.org http://lists.clfs.org/listinfo.cgi/clfs-support-clfs.org
Re: [Clfs-support] Util-linux 2.29.2 in Chapter 6 fails to build when cross compiling for PowerPC
Il 7 novembre 2017 04:50:16 CET, gunnersky2...@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@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à. ___ Clfs-support mailing list Clfs-support@lists.clfs.org http://lists.clfs.org/listinfo.cgi/clfs-support-clfs.org
[Clfs-support] Util-linux 2.29.2 in Chapter 6 fails to build when cross compiling for PowerPC
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 ___ Clfs-support mailing list Clfs-support@lists.clfs.org http://lists.clfs.org/listinfo.cgi/clfs-support-clfs.org