View Single Post
Old 02-12-03, 12:37 AM   #224
ghollins
Registered User
 
Join Date: Feb 2003
Posts: 4
Unhappy problems building src under 2.4.18-24.8.0

I seem to be having the same(or similiar) problem as a lot of people are. I have tried to find a solution but no luck so far...

This is what I am doing:

I am trying:
rpmbuild --rebuild NVIDIA_kernel-1.0-4191.src.rpm

This gives me errors:
warning: user buildmeister does not exist - using root
warning: group buildmeister does not exist - using root
warning: user buildmeister does not exist - using root
warning: group buildmeister does not exist - using root
Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.43337
...
...
+ '[' 4 -le 3 -a 1 -le 0 -a -lt 4 ']'
/var/tmp/rpm-tmp.43337: line 34: [: too many arguments
+ make nvidia.o
echo \#define NV_COMPILER \"`cc -v 2>&1 | tail -1`\" > nv_compiler.h
cc -c -Wall -Wimplicit -Wreturn-type -Wswitch -Wformat -Wchar-subscripts -Wparentheses -Wpointer-arith -Wcast-qual -Wno-multichar -O -MD -D__KERNEL__ -DMODULE
-D_LOOSE_KERNEL_NAMES -DNTRM -D_GNU_SOURCE -D_LOOSE_KERNEL_NAMES -D__KERNEL__ -DMODULE -DNV_MAJOR_VERSION=1 -DNV_MINOR_VERSION=0 -DNV_PATCHLEVEL=4191 -DNV_UNIX -DNV_LINUX -DNV_INT64_OK -DNVCPU_X86 -I. -I/usr/src/linux/include
-Wno-cast-qual nv.c
In file included from /usr/include/linux/tqueue.h:18,
from nv-linux.h:61,
from nv.c:14:
/usr/include/asm/bitops.h:333:2: warning: #warning This includefile is not available on all architectures.
/usr/include/asm/bitops.h:334:2: warning: #warning Using kernel headers in userspace.
In file included from nv-linux.h:61,
from nv.c:14:
/usr/include/linux/tqueue.h:94: parse error before "tqueue_lock"
...
more errors
...
install: cannot stat `nvidia.o': No such file or directory
error: Bad exit status from /var/tmp/rpm-tmp.93815 (%install)


RPM build errors:
user buildmeister does not exist - using root
group buildmeister does not exist - using root
user buildmeister does not exist - using root
group buildmeister does not exist - using root
--------------------------------------

As far as I can tell from the manual I am doing everything correctly, although I am pretty new to Linux. I am using the files specified by NVChooser:
NVIDIA_kernel-1.0-4191.src.rpm
NVIDIA_GLX-1.0-4191.i386.rpm

My kernel version is 2.4.18-24.8.0
My card is Geforce4 TI 4200.
I have an Athlon 1800.

I have installed the kernel headers (I installed via start -> system settings -> packages and just installed the whole kernel development package.).

I have restarted after this.

I am root, and booted up in console mode.

Any ideas would be great. Thanks!
ghollins is offline   Reply With Quote