Hey guys, newbie here...

LFS version: LFS 7.7
Host System: Elementary OS Freya 64 bits (Ubuntu 14.04 based)

I'm having problems with the installation of glibc-2.21 in the chapter 5.7 of LFS 7.7. When I run the 'make' command to compile the package it just return the output:

lfs@joao:/mnt/lfs/sources/glibc-build$ make
make: *** No targets specified and no makefile found.  Stop.

In the previous step, when I prepare Glibc for compilation with the commands:

../glibc-2.21/configure \
     --prefix=/tools \
     --host=$LFS_TGT \
     --build=$(../glibc-2.21/scripts/config.guess) \
     --disable-profile \
     --enable-kernel=2.6.32 \
     --with-headers=/tools/include \
     libc_cv_forced_unwind=yes \
     libc_cv_ctors_header=yes \
     libc_cv_c_cleanup=yes

the output returned is:

checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-lfs-linux-gnu
checking for x86_64-lfs-linux-gnu-gcc... x86_64-lfs-linux-gnu-gcc
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether x86_64-lfs-linux-gnu-gcc accepts -g... yes
checking for gcc... gcc
checking for x86_64-lfs-linux-gnu-g++... x86_64-lfs-linux-gnu-g++
checking whether we are using the GNU C++ compiler... yes
checking whether x86_64-lfs-linux-gnu-g++ accepts -g... yes
checking for x86_64-lfs-linux-gnu-readelf... no
checking for readelf... readelf
configure: WARNING: using cross tools not prefixed with host triplet
checking for sysdeps preconfigure fragments... aarch64 alpha arm hppa i386 m68k microblaze mips nios2 powerpc s390 sh sparc tile x86_64 checking whether x86_64-lfs-linux-gnu-gcc compiles in -mx32 mode by default... no

configure: running configure fragment for add-on libidn
checking for assembler and linker STT_GNU_IFUNC support... no
checking whether .text pseudo-op must be used... yes
checking sysdep dirs... sysdeps/unix/sysv/linux/x86_64/64 sysdeps/unix/sysv/linux/x86_64 sysdeps/unix/sysv/linux/x86 sysdeps/unix/sysv/linux/wordsize-64 sysdeps/x86_64/nptl sysdeps/unix/sysv/linux sysdeps/nptl sysdeps/pthread sysdeps/gnu sysdeps/unix/inet sysdeps/unix/sysv sysdeps/unix/x86_64 sysdeps/unix sysdeps/posix sysdeps/x86_64/64 sysdeps/x86_64/fpu sysdeps/x86/fpu sysdeps/x86_64 sysdeps/x86 sysdeps/ieee754/ldbl-96 sysdeps/ieee754/dbl-64/wordsize-64 sysdeps/ieee754/dbl-64 sysdeps/ieee754/flt-32 sysdeps/wordsize-64 sysdeps/ieee754 sysdeps/generic
checking for a BSD-compatible install... /usr/bin/install -c
checking whether ln -s works... yes
checking whether as is GNU as... yes
checking whether ld is GNU ld... yes
checking for as... as
checking version of as... 2.24, ok
checking for ld... ld
checking version of ld... 2.24, ok
checking for gnumake... no
checking for gmake... no
checking for make... make
checking version of make... 3.81, ok
checking for gnumsgfmt... no
checking for gmsgfmt... no
checking for msgfmt... msgfmt
checking version of msgfmt... 0.18.3, ok
checking for makeinfo... makeinfo
checking version of makeinfo... 5.2, ok
checking for sed... sed
checking version of sed... 4.2.2, ok
checking for gawk... gawk
checking version of gawk... 4.0.1, ok
checking if x86_64-lfs-linux-gnu-gcc is sufficient to build libc... yes
checking for x86_64-lfs-linux-gnu-nm... no
checking for nm... nm
checking LD_LIBRARY_PATH variable... ok
checking whether GCC supports -static-libgcc... -static-libgcc
checking for bash... /bin/bash
checking for perl... /usr/bin/perl
checking for install-info... /usr/bin/install-info
checking for bison... no
checking for libc-friendly stddef.h... yes
checking whether we need to use -P to assemble .S files... no
checking for .set assembler directive... no
checking for assembler gnu_unique_object symbol type... yes
checking for .previous assembler directive... yes
checking for .protected and .hidden assembler directive... yes
checking whether __attribute__((visibility())) is supported... no
configure: error: compiler support for visibility attribute is required

How can I compile the glibc-2.21 package properly?
Thanks for the support!
-- 
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

Reply via email to