Glibc-2.3.2 Chapter 6 make error

Karl Wilbur karl at karlwilbur.net
Fri Jan 16 00:07:55 PST 2004


That would seem to have done the trick.  Thank you very much Joel.

I went back into $BUILDDIR/linux-2.4.22 and did a:

cp -HR include/asm-i386 /usr/include/asm

then back into $BUILDDIR/Glibc-2.3.2 and ran make.  Away we go.

However, about 5 minutes later I get the following error:

SCREEN DUMP=================
-I../sysdeps/generic/elf -I../sysdeps/generic  -nostdinc -isystem 
/tools/lib/gcc-lib/i686-pc-linux-gnu/3.3.1/include -isystem /usr/include 
-D_LIBC_REENTRANT -include ../include/libc-symbols.h       -o 
/root/builds/glibc-build/posix/uname.o
../sysdeps/generic/uname.c:25:25: config-name.h: No such file or directory
../sysdeps/generic/uname.c: In function `__uname':
../sysdeps/generic/uname.c:57: error: `UNAME_SYSNAME' undeclared (first 
use in this function)
../sysdeps/generic/uname.c:57: error: (Each undeclared identifier is 
reported only once
../sysdeps/generic/uname.c:57: error: for each function it appears in.)
../sysdeps/generic/uname.c:58: error: `UNAME_RELEASE' undeclared (first 
use in this function)
../sysdeps/generic/uname.c:59: error: `UNAME_VERSION' undeclared (first 
use in this function)
../sysdeps/generic/uname.c:60: error: `UNAME_MACHINE' undeclared (first 
use in this function)
make[2]: *** [/root/builds/glibc-build/posix/uname.o] Error 1
make[2]: Leaving directory `/root/builds/glibc-2.3.2/posix'
make[1]: *** [posix/subdir_lib] Error 2
make[1]: Leaving directory `/root/builds/glibc-2.3.2'
make: *** [all] Error 2
=================================

I did a find|grep config-name
from the / dir which only came up with
./root/builds/glibc-2.3.2/config-name.in
I have done no research on this error.
Where might this have been missed?

-Karl


Joel Miller wrote:

> On Fri, 16 Jan 2004 00:44:09 -0500, Karl Wilbur <karl at karlwilbur.net> 
> wrote:
>
> <snip>
>
>> ================Kernel Headers=============
>> cd $BUILDDIR
>> tar $SOURCEDIR/linux-2.4.22.tar.bz2
>> cd linux-2.4.22
>> make mrproper
>> make include/linux/version.h
>> cp -HR include/asm-i386 /usr/include
>
>
> The above line is your problem. The book instructions have you create 
> the include/asm symlink which on x86 hardware points to 
> include-asm-i386. Since the commands you are using dont include the 
> making of the include/asm symlink then you will have to modify the 
> above line to
>
> cp -HR include/asm-1386 /usr/include/asm
> <snip>
>
>
>



More information about the lfs-support mailing list