LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
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 02-27-2005, 02:38 AM   #1
2mk-master
LQ Newbie
 
Registered: Feb 2005
Location: Pointe-Noire (Congo)
Posts: 8

Rep: Reputation: 0
please help me !


after enter this code :

../glibc-2.3.3-lfs-5.1/configure --prefix=/tools \
--disable-profile --enable-add-ons=linuxthreads \
--with-binutils=/tools/bin --with-headers=/tools/include \
--without-gd --without-cvs

and enter :

make AUTOCONF=no

he write this :

make -r PARALLELMFLAGS="" CVSOPTS="" -C ../glibc-2.3.3-lfs-5.1 objdir=`pwd` all
make[1]: Entering directory `/mnt/lfs/tools/bin/glibc-2.3.3-lfs-5.1'
make -C csu subdir_lib
make[2]: Entering directory `/mnt/lfs/tools/bin/glibc-2.3.3-lfs-5.1/csu'
make[2]: Leaving directory `/mnt/lfs/tools/bin/glibc-2.3.3-lfs-5.1/csu'
make[2]: Entering directory `/mnt/lfs/tools/bin/glibc-2.3.3-lfs-5.1/csu'
gcc -B/tools/bin/ ../sysdeps/generic/libc-start.c -c -std=gnu99 -O2 -Wall -Winline -Wstrict-prototypes -Wwrite-strings -g -mpreferred-stack-boundary=4 -I../include -I. -I/tools/bin/glibc-build/csu -I.. -I../libio -I/tools/bin/glibc-build -I../sysdeps/i386/elf -I../linuxthreads/sysdeps/unix/sysv/linux/i386 -I../linuxthreads/sysdeps/unix/sysv/linux -I../linuxthreads/sysdeps/pthread -I../sysdeps/pthread -I../linuxthreads/sysdeps/unix/sysv -I../linuxthreads/sysdeps/unix -I../linuxthreads/sysdeps/i386/i686 -I../linuxthreads/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../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 /tools/lib/gcc-lib/i686-pc-linux-gnu/3.3/include -isystem /tools/include -D_LIBC_REENTRANT -include ../include/libc-symbols.h -DHAVE_INITFINI -o /tools/bin/glibc-build/csu/libc-start.o -MD -MP -MF /tools/bin/glibc-build/csu/libc-start.o.dt
In file included from ../include/sys/sysctl.h:2,
from ../sysdeps/unix/sysv/linux/dl-osinfo.h:22,
from ../sysdeps/generic/libc-start.c:32:
../sysdeps/unix/sysv/linux/sys/sysctl.h:31:28: linux/compiler.h: No such file or directory
make[2]: *** [/tools/bin/glibc-build/csu/libc-start.o] Error 1
make[2]: Leaving directory `/mnt/lfs/tools/bin/glibc-2.3.3-lfs-5.1/csu'
make[1]: *** [csu/subdir_lib] Error 2
make[1]: Leaving directory `/mnt/lfs/tools/bin/glibc-2.3.3-lfs-5.1'
make: *** [all] Error 2

Last edited by 2mk-master; 02-27-2005 at 02:40 AM.
 
Old 02-27-2005, 04:11 AM   #2
dinges
LQ Newbie
 
Registered: Nov 2004
Location: Netherlands
Distribution: Centos 4, Ubuntu
Posts: 26

Rep: Reputation: 15
Your subject name doesn't really cover the subject. I suppose all posts in LinuxQuestions.org could be labeled 'please help me'.
 
Old 02-27-2005, 05:36 AM   #3
__J
Senior Member
 
Registered: Dec 2004
Distribution: Slackware, ROCK
Posts: 1,973

Rep: Reputation: 46
looks like you didn't copy the kernel-headers over correctly. repeat that step.
 
  


Reply



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



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

All times are GMT -5. The time now is 06:21 AM.

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