LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux From Scratch
User Name
Password
Linux From Scratch This 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

Reply
 
Search this Thread
Old 10-07-2006, 06:11 AM   #1
meital
LQ Newbie
 
Registered: Oct 2006
Posts: 3

Rep: Reputation: 0
error compiling Glibc-2.3.6


Code:
In file included from version.c:33:
/home/lfs/glibc-build/csu/version-info.h:2: error: missing terminating " character
/home/lfs/glibc-build/csu/version-info.h:3: error: missing terminating " character
/home/lfs/glibc-build/csu/version-info.h:4: error: expected ',' or ';' before string constant
make[2]: *** [/home/lfs/glibc-build/csu/version.o] Error 1
make[2]: Leaving directory `/home/lfs/glibc-2.3.6/csu'
make[1]: *** [csu/subdir_lib] Error 2
make[1]: Leaving directory `/home/lfs/glibc-2.3.6'
make: *** [all] Error 2
Code:
 cat /home/lfs/glibc-build/csu/version-info.h
"Compiled on a Linux 2.6.17-10 system on 2006-10-07.\n"
"Available extensions:
"
"       GNU libio by Per Bothner\n"
"       crypt add-on version 2.1 by Michael Glad and others\n"
"       GNU Libidn by Simon Josefsson\n"
"       Native POSIX Threads Library by Ulrich Drepper et al\n"
"       BIND-8.2.3-T5B\n"
"       NIS(YP)/NIS+ NSS modules 0.19 by Thorsten Kukuk\n"
what should i do with it?
 
Old 10-08-2006, 05:41 PM   #2
Vitalie Ciubotaru
Member
 
Registered: Dec 2005
Location: Osaka, Japan
Distribution: Ubuntu Trinity
Posts: 153

Rep: Reputation: 30
I've got no knowlegde of programming, but I can read some English.
Didn't it say
Code:
missing terminating " character
in strings 2 and 3? Why not just add this character and see what happens?
I might be wrong though.

Last edited by Vitalie Ciubotaru; 10-08-2006 at 05:47 PM.
 
Old 10-09-2006, 09:01 AM   #3
meital
LQ Newbie
 
Registered: Oct 2006
Posts: 3

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by Vitalie Ciubotaru
I've got no knowlegde of programming, but I can read some English.
Didn't it say
Code:
missing terminating " character
in strings 2 and 3? Why not just add this character and see what happens?
I might be wrong though.
I did add it. It didn't help, and when I compiled it, it deleted what I added.
 
Old 01-10-2007, 07:06 PM   #4
desimo
LQ Newbie
 
Registered: Jun 2006
Posts: 8

Rep: Reputation: 0
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...

Last edited by desimo; 01-10-2007 at 07:12 PM.
 
Old 01-12-2007, 08:17 AM   #5
BittaBrotha
Member
 
Registered: Jan 2002
Location: Third Stone from the Sun
Distribution: Debian Sid, SourceMage 0.9.5, & To be Continued on a TP
Posts: 800

Rep: Reputation: 31
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.
 
Old 01-12-2007, 11:45 PM   #6
desimo
LQ Newbie
 
Registered: Jun 2006
Posts: 8

Rep: Reputation: 0
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!
 
Old 02-02-2007, 09:39 PM   #7
redeye1
LQ Newbie
 
Registered: Jan 2007
Posts: 9

Rep: Reputation: 0
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.

Last edited by redeye1; 02-03-2007 at 09:49 PM.
 
Old 02-25-2007, 03:15 PM   #8
Dark_Helmet
Senior Member
 
Registered: Jan 2003
Posts: 2,786

Rep: Reputation: 369Reputation: 369Reputation: 369Reputation: 369
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:
Code:
/tools/bin/ld: final link failed: No space left on device
collect2: ld returned 1 exit status
That error indicates that you've run out of disk space on the hard drive you're working on. So you have two choices:
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.
 
Old 03-01-2007, 09:50 AM   #9
shevegen
Member
 
Registered: May 2004
Distribution: Slackware / Debian
Posts: 90

Rep: Reputation: 15
"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.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] compiling glibc-2.4 error aihaike Slackware 3 03-24-2006 04:04 AM
Compiling glibc-2.3.5 or glibc 2.3.5-r1 on Gentoo fails ghrellin Linux - Software 2 07-19-2005 01:01 AM
Error cross-compiling glibc, chapter 5 donbellioni Linux From Scratch 2 09-17-2004 02:12 PM
compiling glibc staticly - error matt_w_lambert Linux - Software 0 09-10-2003 08:07 PM
Compiling glibc Scerj Programming 1 06-27-2001 11:05 AM


All times are GMT -5. The time now is 09:03 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration