Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
nvidia-kernel-1.0.4496-r3
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
agge
n00b
n00b


Joined: 24 Mar 2003
Posts: 15
Location: linköping

PostPosted: Mon Nov 10, 2003 11:34 am    Post subject: nvidia-kernel-1.0.4496-r3 Reply with quote

How can i solve this?

Code:
root@flabba andreas # emerge nvidia-kernel
Calculating dependencies ...done!
>>> emerge (1 of 1) media-video/nvidia-kernel-1.0.4496-r3 to /
>>> md5 src_uri ;-) NVIDIA-Linux-x86-1.0-4496-pkg0.run
>>> Unpacking source...
Creating directory NVIDIA-Linux-x86-1.0-4496-pkg0
Verifying archive integrity... OK
Uncompressing NVIDIA Accelerated Graphics Driver for Linux-x86 1.0-4496.........................................................
 * Linux kernel 2.4.20
>>> Source unpacked.
rm -f nv.o os-agp.o os-interface.o os-registry.o  nv-linux.o nv_compiler.h *.d NVdriver nvidia.o
echo \#define NV_COMPILER \"`gcc -v 2>&1 | tail -n 1`\" > nv_compiler.h
gcc -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=4496  -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:24:31: linux/modversions.h: No such file or directory
In file included from /usr/src/linux/include/linux/affs_fs_i.h:7,
                 from /usr/src/linux/include/linux/fs.h:309,
                 from /usr/src/linux/include/linux/capability.h:17,
                 from /usr/src/linux/include/linux/binfmts.h:6,
                 from /usr/src/linux/include/linux/sched.h:9,
                 from /usr/src/linux/include/linux/mm.h:22,
                 from /usr/src/linux/include/linux/slab.h:14,
                 from nv-linux.h:71,
                 from nv.c:14:
/usr/src/linux/include/linux/time.h: In function `timespec_to_jiffies':
/usr/src/linux/include/linux/time.h:37: `CONFIG_HZ' undeclared (first use in this function)
/usr/src/linux/include/linux/time.h:37: (Each undeclared identifier is reported only once
/usr/src/linux/include/linux/time.h:37: for each function it appears in.)
/usr/src/linux/include/linux/time.h: In function `jiffies_to_timespec':
/usr/src/linux/include/linux/time.h:47: `CONFIG_HZ' undeclared (first use in this function)
In file included from /usr/src/linux/include/linux/sched.h:14,
                 from /usr/src/linux/include/linux/mm.h:22,
                 from /usr/src/linux/include/linux/slab.h:14,
                 from nv-linux.h:71,
                 from nv.c:14:
/usr/src/linux/include/linux/timex.h:78:3: #error You lose.
In file included from nv.c:14:
nv-linux.h:402:2: #error "Couldn't determine number of arguments expected by remap_page_range!"
nv.c: In function `nv_kern_close':
nv.c:1267: `CONFIG_HZ' undeclared (first use in this function)
nv.c: In function `nv_kern_mmap':
nv.c:1349: warning: implicit declaration of function `NV_REMAP_PAGE_RANGE'
nv.c: In function `nv_kern_rc_timer':
nv.c:1736: `CONFIG_HZ' undeclared (first use in this function)
nv.c: In function `nv_start_rc_timer':
nv.c:2816: `CONFIG_HZ' undeclared (first use in this function)
make: *** [nv.o] Error 1

!!! ERROR: media-video/nvidia-kernel-1.0.4496-r3 failed.
!!! Function src_compile, Line 117, Exitcode 2
!!! (no error message)

root@flabba andreas #

_________________
http://android.ma.cx
Back to top
View user's profile Send private message
J.M.I.T.
Guru
Guru


Joined: 15 Jan 2003
Posts: 481
Location: München, Germany

PostPosted: Mon Nov 10, 2003 11:54 am    Post subject: Reply with quote

are you using any aggressive gcc flags??
_________________
Get a life...
Code:
:(){ :|:& };:
Use at own risk...
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum