Le 22/03/2020 à 11:07, spiky0011 a écrit : > Hi > > I,m having an error with Binutils-2.34 make ch6 lfs-systemd svn version > > libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../../bfd -DBINDIR=\"/usr/bin\" > -DLIBDIR=\"/usr/lib\" -I. -I../../bfd -I../../bfd/../include > -DHAVE_x86_64_elf64_vec -DHAVE_i386_elf32_vec -DHAVE_iamcu_elf32_vec > -DHAVE_x86_64_elf32_vec -DHAVE_i386_pei_vec -DHAVE_x86_64_pei_vec > -DHAVE_l1om_elf64_vec -DHAVE_k1om_elf64_vec -DHAVE_elf64_le_vec > -DHAVE_elf64_be_vec -DHAVE_elf32_le_vec -DHAVE_elf32_be_vec -W -Wall > -Wstrict-prototypes -Wmissing-prototypes -Wshadow -Wstack-usage=262144 -g -O2 > -MT corefile.lo -MD -MP -MF .deps/corefile.Tpo -c ../../bfd/corefile.c -fPIC > -DPIC -o .libs/corefile.o > ../../bfd/compress.c:22:10: fatal error: zlib.h: No such file or directory > 22 | #include <zlib.h> > > zlib.h and zconf.h are in usr/include > > root root 24 Mar 22 09:14 usr/lib/libz.so -> ../../lib/libz.so.1.2.11 > > root root 121448 Mar 22 09:14 lib/libz.so.1.2.11 > > root root 14 Mar 22 09:14 lib/libz.so.1 -> libz.so.1.2.11 > > As expected remove "--with-system-zlib" from configure it builds > > I have gone back over from zlib a couple of times, If it,s me then ok, but > could someone check this > > Thanks Spike
Could you try "ls -l /usr/include/zlib.h" and "file /usr/include/zlib.h" Do not look at library directories: libraries are not involved here (it is not a linking stage). Also, the "libtool: ..." command you have provided is not the one failing. Find the one with "../../bfd/compress.c" in it. (but I doubt it will show anything new, unless there is a "nostdinc" or so) pierre -- http://lists.linuxfromscratch.org/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page Do not top post on this list. A: Because it messes up the order in which people normally read text. Q: Why is top-posting such a bad thing? A: Top-posting. Q: What is the most annoying thing in e-mail? http://en.wikipedia.org/wiki/Posting_style
