On Sun, Apr 12, 2015 at 04:20:25PM -0300, João wrote:
> 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.
>
That is because configure failed, as you show us below. In general,
if a command finished by reporting an error, you need to stop and
diagnose the problem (or ask on the list).
> 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:
>
[ snipping most of this, the problems are near the end ]
> checking for install-info... /usr/bin/install-info
> checking for bison... no
You need to check the 'host system requirements' at the end of the
Preface, and then change things (e.g. the /bin/sh symlink on those
systems derived from debian which default to dash), add missing
packages, or even update package versions if they are too old. And
ensure that awk is gawk.
> 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
That sounds like a too-old compiler, except you are using the new
LFS compiler. Google found a recent match at linux questions which
attributed it to using dash as sh. I recommend that you fix up all
the host system requirements, and then begin again ('start over' as
the Americans say) because there is a small possibility that
binutils or gcc have been miscompiled (wrong options generated by
configure) when the host system was inadequate.
ĸen
--
Nanny Ogg usually went to bed early. After all, she was an old lady.
Sometimes she went to bed as early as 6 a.m.
--
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