PDA

View Full Version : .tar.gz under redhat


Glenn
11-12-02, 06:47 PM
I've totally exhausted all ideas trying to install .src.rpms for redhat 8.0 so please don't even go there.

Does anyone know to get .tar.gz to work under redhat 8.0. I get this error for the NVIDIA-kernel

...ld/include -Wno-cast-qual os-registry.c
In file included from nv-linux.h:75,
from os-registry.c:14:
/lib/modules/2.4.18-14/build/include/linux/highmem.h: In function `bh_kmap':
/lib/modules/2.4.18-14/build/include/linux/highmem.h:20: warning: pointer of type `void *' used in arithmetic
ld -r -o Module-linux nv.o os-interface.o os-registry.o
ld -r -o NVdriver Module-linux Module-nvkernel
Module-nvkernel: file not recognized: File truncated
make: *** [NVdriver] Error 1

Any suggestions, Do I have to modify the files?

Cheers

bwkaz
11-13-02, 12:46 PM
Originally posted by Glenn
ld -r -o NVdriver Module-linux Module-nvkernel
Module-nvkernel: file not recognized: File truncated Corrupted download perhaps? If you run the md5sum program on the .tar.gz file that you saved, does the output match the MD5sum posted on the driver download page?

What did you use to download it? Maybe try wget or something?

Glenn
11-13-02, 01:00 PM
Cheers, yes, they were different file sizes, but then I ran into this error:

nv.c:2929: parse error before ')' token
/usr/include/linux/highmem.h: At top level:
nv.c:155: storage size of `nv_fops' isn't known
nv.c:1037: storage size of `nv_vm_ops' isn't known
make: *** [nv.o] Error 1

Any suggestions?

bwkaz
11-13-02, 04:44 PM
That doesn't seem to be the full error message, but I notice that previously, /lib/modules/2.4.18-14/build/include/linux/highmem.h was being included, but now, just /usr/include/linux/highmem.h is being included. Are you sure that your kernel source is still installed? Did you change your kernel between tries?

Can you make >log.txt 2>&1 and then attach the log.txt file?