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
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
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