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

Newegg Daily Deals

Reply
 
Thread Tools
Old 12-13-02, 02:44 PM   #1
Aritlaine
Registered User
 
Join Date: Dec 2002
Posts: 1
Question Compiling fronm src.rpm

Hi all.

I have a problem with NVIDIA_kernel.1.0.2802.src.rpm.
When I compiling my src-packet, typing...
# rpmbuild --rebuild NVIDIA_kernel.1.0.2802.src.rpm, I got a error messages....

[root@localhost root]# rpm --rebuild NVIDIA_kernel-1.0-2802.src.rpm
Asennan: NVIDIA_kernel-1.0-2802.src.rpm
Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.25322
+ umask 022
+ cd /usr/src/redhat/BUILD
+ cd /usr/src/redhat/BUILD
+ rm -rf NVIDIA_kernel-1.0-2802
+ /bin/gzip -dc /usr/src/redhat/SOURCES/NVIDIA_kernel-1.0-2802.tar.gz
+ tar -xf -
+ STATUS=0
+ '[' 0 -ne 0 ']'
+ cd NVIDIA_kernel-1.0-2802
++ /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,g-w,o-w .
+ exit 0
Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.25322
+ umask 022
+ cd /usr/src/redhat/BUILD
+ cd NVIDIA_kernel-1.0-2802
+ set +e
++ rpm -q --queryformat '%{VERSION}' rpm
+ RPMVERSION=4.0.4
++ echo 4.0.4
++ awk -F . '{print $1;}'
+ RPMMAJOR=4
++ echo 4.0.4
++ awk -F . '{print $2;}'
+ RPMMINOR=0
++ echo 4.0.4
++ awk -F . '{print $3;}'
+ RPMPATCH=4
+ '[' 4 -le 3 -a 0 -le 0 -a 4 -lt 4 ']'
+ make NVdriver
cc -c -Wall -Wimplicit -Wreturn-type -Wswitch -Wformat -Wchar-subscripts -Wparen
theses -Wpointer-arith -Wcast-qual -Wno-multichar -O -MD -D__KERNEL__ -DMODULE
-D_LOOSE_KERNEL_NAMES -D_X86=1 -Di386=1 -DUNIX -DLINUX -DNV4_HW -DNTRM -DRM20 -D
_GNU_SOURCE -DRM_HEAPMGR -D_LOOSE_KERNEL_NAMES -D__KERNEL__ -DMODULE -DNV_MAJOR
_VERSION=1 -DNV_MINOR_VERSION=0 -DNV_PATCHLEVEL=2802 -I. -I/usr/src/linux/incl
ude -Wno-cast-qual nv.c
In file included from /usr/include/linux/timex.h:152,
from /usr/include/linux/sched.h:14,
from /usr/include/linux/vmalloc.h:4,
from nv-linux.h:29,
from nv.c:27:
/usr/include/asm/timex.h:10:21: asm/msr.h: No such file or directory
In file included from /usr/include/linux/vmalloc.h:8,
from nv-linux.h:29,
from nv.c:27:
/usr/include/asm/pgtable.h:17:24: asm/fixmap.h: No such file or directory
In file included from nv-linux.h:47,
from nv.c:27:
/usr/include/linux/autoconf.h:1:2: #error Invalid kernel header included in user
space
In file included from nv.c:41:

RPM build errors:
Bad exit status from /var/tmp/rpm-tmp.57683 (%install)


Can anyone told me, what this mean...

Cheers Ari
Aritlaine is offline   Reply With Quote
Old 12-13-02, 03:03 PM   #2
Andy Mecham
l33t master
 
Join Date: Jul 2002
Location: Santa Clara, CA
Posts: 1,163
Default

Please make sure you have your kernel sources installed. Also, is there any reason you're using 1.0-2802 vs. 1.0-3123 or 1.0-4191?

--andy
__________________
Andy Mecham
NVIDIA Corporation
Andy Mecham is offline   Reply With Quote
Old 12-13-02, 04:11 PM   #3
Chalnoth
Registered User
 
Join Date: Jul 2002
Posts: 1,293
Default

Just as a side note, I'd like to show a little problem that I had. I updated Redhat through the Redhat update program, and it failed to properly update the source. I needed to go to the Redhat site, manually download the updated kernel-source RPM file, then uninstall the kernel source file on my computer (rpm -e kernel-source) and reinstall the source RPM from Redhat's ftp server (rpm -ivh kernel-source-versionnumbercrap.src.rpm)
Chalnoth 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
Self compiled kernels 3.5.2 & problems compiling nvidia driver 295.59 pjwhite NVIDIA Linux 0 08-17-12 05:04 PM
Compiling Errors In Debian Scorched NVIDIA Linux 14 09-26-02 11:02 AM
Problem when compiling with SDL on Nvidia/Nforce... superconti NVIDIA Linux 3 09-13-02 12:25 AM
Mandrake 8.2 Nvidia src.rpm problems Mr_Malcontent NVIDIA Linux 8 09-11-02 09:53 PM
RH7.2 (2.4.9-34) install + src.rpm problem FlyingDutchMan NVIDIA Linux 3 08-08-02 09:04 AM

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


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