-
Help with geForce 4 with Knoppix 3.3
I'm a Newbie....
I did try everything on this forum , i'm still getting errors.
last thing i did was NVIDIA_kernel-1.0-4191 compile or make...
NVIDIA_kernel-1.0-4191# make install
/usr/bin/gcc-2.95 -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/asm/semaphore.h:42,
from /usr/src/linux/include/linux/fs.h:205,
from /usr/src/linux/include/linux/capability.h:17,
from /usr/src/linux/include/linux/binfmts.h:5,
from /usr/src/linux/include/linux/sched.h:9,
from /usr/src/linux/include/linux/mm.h:4,
from /usr/src/linux/include/linux/slab.h:14,
from nv-linux.h:63,
from nv.c:14:
/usr/src/linux/include/linux/rwsem.h: In function `down_read_trylock':
/usr/src/linux/include/linux/rwsem.h:57: warning: implicit declaration of function `__down_read_trylock'
/usr/src/linux/include/linux/rwsem.h: In function `down_write_trylock':
/usr/src/linux/include/linux/rwsem.h:79: warning: implicit declaration of function `__down_write_trylock'
In file included from /usr/src/linux/include/linux/mm.h:4,
from /usr/src/linux/include/linux/slab.h:14,
from nv-linux.h:63,
from nv.c:14:
/usr/src/linux/include/linux/sched.h: At top level:
/usr/src/linux/include/linux/sched.h:280: parse error before `extern'
/usr/src/linux/include/linux/sched.h:280: warning: no semicolon at end of struct or union
In file included from /usr/src/linux/include/linux/mm.h:4,
from /usr/src/linux/include/linux/slab.h:14,
from nv-linux.h:63,
from nv.c:14:
/usr/src/linux/include/linux/sched.h: In function `mmdrop':
/usr/src/linux/include/linux/sched.h:837: dereferencing pointer to incomplete type
/usr/src/linux/include/linux/sched.h: At top level:
/usr/src/linux/include/linux/sched.h:875: conflicting types for `kernel_thread'
/usr/include/asm/processor.h:436: previous declaration of `kernel_thread'
/usr/src/linux/include/linux/sched.h:1067: warning: This file contains more `{'s than `}'s.
In file included from /usr/src/linux/include/linux/slab.h:14,
from nv-linux.h:63,
from nv.c:14:
/usr/src/linux/include/linux/mm.h: In function `__vma_unlink':
/usr/src/linux/include/linux/mm.h:582: dereferencing pointer to incomplete type
/usr/src/linux/include/linux/mm.h:583: dereferencing pointer to incomplete type
/usr/src/linux/include/linux/mm.h:584: dereferencing pointer to incomplete type
/usr/src/linux/include/linux/slab.h: At top level:
/usr/src/linux/include/linux/mm.h:711: warning: This file contains more `{'s than `}'s.
In file included from nv-linux.h:63,
from nv.c:14:
/usr/src/linux/include/linux/slab.h:81: warning: This file contains more `{'s than `}'s.
In file included from nv.c:14:
nv-linux.h:382: warning: This file contains more `{'s than `}'s.
nv.c: In function `nv_get_phys_address':
nv.c:2233: invalid use of undefined type `struct mm_struct'
nv.c:2235: dereferencing pointer to incomplete type
nv.c:2218: warning: `pg_dir' might be used uninitialized in this function
make: *** [nv.o] Error 1
I allso tried a newer version file: NVIDIA_kernel-1.0-4363
this is the uotput:
/usr/bin/gcc-2.95 -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=4363 -DNV_UNIX -DNV_LINUX -DNV_INT64_OK -DNVCPU_X86 -I. -I/usr/src/linux/include -Wno-cast-qual nv.c
In file included from nv.c:14:
nv-linux.h:167: #error "Couldn't determine number of arguments expected by remap_page_range!"
make: *** [nv.o] Error 1
Please help....
-
Senior Member
registered user
Have you tried the latest driver the NVIDIA-Linux-x86-1.0-4496-pkg2.run? It will compile the drivers and install them by running the script you can get it here.
-
Thanks for your fast replay...
I did try NVIDIA-Linux-x86-1.0-4496-pkg2.run but still got error.
Error: No precompiled kernel found, and that it's going to try to download one, then error no precompiled kernel found, then progress bar building kernel then a error Error building NVIDIA kernel .....
-
Senior Member
registered user

Originally Posted by
raduen
Thanks for your fast replay...
I did try NVIDIA-Linux-x86-1.0-4496-pkg2.run but still got error.
Error: No precompiled kernel found, and that it's going to try to download one, then error no precompiled kernel found, then progress bar building kernel then a error Error building NVIDIA kernel .....
What is the exact error you get? Also you should just before you compile export CC=/usr/bin/gcc-2.95 and check to make sure the kernel headers are linked to the /usr/src/linux directory what it looks like on my machine:
Code:
[05:29 PM Wed Nov 12: stephen @ ~]
>$ ll /usr/src/linux
lrwxrwxrwx 1 root src 37 2003-10-20 05:07 /usr/src/linux -> /usr/src/kernel-headers-2.4.22.031019
Yours would of course be linked to the kernel headers you have.
-
this is the eoor when i do a make install
export cc=/usr/bin/gcc-2.95
root@silverdev:/usr/src/NVIDIA_kernel-1.0-4191# export IGNORE_CC_MISMATCH=1
root@silverdev:/usr/src/NVIDIA_kernel-1.0-4191# make install
/usr/bin/gcc-2.95 -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/src/linux/include/linux/mm.h:4,
from /usr/src/linux/include/linux/slab.h:14,
from nv-linux.h:63,
from nv.c:14:
/usr/src/linux/include/linux/sched.h:280: parse error before `extern'
/usr/src/linux/include/linux/sched.h:280: warning: no semicolon at end of struct or union
In file included from /usr/src/linux/include/linux/mm.h:4,
from /usr/src/linux/include/linux/slab.h:14,
from nv-linux.h:63,
from nv.c:14:
/usr/src/linux/include/linux/sched.h: In function `mmdrop':
/usr/src/linux/include/linux/sched.h:837: dereferencing pointer to incomplete type
/usr/src/linux/include/linux/mm.h: At top level:
/usr/src/linux/include/linux/sched.h:1067: warning: This file contains more `{'s than `}'s.
In file included from /usr/src/linux/include/linux/slab.h:14,
from nv-linux.h:63,
from nv.c:14:
/usr/src/linux/include/linux/mm.h: In function `__vma_unlink':
/usr/src/linux/include/linux/mm.h:582: dereferencing pointer to incomplete type
/usr/src/linux/include/linux/mm.h:583: dereferencing pointer to incomplete type
/usr/src/linux/include/linux/mm.h:584: dereferencing pointer to incomplete type
/usr/src/linux/include/linux/slab.h: At top level:
/usr/src/linux/include/linux/mm.h:711: warning: This file contains more `{'s than `}'s.
In file included from nv-linux.h:63,
from nv.c:14:
/usr/src/linux/include/linux/slab.h:81: warning: This file contains more `{'s than `}'s.
In file included from nv.c:14:
nv-linux.h:382: warning: This file contains more `{'s than `}'s.
nv.c: In function `nv_get_phys_address':
nv.c:2233: invalid use of undefined type `struct mm_struct'
nv.c:2235: dereferencing pointer to incomplete type
nv.c:2218: warning: `pg_dir' might be used uninitialized in this function
make: *** [nv.o] Error 1
And when i run NVIDIA-Linux-x86-1.0-4496-pkg2.run i get an error's saying: Precompiled Kernel not found. then i hit ok, then comes an error saying: Error building NVIDIA drivers.
Similar Threads
-
By CKLM in forum Hdd Install / Debian / Apt
Replies: 2
Last Post: 11-08-2004, 01:58 AM
-
By igs in forum Hardware & Booting
Replies: 15
Last Post: 10-24-2004, 08:24 AM
-
By Dosmaen in forum Hardware & Booting
Replies: 3
Last Post: 04-17-2004, 08:36 PM
-
By threeninja400 in forum Hardware & Booting
Replies: 2
Last Post: 09-16-2003, 02:45 AM
-
By adamb10 in forum Hardware & Booting
Replies: 4
Last Post: 08-13-2003, 03:09 AM
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules

Netac DDR4 32GB 16GB DDR4 3200MHz UDIMM C16 Desktop Internal Memory RAM Kit
$99.99

32GB KIT (2x16GB) DDR4 2666MHz PC4-21300 - 288 pin DESKTOP Non ECC - Black/Gold
$121.00

Major Brand 16GB (2x8GB) PC3-12800U DDR3-1600MHz DDR3-12800 DESKTOP RAM NON-ECC
$29.99

A-Tech 8GB DDR3 1600 PC3-12800 Laptop SODIMM 204-Pin Memory RAM PC3L DDR3L 1x 8G
$21.68

128GB (4x32GB) SK hynix DDR4 PC4-2666V RDIMM ECC Server Ram HMA84GR7CJR4N-VK
$799.00

32GB Micron PC4 – 3200AA DDR4 ECC Registered Server RAM - MTA36ASF4G72PZ-3G2J3
$200.00

Samsung 16GB LPCAMM2 PC5 7500 DDR5 LPDDR5X CAMM2 M561K1LC4DM0-CCTGM RAM Memory
$189.00

RAMAXEL Lenovo 32GB LPDDR5X CAMM2 7500MHz Laptop RAM | UNTESTED
$445.00

Micron 32GB 1x32GB DDR5 5600 CL46 ECC Unbuffered SO-DIMM MTC20C2085S1TC56BD1
$399.00

Dell 16GB PC4-21300 (DDR4-2666) Memory (SNPPWR5TC16G)
$89.99