LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
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 08-18-2004, 04:06 PM   #1
Cynric
LQ Newbie
 
Registered: Aug 2004
Location: IL
Distribution: SuSE 9.1 Pro 64bit
Posts: 16

Rep: Reputation: 0
LFS5.1.1 gcc-core-3.3.3 bootstrap (first pass) error.


I seem to be having a similar problem to http://www.linuxquestions.org/questi...highlight=gcc, but I'm not exactly sure how the issue was resolved. The following is the error output. Running SuSE 9.1 Pro 64bit.

HEADERS="ansidecl.h i386/biarch64.h i386/i386.h i386/unix.h i386/att.h dbxelf.h elfos.h svr4.h linux.h i386/x86-64.h i386/linux64.h defaults.h" XM_DEFINES="POSIX" \
TARGET_CPU_DEFAULT="" \
/bin/sh ../../gcc-3.3.3/gcc/mkconfig.sh tconfig.h
./xgcc -B./ -B/tools/x86_64-unknown-linux-gnu/bin/ -isystem /tools/x86_64-unknown-linux-gnu/include -isystem /tools/x86_64-unknown-linux-gnu/sys-include -O2 -DIN_GCC -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -isystem ./include -I. -I. -I../../gcc-3.3.3/gcc -I../../gcc-3.3.3/gcc/. -I../../gcc-3.3.3/gcc/config -I../../gcc-3.3.3/gcc/../include -g0 -finhibit-size-directive -fno-inline-functions -fno-exceptions -fno-zero-initialized-in-bss -fno-omit-frame-pointer -fno-asynchronous-unwind-tables \
-c ../../gcc-3.3.3/gcc/crtstuff.c -DCRT_BEGIN \
-o crtbegin.o
In file included from ../../gcc-3.3.3/gcc/crtstuff.c:62:
../../gcc-3.3.3/gcc/tsystem.h:72:19: stdio.h: No such file or directory
../../gcc-3.3.3/gcc/tsystem.h:75:23: sys/types.h: No such file or directory
../../gcc-3.3.3/gcc/tsystem.h:78:19: errno.h: No such file or directory
../../gcc-3.3.3/gcc/tsystem.h:85:20: string.h: No such file or directory
../../gcc-3.3.3/gcc/tsystem.h:89:20: stdlib.h: No such file or directory
../../gcc-3.3.3/gcc/tsystem.h:90:20: unistd.h: No such file or directory
In file included from include/syslimits.h:7,
from include/limits.h:11,
from ../../gcc-3.3.3/gcc/tsystem.h:93,
from ../../gcc-3.3.3/gcc/crtstuff.c:62:
include/limits.h:122:75: limits.h: No such file or directory
In file included from ../../gcc-3.3.3/gcc/crtstuff.c:62:
../../gcc-3.3.3/gcc/tsystem.h:96:18: time.h: No such file or directory
../../gcc-3.3.3/gcc/crtstuff.c: In function `__do_global_dtors_aux':
../../gcc-3.3.3/gcc/crtstuff.c:280: warning: passing arg 1 of `__deregister_frame_info' discards qualifiers from pointer target type
../../gcc-3.3.3/gcc/crtstuff.c: In function `frame_dummy':
../../gcc-3.3.3/gcc/crtstuff.c:316: warning: passing arg 1 of `__register_frame_info' discards qualifiers from pointer target type
make[2]: *** [crtbegin.o] Error 1
make[2]: Leaving directory `/lfs/tools/gcc-build/gcc'
make[1]: *** [stage1_build] Error 2
make[1]: Leaving directory `/lfs/tools/gcc-build/gcc'
make: *** [bootstrap] Error 2
 
Old 08-18-2004, 04:41 PM   #2
320mb
Senior Member
 
Registered: Nov 2002
Location: pikes peak
Distribution: Slackware, LFS
Posts: 2,577

Rep: Reputation: 47
just a question.........do you even have gcc or the glibc libraries installed
on your $HOST system..........

some of those errors suggest you don't.
 
Old 08-18-2004, 04:52 PM   #3
Cynric
LQ Newbie
 
Registered: Aug 2004
Location: IL
Distribution: SuSE 9.1 Pro 64bit
Posts: 16

Original Poster
Rep: Reputation: 0
Interesting, but yes, both are installed (Glibc 2.3.3-63 and GCC 3.3.3-33). Binutils installed without errors.
 
Old 08-18-2004, 09:34 PM   #4
Cynric
LQ Newbie
 
Registered: Aug 2004
Location: IL
Distribution: SuSE 9.1 Pro 64bit
Posts: 16

Original Poster
Rep: Reputation: 0
Issue fixed. I had misunderstood the book to say to always patch beforehand. After searching around for header errors, it finally hit me that the next sections spell out the patch updates. So, after removing the gcc tree and starting over without patching, it, of course, worked.
 
  


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
GCC pass 1 error mugwump84 Linux From Scratch 2 05-10-2005 05:21 PM
Error configuring GCC, First Pass lloyd_smart Linux From Scratch 8 10-29-2004 11:45 AM
binutils-2.14 first pass, gcc error Add1Sun Linux From Scratch 3 04-29-2004 04:27 PM
GCC first build for LFS, bootstrap error Blibblob Linux From Scratch 8 01-07-2004 05:50 PM
gcc 2.3 bootstrap error NGraphiX Linux From Scratch 1 05-15-2003 11:45 AM


All times are GMT -5. The time now is 12:38 AM.

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