LinuxQuestions.org
Help answer threads with 0 replies.
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 03-18-2005, 03:09 PM   #1
vmlinuz101
Member
 
Registered: Mar 2005
Location: Ireland
Distribution: LFS, SuSE, Debian, gentoo
Posts: 93

Rep: Reputation: 15
gcc chapter 6 time_dot_h problem


hello there. i'm at part 6.14 which is the final installation of GCC. I
am getting the following error from make continuously:

In file included from ../../gcc-3.4.1/gcc/crtstuff.c:62:
../../gcc-3.4.1/gcc/tsystem.h:79:19: stdio.h: No such file or directory
../../gcc-3.4.1/gcc/tsystem.h:82:23: sys/types.h: No such file or
directory
../../gcc-3.4.1/gcc/tsystem.h:85:19: errno.h: No such file or directory
../../gcc-3.4.1/gcc/tsystem.h:92:20: string.h: No such file or directory
../../gcc-3.4.1/gcc/tsystem.h:93:20: stdlib.h: No such file or directory
../../gcc-3.4.1/gcc/tsystem.h:94:20: unistd.h: No such file or directory
In file included from /sources/gcc-build/gcc/include/syslimits.h:7,
from /sources/gcc-build/gcc/include/limits.h:11,
from ../../gcc-3.4.1/gcc/tsystem.h:97,
from ../../gcc-3.4.1/gcc/crtstuff.c:62:
/sources/gcc-build/gcc/include/limits.h:122:61: limits.h: No such file
or directory
In file included from ../../gcc-3.4.1/gcc/crtstuff.c:62:
../../gcc-3.4.1/gcc/tsystem.h:100:18: time.h: No such file or directory
make[1]: *** [crtbegin.o] Error 1
make[1]: Leaving directory `/sources/gcc-build/gcc'
make: *** [all-gcc] Error 2


Now could I delete my gcc-3.4.1 from the /sources directory altogether
at the start, install gcc-core and gcc-g++ again, with only the
no_fixincludes patch, or would it break the chain??

Thanks

vmlinuz101
 
Old 03-18-2005, 07:48 PM   #2
Remmis
LQ Newbie
 
Registered: Mar 2005
Location: Maryland, US
Distribution: Linux From Scratch; Slackware
Posts: 10

Rep: Reputation: 0
No that would not break the toolchain (the toolchain is finished in chapter 5). You *should* delete (or otherwise remove from the working /sources dir) your gcc source and build directories after chapter 5.13, you should be unpacking a fresh gcc-{core,g++,testsuite} to compile in 6.14.
 
Old 03-19-2005, 06:24 AM   #3
__J
Senior Member
 
Registered: Dec 2004
Distribution: Slackware, ROCK
Posts: 1,973

Rep: Reputation: 46
you are missing the glibc headers.... might wanna take a couple steps back and make sure you did the required steps
 
Old 03-23-2005, 03:44 PM   #4
vmlinuz101
Member
 
Registered: Mar 2005
Location: Ireland
Distribution: LFS, SuSE, Debian, gentoo
Posts: 93

Original Poster
Rep: Reputation: 15
thanks for the tip guys, it's working now, rolling on for binutils and gcc
 
  


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 check error (in chapter 6) alinsoar Linux From Scratch 0 05-23-2005 04:58 AM
Chapter 5.13 GCC and C++ RobbieB Linux From Scratch 1 02-07-2005 07:29 PM
Building Gcc-core-3.3.1 Chapter 5 mullog Linux From Scratch 8 05-27-2004 12:49 PM
Chapter 5, GCC pass 1: compile failure Electrode Linux From Scratch 0 08-16-2003 07:31 PM
Chapter 5 - Installing GCC... Grim Reaper Linux From Scratch 22 12-31-2002 12:58 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux From Scratch

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

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration