Go Back   nV News Forums > Linux Support Forums > NVIDIA Linux

Newegg Daily Deals

Reply
 
Thread Tools
Old 06-23-06, 07:49 AM   #1
sangu
Registered User
 
Join Date: Feb 2005
Posts: 84
Default nvidia kernel module 1.0.8762 doesn't be built in 2.6.17-git4,git5

nvidia driver version : 1.0.8762

kernel-2.6.17-1.2307_FC6

%rpm -q --changelog kernel-2.6.17-1.2307_FC6 | more
* Sat Jun 24 2006 Dave Jones <davej at redhat.com>
- 2.6.17-git5

kernel-2.6.17-1.2302_FC6
%rpm -q --changelog kernel-2.6.17-1.2302_FC6 | more
* Fri Jun 23 2006 David Woodhouse <dwmw2 at redhat.com>
- MTD update

* Fri Jun 23 2006 Dave Jones <davej at redhat.com>
- 2.6.17-git4
[...]


Quote:
$rpmbuild --rebuild --target i686 --define "kversion 2.6.17-1.2302_FC6" --define "kvariants \""\" nvidia-kmod-1.0.8762-1.2.6.16_1.2122_FC5.src.rpm
Password:
Installing nvidia-kmod-1.0.8762-1.2.6.16_1.2122_FC5.src.rpm
warning: InstallSourcePackage: Header V3 DSA signature: NOKEY, key ID a109b1ec
warning: user mockbuild does not exist - using root
warning: group mockbuild does not exist - using root
warning: user mockbuild does not exist - using root
warning: group mockbuild does not exist - using root
warning: user mockbuild does not exist - using root
warning: group mockbuild does not exist - using root
Building target platforms: i686
Building for target i686
Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.7711
+ umask 022
+ cd /usr/src/redhat/BUILD
+ LANG=C
+ export LANG
+ unset DISPLAY
+ sh /usr/src/redhat/SOURCES/kmodtool rpmtemplate nvidia 2.6.17-1.2302_FC6 ''
%package -n kmod-nvidia
Summary: nvidia kernel module(s)
Group: System Environment/Kernel
Provides: kernel-modules = 2.6.17-1.2302_FC6
Provides: nvidia-kmod = %{?epoch:%{epoch}:}%{version}-%{release}
Requires: kernel-%{_target_cpu} = 2.6.17-1.2302_FC6
Requires: nvidia-kmod-common >= %{?epoch:%{epoch}:}%{version}
Requires(post): /sbin/depmod
Requires(postun): /sbin/depmod
BuildRequires: kernel-devel-%{_target_cpu} = 2.6.17-1.2302_FC6
%description -n kmod-nvidia
This package provides the nvidia kernel modules built for the Linux
kernel 2.6.17-1.2302_FC6 for the %{_target_cpu} family of processors.
%post -n kmod-nvidia
/sbin/depmod -aeF /boot/System.map-2.6.17-1.2302_FC6 2.6.17-1.2302_FC6 > /dev/null || :
%postun -n kmod-nvidia
/sbin/depmod -aF /boot/System.map-2.6.17-1.2302_FC6 2.6.17-1.2302_FC6 &> /dev/null || :
%files -n kmod-nvidia
%defattr(644,root,root,755)
/lib/modules/2.6.17-1.2302_FC6/extra/nvidia/

+ cd /usr/src/redhat/BUILD
+ rm -rf nvidia-kmod-1.0.8762
+ /bin/mkdir -p nvidia-kmod-1.0.8762
+ cd nvidia-kmod-1.0.8762
+ /usr/bin/bzip2 -dc /usr/src/redhat/SOURCES/nvidia-glx-kmod-data-1.0.8762.tar.bz2
+ tar -xf -
+ STATUS=0
+ '[' 0 -ne 0 ']'
++ /usr/bin/id -u
+ '[' 0 = 0 ']'
+ /bin/chown -Rhf root .
++ /usr/bin/id -u
+ '[' 0 = 0 ']'
+ /bin/chgrp -Rhf root .
+ /bin/chmod -Rf a+rX,u+w,g-w,o-w .
+ for kvariant in '""'
+ cp -a nvidiapkg-x86 _kmod_build_
+ exit 0
Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.5903
+ umask 022
+ cd /usr/src/redhat/BUILD
+ cd nvidia-kmod-1.0.8762
+ LANG=C
+ export LANG
+ unset DISPLAY
+ for kvariant in '""'
+ ksrc=/usr/src/kernels/2.6.17-1.2302_FC6-i686
+ pushd _kmod_build_/usr/src/nv/
/usr/src/redhat/BUILD/nvidia-kmod-1.0.8762/_kmod_build_/usr/src/nv /usr/src/redhat/BUILD/nvidia-kmod-1.0.8762
+ ln -s -f Makefile.kbuild Makefile
+ make SYSSRC=/usr/src/kernels/2.6.17-1.2302_FC6-i686 module

NVIDIA: calling KBUILD...
make CC=cc KBUILD_VERBOSE=1 -C /usr/src/kernels/2.6.17-1.2302_FC6-i686 SUBDIRS=/usr/src/redhat/BUILD/nvidia-kmod-1.0.8762/_kmod_build_/usr/src/nv modules
mkdir -p /usr/src/redhat/BUILD/nvidia-kmod-1.0.8762/_kmod_build_/usr/src/nv/.tmp_versions
rm -f /usr/src/redhat/BUILD/nvidia-kmod-1.0.8762/_kmod_build_/usr/src/nv/.tmp_versions/*
make -f scripts/Makefile.build obj=/usr/src/redhat/BUILD/nvidia-kmod-1.0.8762/_kmod_build_/usr/src/nv
echo \#define NV_COMPILER \"`cc -v 2>&1 | tail -n 1`\" > /usr/src/redhat/BUILD/nvidia-kmod-1.0.8762/_kmod_build_/usr/src/nv/nv_compiler.h
cc -Wp,-MD,/usr/src/redhat/BUILD/nvidia-kmod-1.0.8762/_kmod_build_/usr/src/nv/.nv.o.d -nostdinc -isystem /usr/lib/gcc/i386-redhat-linux/4.1.1/include -D__KERNEL__ -Iinclude -include include/linux/autoconf.h -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Wstrict-prototypes -Wundef -Werror-implicit-function-declaration -Os -fomit-frame-pointer -fasynchronous-unwind-tables -g -pipe -msoft-float -fno-builtin-sprintf -fno-builtin-log2 -fno-builtin-puts -mpreferred-stack-boundary=2 -march=i686 -mtune=generic -mtune=generic -mregparm=3 -ffreestanding -Iinclude/asm-i386/mach-generic -Iinclude/asm-i386/mach-default -Wdeclaration-after-statement -Wno-pointer-sign -I/usr/src/redhat/BUILD/nvidia-kmod-1.0.8762/_kmod_build_/usr/src/nv -Wall -Wimplicit -Wreturn-type -Wswitch -Wformat -Wchar-subscripts -Wparentheses -Wpointer-arith -Wno-multichar -Werror -O -fno-common -MD -Wsign-compare -Wno-cast-qual -Wno-error -D_LOOSE_KERNEL_NAMES -D__KERNEL__ -DMODULE -DNTRM -DNVRM -DDYNAMIC_SLI -DNV_MAJOR_VERSION=1 -DNV_MINOR_VERSION=0 -DNV_PATCHLEVEL=8762 -UDEBUG -U_DEBUG -DNDEBUG -DNV_MULTIPLE_BRIDGE_AGPGART_PRESENT -DNV_PCI_GET_CLASS_PRESENT -DNV_PCI_CHOOSE_STATE_PRESENT -DNV_VM_INSERT_PAGE_PRESENT -DNV_REMAP_PFN_RANGE_PRESENT -DNV_CHANGE_PAGE_ATTR_PRESENT -DMODULE -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(nv)" -D"KBUILD_MODNAME=KBUILD_STR(nvidia)" -c -o /usr/src/redhat/BUILD/nvidia-kmod-1.0.8762/_kmod_build_/usr/src/nv/.tmp_nv.o /usr/src/redhat/BUILD/nvidia-kmod-1.0.8762/_kmod_build_/usr/src/nv/nv.c
In file included from include/linux/list.h:7,
from include/linux/wait.h:22,
from include/asm/semaphore.h:41,
from include/linux/sched.h:57,
from include/linux/module.h:9,
from /usr/src/redhat/BUILD/nvidia-kmod-1.0.8762/_kmod_build_/usr/src/nv/nv-linux.h:51,
from /usr/src/redhat/BUILD/nvidia-kmod-1.0.8762/_kmod_build_/usr/src/nv/nv.c:14:
include/linux/prefetch.h: In function 'prefetch_range':
include/linux/prefetch.h:62: warning: pointer of type 'void *' used in arithmetic
In file included from include/linux/dmapool.h:14,
from include/linux/pci.h:559,
from /usr/src/redhat/BUILD/nvidia-kmod-1.0.8762/_kmod_build_/usr/src/nv/nv-linux.h:76,
from /usr/src/redhat/BUILD/nvidia-kmod-1.0.8762/_kmod_build_/usr/src/nv/nv.c:14:
include/asm/io.h: In function 'check_signature':
include/asm/io.h:245: warning: wrong type argument to increment
In file included from /usr/src/redhat/BUILD/nvidia-kmod-1.0.8762/_kmod_build_/usr/src/nv/nv.c:14:
/usr/src/redhat/BUILD/nvidia-kmod-1.0.8762/_kmod_build_/usr/src/nv/nv-linux.h: At top level:
/usr/src/redhat/BUILD/nvidia-kmod-1.0.8762/_kmod_build_/usr/src/nv/nv-linux.h:711: error: conflicting types for 'pm_message_t'
include/linux/pm.h:142: error: previous declaration of 'pm_message_t' was here
/usr/src/redhat/BUILD/nvidia-kmod-1.0.8762/_kmod_build_/usr/src/nv/nv.c:315: warning: initialization from incompatible pointer type
make[3]: *** [/usr/src/redhat/BUILD/nvidia-kmod-1.0.8762/_kmod_build_/usr/src/nv/nv.o] Error 1
make[2]: *** [_module_/usr/src/redhat/BUILD/nvidia-kmod-1.0.8762/_kmod_build_/usr/src/nv] Error 2
NVIDIA: left KBUILD.
nvidia.ko failed to build!
make[1]: *** [mdl] Error 1
make: *** [module] Error 2

Last edited by sangu; 04-22-11 at 08:16 PM.
sangu is offline   Reply With Quote
Reply


Thread Tools

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 On
HTML code is Off
Forum Jump


Similar Threads
Thread Thread Starter Forum Replies Last Post
UEFI+Nvidia - NVRM: Your system is not currently configured to drive a VGA console... interzoneuk NVIDIA Linux 0 06-26-12 04:51 AM
xorg locks-up with newest nvidia drivers w/ vdpau. theroot NVIDIA Linux 1 06-24-12 11:04 AM
Lucid rt kernel can't load latest nvidia driver module, but generic does. marcod NVIDIA Linux 0 05-02-12 06:23 AM
nvidia + 2.4.19 gentoo = messed up ulukay NVIDIA Linux 18 11-01-02 11:58 PM
X Failed to load NVdriver c00lr4c3r NVIDIA Linux 13 10-22-02 01:44 PM

All times are GMT -5. The time now is 12:03 PM.


Powered by vBulletin® Version 3.7.1
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Copyright 1998 - 2014, nV News.