This is the mail archive of the
libc-alpha@sources.redhat.com
mailing list for the glibc project.
Re: current CVS compile error
>>>>> Ulrich Drepper writes:
Uli> Andreas Jaeger <aj@suse.de> writes:
>> Here's a patch. Uli, ok to commit?
Uli> I don't understand in the moment why this is necessary.
Uli> __LINUX_KERNEL_VERSION is defined in the generated config.h which gets
Uli> included by libc-symbols.h which in turn gets included by a -include
Uli> gcc command line parameter.
Uli> I haven't built everything from scratch since I checked the changes in
Uli> but incremental compilation worked.
You're using --enable-kernel!
Run configure with e.g.:
../configure --prefix=/usr --libexecdir=/usr/lib --infodir=/usr/share/info --enable-add-ons=yes --without-cvs alpha-suse-linux
and you have in config.h:
tau:/usr/src/packages/BUILD/glibc-2.2/cc # grep KERNEL config.h
/* #undef __LINUX_KERNEL_VERSION */
Btw. check kernel-features.h - it defines __LINUX_KERNEL_VERSION at
the start.
Andreas
--
Andreas Jaeger
SuSE Labs aj@suse.de
private aj@arthur.inka.de
http://www.suse.de/~aj