View previous topic :: View next topic |
Author |
Message |
LeChuck n00b


Joined: 11 Aug 2002 Posts: 31
|
Posted: Thu Sep 12, 2002 10:53 am Post subject: Nvidia 1.0-3123 woes |
|
|
I seem to have downloaded them ok but I get an error 1 whilst compiling Heres a dump
Code: |
# emerge -u nvidia-glx
Calculating dependencies ...done!
>>> emerge media-video/nvidia-kernel-1.0.3123 to /
>>> md5 ;-) NVIDIA_kernel-1.0-3123.tar.gz
>>> Unpacking source...
>>> Unpacking NVIDIA_kernel-1.0-3123.tar.gz
>>> Source unpacked.
rm -f nv.o os-interface.o os-registry.o Module-linux nv_compiler.h *.d NVdriver
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 -DRM_HEAPMGR -D_LOOSE_KERNEL_NAMES -D__KERNEL__ -DMODULE -DNV_MAJOR_VERSION=1 -DNV_MINOR_VERSION=0 -DNV_PATCHLEVEL=3123 -DNV_UNIX -DNV_LINUX -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:319,
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:10,
from /usr/src/linux/include/linux/mm.h:4,
from /usr/src/linux/include/linux/slab.h:14,
from nv-linux.h:56,
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_JIFFIES' 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_JIFFIES' undeclared (first use in this function)
In file included from /usr/src/linux/include/linux/sched.h:15,
from /usr/src/linux/include/linux/mm.h:4,
from /usr/src/linux/include/linux/slab.h:14,
from nv-linux.h:56,
from nv.c:14:
/usr/src/linux/include/linux/timex.h:78:3: #error You lose.
In file included from /usr/src/linux/include/asm/pci.h:40,
from /usr/src/linux/include/linux/pci.h:614,
from nv-linux.h:62,
from nv.c:14:
/usr/src/linux/include/asm/io.h: In function `virt_to_phys':
/usr/src/linux/include/asm/io.h:78: `PAGE_OFFSET_RAW' undeclared (first use in this function)
/usr/src/linux/include/asm/io.h: In function `phys_to_virt':
/usr/src/linux/include/asm/io.h:96: `PAGE_OFFSET_RAW' undeclared (first use in this function)
/usr/src/linux/include/asm/io.h: In function `isa_check_signature':
/usr/src/linux/include/asm/io.h:268: `PAGE_OFFSET_RAW' undeclared (first use in this function)
In file included from /usr/src/linux/include/linux/highmem.h:5,
from nv-linux.h:75,
from nv.c:14:
/usr/src/linux/include/asm/pgalloc.h: In function `get_pgd_slow':
/usr/src/linux/include/asm/pgalloc.h:64: `PAGE_OFFSET_RAW' undeclared (first use in this function)
In file included from nv-linux.h:75,
from nv.c:14:
/usr/src/linux/include/linux/highmem.h: In function `kmap':
/usr/src/linux/include/linux/highmem.h:33: `PAGE_OFFSET_RAW' undeclared (first use in this function)
nv.c: In function `nvos_malloc':
nv.c:413: `PAGE_OFFSET_RAW' undeclared (first use in this function)
nv.c: In function `nvos_free':
nv.c:449: `PAGE_OFFSET_RAW' undeclared (first use in this function)
nv.c: In function `nv_kern_close':
nv.c:1208: `CONFIG_JIFFIES' undeclared (first use in this function)
nv.c: In function `nv_find_kernel_mapping':
nv.c:2130: `PAGE_OFFSET_RAW' undeclared (first use in this function)
nv.c: In function `nv_get_phys_address':
nv.c:2161: `PAGE_OFFSET_RAW' undeclared (first use in this function)
nv.c: In function `nv_alloc_pages':
nv.c:2262: `PAGE_OFFSET_RAW' undeclared (first use in this function)
nv.c: In function `nv_free_pages':
nv.c:2401: `PAGE_OFFSET_RAW' undeclared (first use in this function)
make: *** [nv.o] Error 1
!!! ERROR: The ebuild did not complete successfully.
!!! Function src_compile, Line -38, Exitcode 2
!!! (no error message)
# |
This occurs in the same place everytime. I'm using gcc 3.2 |
|
Back to top |
|
 |
vers_iq Apprentice

Joined: 18 May 2002 Posts: 264
|
Posted: Thu Sep 12, 2002 8:57 pm Post subject: |
|
|
make sure /usr/src/linux in linked to the proper directory, and make sure no "make mrproper" or "make distclean" was run in the dir. If u accidently did it, u have to recompile module again (make modules) but doesnt mean u have to install it (make modules_install).
Last edited by vers_iq on Thu Sep 12, 2002 8:59 pm; edited 1 time in total |
|
Back to top |
|
 |
TheCoop Veteran


Joined: 15 Jun 2002 Posts: 1814 Location: Where you least expect it
|
Posted: Thu Sep 12, 2002 8:58 pm Post subject: |
|
|
i get exactly the same error
make mrproper ran in which dir, by what? _________________ 95% of all computer errors occur between chair and keyboard (TM)
"One World, One web, One program" - Microsoft Promo ad.
"Ein Volk, Ein Reich, Ein Führer" - Adolf Hitler
Change the world - move a rock |
|
Back to top |
|
 |
vers_iq Apprentice

Joined: 18 May 2002 Posts: 264
|
Posted: Thu Sep 12, 2002 9:01 pm Post subject: |
|
|
TheCoop wrote: | i get exactly the same error
make mrproper ran in which dir, by what? |
in /usr/src/linux/. |
|
Back to top |
|
 |
Ansorg Apprentice

Joined: 13 Jul 2002 Posts: 193
|
Posted: Thu Sep 12, 2002 9:36 pm Post subject: Re: Nvidia 1.0-3123 woes |
|
|
LeChuck wrote: | I seem to have downloaded them ok |
how did you do that?
Code: |
>>> Downloading ftp://download.nvidia.com/XFree86_40/1.0-3123/NVIDIA_GLX-1.0-3123.tar.gz
--23:32:22-- ftp://download.nvidia.com/XFree86_40/1.0-3123/NVIDIA_GLX-1.0-3123.tar.gz
=> `/usr/portage/distfiles/NVIDIA_GLX-1.0-3123.tar.gz'
Resolving download.nvidia.com... done.
Connecting to download.nvidia.com[216.228.115.12]:21... connected.
Logging in as anonymous ... Logged in!
==> SYST ... done. ==> PWD ... done.
==> TYPE I ... done. ==> CWD /XFree86_40/1.0-3123 ... done.
==> PASV ... done. ==> RETR NVIDIA_GLX-1.0-3123.tar.gz ... done.
[<=> ] 0 --.--K/s
|
and there it sits for hours now ( _________________ thanks
Jens |
|
Back to top |
|
 |
vers_iq Apprentice

Joined: 18 May 2002 Posts: 264
|
Posted: Thu Sep 12, 2002 10:16 pm Post subject: Re: Nvidia 1.0-3123 woes |
|
|
Ansorg wrote: | LeChuck wrote: | I seem to have downloaded them ok |
how did you do that?
Code: |
>>> Downloading ftp://download.nvidia.com/XFree86_40/1.0-3123/NVIDIA_GLX-1.0-3123.tar.gz
--23:32:22-- ftp://download.nvidia.com/XFree86_40/1.0-3123/NVIDIA_GLX-1.0-3123.tar.gz
=> `/usr/portage/distfiles/NVIDIA_GLX-1.0-3123.tar.gz'
Resolving download.nvidia.com... done.
Connecting to download.nvidia.com[216.228.115.12]:21... connected.
Logging in as anonymous ... Logged in!
==> SYST ... done. ==> PWD ... done.
==> TYPE I ... done. ==> CWD /XFree86_40/1.0-3123 ... done.
==> PASV ... done. ==> RETR NVIDIA_GLX-1.0-3123.tar.gz ... done.
[<=> ] 0 --.--K/s
|
and there it sits for hours now ( |
i guess almost everyone have this problem, why not donwload it from nvidia homepage using mozilla or any web browser, then save it in /usr/portage/distfiles, then run emerge nvidia-glx, at least that's what i do,
btw, add Code: | Option "DigitalVibrance" "2" |
in your XF86Config u can change it to 0 1 2 or 3, see for yourself which one is best. |
|
Back to top |
|
 |
Tuxisuau Apprentice


Joined: 04 May 2002 Posts: 213 Location: Catalunya (Europe)
|
Posted: Fri Sep 13, 2002 12:36 am Post subject: Re: Nvidia 1.0-3123 woes |
|
|
Quote: |
btw, add Code: | Option "DigitalVibrance" "2" |
in your XF86Config u can change it to 0 1 2 or 3, see for yourself which one is best. |
wtf is that for? _________________ IM me at tuxisuau@jabber.7a69ezine.org |
|
Back to top |
|
 |
AdamG n00b

Joined: 17 Apr 2002 Posts: 46 Location: USA, MA
|
Posted: Fri Sep 13, 2002 12:44 am Post subject: |
|
|
I found these drivers to crash quake3 constantly, so i went back to the old build =x |
|
Back to top |
|
 |
LeChuck n00b


Joined: 11 Aug 2002 Posts: 31
|
Posted: Fri Sep 13, 2002 6:21 pm Post subject: Re: Nvidia 1.0-3123 woes |
|
|
vers_iq wrote: | make sure /usr/src/linux in linked to the proper directory, and make sure no "make mrproper" or "make distclean" was run in the dir. If u accidently did it, u have to recompile module again (make modules) but doesnt mean u have to install it (make modules_install). |
Thanks mate, that worked very nicely
Tuxisuau wrote: | Quote: |
btw, add Code: | Option "DigitalVibrance" "2" |
in your XF86Config u can change it to 0 1 2 or 3, see for yourself which one is best. |
wtf is that for? |
Digital Vibrance enhances the colours and contrast. I have mine set to max "3" ... theres a better description on what it exactly does on the nvidia site  |
|
Back to top |
|
 |
ejwahl Tux's lil' helper


Joined: 27 May 2002 Posts: 107 Location: Rhode Island
|
Posted: Sat Sep 14, 2002 12:28 am Post subject: |
|
|
OMG!!
Thank you for the DigitalVibrance tip! Amazing difference!! _________________ Erich J. Wahl
RLU 199500
ICQ 48100000 |
|
Back to top |
|
 |
|