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 |
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.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
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.
|
 |
03-18-2005, 03:09 PM
|
#1
|
Member
Registered: Mar 2005
Location: Ireland
Distribution: LFS, SuSE, Debian, gentoo
Posts: 93
Rep:
|
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
|
|
|
03-18-2005, 07:48 PM
|
#2
|
LQ Newbie
Registered: Mar 2005
Location: Maryland, US
Distribution: Linux From Scratch; Slackware
Posts: 10
Rep:
|
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.
|
|
|
03-19-2005, 06:24 AM
|
#3
|
Senior Member
Registered: Dec 2004
Distribution: Slackware, ROCK
Posts: 1,973
Rep:
|
you are missing the glibc headers.... might wanna take a couple steps back and make sure you did the required steps
|
|
|
03-23-2005, 03:44 PM
|
#4
|
Member
Registered: Mar 2005
Location: Ireland
Distribution: LFS, SuSE, Debian, gentoo
Posts: 93
Original Poster
Rep:
|
thanks for the tip guys, it's working now, rolling on for binutils and gcc
|
|
|
All times are GMT -5. The time now is 05:32 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|