Go Back   nV News Forums > Linux Support Forums > NVIDIA Linux

Newegg Daily Deals

Thread Tools
Old 09-05-04, 12:34 PM   #1
Registered User
Join Date: Sep 2004
Posts: 2
Default Unable to compile the driver

Mandrake 10.1 (cooker), xorg 6.7.0, kernel 2.6.8

Compiling fails as follows:

NVIDIA: calling KBUILD...
make -C /lib/modules/ \
KBUILD_SRC=/usr/src/linux- KBUILD_VERBOSE=1 \
KBUILD_CHECK= KBUILD_EXTMOD="/root/nvidia/NVIDIA-Linux-x86-1.0-6111-pkg1/usr
/src/nv" \
-f /usr/src/linux- modules
mkdir -p /root/nvidia/NVIDIA-Linux-x86-1.0-6111-pkg1/usr/src/nv/.tmp_version
make -f /usr/src/linux- obj=/root/nvidia/
echo \#define NV_COMPILER \"`cc -v 2>&1 | tail -n 1`\" > /root/nvidia/NVIDIA
cc -Wp,-MD,/root/nvidia/NVIDIA-Linux-x86-1.0-6111-pkg1/usr/src/nv/.nv.o.d
-nostdinc -iwithprefix include -D__KERNEL__ -Iinclude -Iinclude2 -I/usr/src/
linux- -I/root/nvidia/NVIDIA-Linux-x86-1.0-6111-pkg1/us
r/src/nv -Wall -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-
common -pipe -msoft-float -mpreferred-stack-boundary=2 -fno-unit-at-a-time -
march=i686 -I/usr/src/linux- -Iinc
lude/asm-i386/mach-default -O2 -Wdeclaration-after-statement -I/root/nvidia
/NVIDIA-Linux-x86-1.0-6111-pkg1/usr/src/nv -Wall -Wimplicit -Wreturn-type -W
switch -Wformat -Wchar-subscripts -Wparentheses -Wpointer-arith -Wno-multich
ar -Werror -O -fno-common -MD -Wno-cast-qual -Wno-error -D_LOOSE_KERNEL_NAME
LD_MODNAME=nvidia -c -o /root/nvidia/NVIDIA-Linux-x86-1.0-6111-pkg1/usr/src/
nv/nv.o /root/nvidia/NVIDIA-Linux-x86-1.0-6111-pkg1/usr/src/nv/nv.c
/root/nvidia/NVIDIA-Linux-x86-1.0-6111-pkg1/usr/src/nv/nv.c: In function `nv
/root/nvidia/NVIDIA-Linux-x86-1.0-6111-pkg1/usr/src/nv/nv.c:3697: error: `PM
_SAVE_STATE' undeclared (first use in this function)
/root/nvidia/NVIDIA-Linux-x86-1.0-6111-pkg1/usr/src/nv/nv.c:3697: error: (Ea
ch undeclared identifier is reported only once
/root/nvidia/NVIDIA-Linux-x86-1.0-6111-pkg1/usr/src/nv/nv.c:3697: error: for
each function it appears in.)
make[4]: *** [/root/nvidia/NVIDIA-Linux-x86-1.0-6111-pkg1/usr/src/nv/nv.o] E
rror 1
make[3]: *** [_module_/root/nvidia/NVIDIA-Linux-x86-1.0-6111-pkg1/usr/src/nv
] Error 2
make[2]: *** [modules] Error 2
nvidia.ko failed to build!
make[1]: *** [module] Error 1
make: *** [module] Error 2
-> Error.

Ironically enough I have no problems to build it on the same machine and kernel 2.6.8 RC2, using the same settings (it runs fine as well).
Any ideas?
panfr is offline   Reply With Quote
Old 09-05-04, 12:52 PM   #2
NVIDIA Corporation
zander's Avatar
Join Date: Aug 2002
Posts: 3,740
Default Re: Unable to compile the driver

Try replacing PM_SAVE_STATE with PM_SUSPEND_MEM.
zander is offline   Reply With Quote
Old 09-05-04, 04:29 PM   #3
Registered User
Join Date: Sep 2004
Posts: 2
Default Re: Unable to compile the driver

Thank you for the tip. It works just fine.
panfr is offline   Reply With Quote

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Unable to modify brightness with driver 295.59 and xorg 1.11.4 lorenrookie NVIDIA Linux 0 06-22-12 08:03 AM
Getting the proprietary nvidia driver to run with Debian 3.0 r0 (woody) Katchina404 NVIDIA Linux 9 01-12-03 08:49 AM
Unable to load 3d driver rebol NVIDIA Linux 3 09-29-02 04:58 PM
failing to initialize NV driver PsyShook NVIDIA Linux 10 09-19-02 12:41 PM
Nvidia Driver causes crash on Standby/Suspend dasher NVIDIA Linux 5 09-16-02 05:57 PM

All times are GMT -5. The time now is 12:36 PM.

Powered by vBulletin® Version 3.7.1
Copyright ©2000 - 2015, Jelsoft Enterprises Ltd.
Copyright ©1998 - 2014, nV News.