Linux From ScratchThis Forum is for the discussion of LFS.
LFS is a project that provides you with the steps necessary to build your own custom Linux system.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I have problems compiling glibc-2.3.4
I have no problems when i do the "configure"
But when i try make i get the following.
I have no idea whats wrong. :-(
Im using ver 6.1.1 of lfs.
And compiling with gcc 4.0 but 3.4 is also installed. Tried to uninstall 4.0 but then i cant install gcc without installing gcc 4.0
My host system is ubuntu 5.10
soren@ubuntu:/mnt/lfs/glibc-build$ sudo make
Password:
make -r PARALLELMFLAGS="" CVSOPTS="" -C /mnt/lfs/sources/glibc-2.3.4 objdir=`pwd` all
make[1]: Entering directory `/mnt/lfs/sources/glibc-2.3.4'
make -C csu subdir_lib
make[2]: Entering directory `/mnt/lfs/sources/glibc-2.3.4/csu'
make[2]: Warning: File `/mnt/lfs/glibc-build/csu/version.os.d' has modification time 43 s in the future
make[2]: Nothing to be done for `subdir_lib'.
make[2]: warning: Clock skew detected. Your build may be incomplete.
make[2]: Leaving directory `/mnt/lfs/sources/glibc-2.3.4/csu'
make -C iconv subdir_lib
make[2]: Entering directory `/mnt/lfs/sources/glibc-2.3.4/iconv'
make[2]: Warning: File `/mnt/lfs/glibc-build/iconv/gconv.o.d' has modification time 44 s in the future
make[2]: Leaving directory `/mnt/lfs/sources/glibc-2.3.4/iconv'
make[2]: Entering directory `/mnt/lfs/sources/glibc-2.3.4/iconv'
gcc -B/tools/bin/ gconv.c -c -std=gnu99 -O2 -Wall -Winline -Wstrict-prototypes -Wwrite-strings -g -mpreferred-stack-boundary=2 -I../include -I. -I/mnt/lfs/glibc-build/iconv -I.. -I../libio -I../nptl -I/mnt/lfs/glibc-build -I../sysdeps/i386/elf -I../nptl/sysdeps/unix/sysv/linux/i386/i686 -I../nptl/sysdeps/unix/sysv/linux/i386 -I../nptl/sysdeps/unix/sysv/linux -I../nptl/sysdeps/pthread -I../sysdeps/pthread -I../nptl/sysdeps/unix/sysv -I../nptl/sysdeps/unix -I../nptl/sysdeps/i386/i686 -I../nptl/sysdeps/i386 -I../sysdeps/unix/sysv/linux/i386 -I../sysdeps/unix/sysv/linux -I../sysdeps/gnu -I../sysdeps/unix/common -I../sysdeps/unix/mman -I../sysdeps/unix/inet -I../sysdeps/unix/sysv/i386 -I../sysdeps/unix/sysv -I../sysdeps/unix/i386 -I../sysdeps/unix -I../sysdeps/posix -I../sysdeps/i386/i686/fpu -I../sysdeps/i386/i686 -I../sysdeps/i386/i486 -I../nptl/sysdeps/i386/i486 -I../sysdeps/i386/fpu -I../sysdeps/i386 -I../sysdeps/wordsize-32 -I../sysdeps/ieee754/ldbl-96 -I../sysdeps/ieee754/dbl-64 -I../sysdeps/ieee754/flt-32 -I../sysdeps/ieee754 -I../sysdeps/generic/elf -I../sysdeps/generic -nostdinc -isystem /usr/lib/gcc/i486-linux-gnu/4.0.2/include -isystem /tools/include -D_LIBC_REENTRANT -D_LIBC_REENTRANT -include ../include/libc-symbols.h -o /mnt/lfs/glibc-build/iconv/gconv.o -MD -MP -MF /mnt/lfs/glibc-build/iconv/gconv.o.dt -MT /mnt/lfs/glibc-build/iconv/gconv.o
In file included from ../include/pthread.h:1,
from ../nptl/sysdeps/pthread/bits/libc-lock.h:23,
from ./gconv_int.h:25,
from gconv.c:23:
../nptl/sysdeps/pthread/pthread.h:664: error: array type has incomplete element type
make[2]: *** [/mnt/lfs/glibc-build/iconv/gconv.o] Error 1
make[2]: Leaving directory `/mnt/lfs/sources/glibc-2.3.4/iconv'
make[1]: *** [iconv/subdir_lib] Error 2
make[1]: Leaving directory `/mnt/lfs/sources/glibc-2.3.4'
make: *** [all] Error 2
soren@ubuntu:/mnt/lfs/glibc-build$
Just FYI, he deleted the gcc symlink not the gcc-4.0 binary (that would still exist in /usr/bin), all he did was point the symlink /usr/bin/gcc to /usr/bin/gcc-3.4 instead.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.