error compiling Glibc-2.3.6
Code:
In file included from version.c:33: Code:
cat /home/lfs/glibc-build/csu/version-info.h |
I've got no knowlegde of programming, but I can read some English.
Didn't it say Code:
missing terminating " character I might be wrong though. |
Quote:
|
I am getting precisely the same error, did you ever find out the problem?
EDIT: Just to update - I'm now realizing that maybe I need the CLFS project because my processor is a 64-bit architecture. May update again for posterity's sake... |
Can't you use the x86 version for a 64bit system or is it better to go with the x86_64?
Just curious, since I'm thinking of trying LFS. Thnx. |
Well, when I tried the CLFS book I had more problems even than the orig. LFS book. I think the x86 version should work on all i386 compatible processors, including my AMD64, so I started from scratch-- literally-- with the first LFS book...
I've only managed to reproduce the error under quite different circumstances... Before I ask a more formal question I'm going to try a couple more things to see if I can isolate the problem? The experiment has already taught me enough that I'd like to see it pay off! |
I am using LFS Live CD-x86-6.2-3 as a host system.
I have some problem in Glibc-2.3.6, when I compiled, it is going allright but when i run the command make check then it give me an 2error. [code:] gcc -B/tools/bin/ tst-atomic.c -c -std=gnu99 -O2 -Wall -Winline -Wstrict-prototypes -Wwrite-strings -g -mpreferred-stack-boundary=4 -I../include -I. -I/mnt/lfs/sources/glibc-build/csu -I.. -I../libio -I../nptl -I/mnt/lfs/sources/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 /mnt/lfs/tools/bin/../lib/gcc/i686-pc-linux-gnu/4.0.3/include -isystem /tools/include -D_LIBC_REENTRANT -D_LIBC_REENTRANT -include ../include/libc-symbols.h -DNOT_IN_libc=1 -DHAVE_INITFINI -o /mnt/lfs/sources/glibc-build/csu/tst-atomic.o -MD -MP -MF /mnt/lfs/sources/glibc-build/csu/tst-atomic.o.dt -MT /mnt/lfs/sources/glibc-build/csu/tst-atomic.o gcc -B/tools/bin/ -nostdlib -nostartfiles -r -o /mnt/lfs/sources/glibc-build/libc_pic.os \ -Wl,-d -Wl,--whole-archive /mnt/lfs/sources/glibc-build/libc_pic.a /tools/bin/ld: final link failed: No space left on device collect2: ld returned 1 exit status make[2]: *** [/mnt/lfs/sources/glibc-build/libc_pic.os] Error 1 make[2]: Leaving directory `/mnt/lfs/sources/glibc-build/glibc-2.3.6/csu' make[1]: *** [csu/tests] Error 2 make[1]: Leaving directory `/mnt/lfs/sources/glibc-build/glibc-2.3.6' make: *** [check] Error 2 lfs:/mnt/lfs/sources/glibc-build$ Tell me what can i do next. Can i go to further step or stop it.. Thanx. |
For those with the version.c problem:
Here's a link to an email exchange about the version.c problem. It looks as though glibc depends on some bash features. It's worth taking a look at if the people having the problem weren't using bash when the error happened. redeye1: Quote:
1. Assume that because the compile was ok that you don't need the tests. I would not suggest that since the LFS authors strongly encourage you to test glibc each time you build it (because it forms the foundation of your system) 2. Figure out how to get more disk space... remove source trees, strip debugging symbols from installed binaries, get a larger hard drive... something. |
"Why not just add this character and see what happens?"
I believe these kind of errors happen when some other files are buggy or missing, but it is assumed by configure that they are there. |
All times are GMT -5. The time now is 02:12 AM. |