kernel-headers-2.6.0-test5.cset20030912_0513.rel0.2 - not complete ?

Marek Guevara Braun mguevara w acn.waw.pl
Wto, 16 Wrz 2003, 00:36:47 CEST


During building of kernel-video-nvidia I have got some errors messages
about "/lib/modules/2.6.0/build/Makefile: No such file or directory"
(see the build log)

after manually running ./nvidia-install in the
../BUILD/NVIDIA-Linux-x86-1.0-4496-pkg2/ directory it complains
about:

ERROR: The kernel header file
        '/lib/modules/2.6.0/build/include/linux/modversions.h' does not
        exist.  The most likely reason for this is that the kernel header
        files in '/lib/modules/2.6.0/build/include' have not been
        configured.

What is wrong with the header files?

BTW. After installing kernel-sources and make menuconfig ...
there appeared modversions.h file but in
/usr/src/linux-2.6.0/include/config/modversions.h

One posibility is that kernel-headers for LINUX_2_6 is not
yet complete, the second one is that kernel-video-nvidia
is not updated for 2.6 (despite --with kernel_2_6)

== build log ==

LANG=C ./builder -ba --with kernel_2_6 kernel-video-nvidia.spec
# $Revision: 1.44 $, $Date: 2003/09/13 09:58:09 $
NVIDIA-Linux-x86-1.0-4496-pkg2.run having proper md5sum already exists
Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.74676
+ umask 022
+ cd /home/users/builder/rpm/BUILD
+ cd /home/users/builder/rpm/BUILD
+ rm -rf NVIDIA-Linux-x86-1.0-4496-pkg2
+ /bin/sh
/home/users/builder/rpm/SOURCES/NVIDIA-Linux-x86-1.0-4496-pkg2.run
--extract-only
Creating directory NVIDIA-Linux-x86-1.0-4496-pkg2
Verifying archive integrity... OK
Uncompressing NVIDIA Accelerated Graphics Driver for Linux-x86
1.0-4496..................................................................................................................................................................................................................................
+ cd /home/users/builder/rpm/BUILD
+ cd NVIDIA-Linux-x86-1.0-4496-pkg2
+ /bin/id -u
+ [ 503 = 0 ]
+ true .
+ /bin/chmod -Rf a+rX,g-w,o-w .
+ echo Patch #0 (NVIDIA_kernel-Makefile.patch):
Patch #0 (NVIDIA_kernel-Makefile.patch):
+ patch -p1 -s
+ < /home/users/builder/rpm/SOURCES/NVIDIA_kernel-Makefile.patch
+ echo Patch #1 (NVIDIA_kernel-1.0-4496-2.5.diff):
Patch #1 (NVIDIA_kernel-1.0-4496-2.5.diff):
+ patch -p1 -s
+ < /home/users/builder/rpm/SOURCES/NVIDIA_kernel-1.0-4496-2.5.diff
+ echo Patch #2 (NVIDIA_kernel-test5.patch):
Patch #2 (NVIDIA_kernel-test5.patch):
+ patch -p0 -s
+ < /home/users/builder/rpm/SOURCES/NVIDIA_kernel-test5.patch
+ exit 0
Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.91281
+ umask 022
+ cd /home/users/builder/rpm/BUILD
+ cd NVIDIA-Linux-x86-1.0-4496-pkg2
+ IGNORE_CC_MISMATCH=ignore
+ export IGNORE_CC_MISMATCH
+ cd usr/src/nv/
+ /usr/bin/make nvidia.o CC=gcc INCLUDES=-O2 -march=i686 -I.
-D__KERNEL_SMP=1 -D__SMP__ -I/usr/src/linux/include
cat: /lib/modules/2.6.0/build/Makefile: No such file or directory
cat: /lib/modules/2.6.0/build/Makefile: No such file or directory
cat: /lib/modules/2.6.0/build/Makefile: No such file or directory
make[1]: Entering directory `/usr/src/linux-2.6.0'
make[1]: *** No rule to make target `modules'.  Stop.
make[1]: Leaving directory `/usr/src/linux-2.6.0'
nvidia.ko failed to build!
make: *** [nvidia.o] Error 1
error: Bad exit status from /var/tmp/rpm-tmp.91281 (%build)


RPM build errors:
     Bad exit status from /var/tmp/rpm-tmp.91281 (%build)
Error: package build failed. (no more info)

Regards

-- 
Marek Guevara Braun




Więcej informacji o liście dyskusyjnej pld-kernel