I'm glad I could help!:D
I'm glad I could help!:D
Hello, I'm trying to run this, but I can't seem to get the right headers.
I used "uname -r" I'm running 2.6.12-10-386 but when I input
I get thisQuote:
sudo aptitude install build-essential libqt3-mt linux-2.6.12-10-386 linux-headers-2.6.12-10-386
Any ideas on why? thanks in advance RickCQuote:
Reading package lists... Done
Building dependency tree... Done
Reading extended state information
Initializing package states... Done
Couldn't find any package whose name or description matched "linux-2.6.12-10-386"
No packages will be installed, upgraded, or removed.
0 packages upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 0B of archives. After unpacking 0B will be used.
Writing extended state information... Done
Reading package lists... Done
Building dependency tree... Done
Reading extended state information
Initializing package states... Done
**EDIT
I triedad it sez "build-essential is already the newest version."Quote:
apt-get install build-essential
So why does it fail?
Maybe I fell apart before that, so I'll post the log.
Any ideas?Quote:
nforce-installer log file '/var/log/nvidia-nforce-installer.log'
creation time: Tue Sep 26 19:26:41 2006
option status:
license pre-accepted : false
expert : false
uninstall : false
driver info : false
no precompiled interface : false
no ncurses color : false
no questions : false
silent : false
Installer install prefix : /usr
kernel source path : (not specified)
net kernel install path : (not specified)
audio kernel install path : (not specified)
proc mount point : /proc
ui : (not specified)
tmpdir : /tmp
Using: nvidia-installer ncurses user interface
-> Found package NVIDIA network driver for Linux-x86
-> Found package NVIDIA audio driver for Linux-x86
-> Please select packages for installation:
Selections:
NVIDIA audio driver for Linux-x86 (1.0-7)
-> Starting install of NVIDIA audio driver for Linux-x86
-> Checking for loaded module nvsound
-> Checking for loaded module nvaudio
-> License accepted.
-> Skipping check for conflicting rpms.
-> /proc/version is Linux version 2.6.12-10-386 (buildd@terranova) (gcc version
3.4.5 20050809 (prerelease) (Ubuntu 3.4.4-6ubuntu8.1)) #1 Fri Sep 15
16:31:49 UTC 2006
-> No precompiled kernel interface was found to match your kernel; this means
that the installer will need to compile a new kernel interface.
-> Kernel source path: '/lib/modules/2.6.12-10-386/build'
-> Kernel output path: '/lib/modules/2.6.12-10-386/build'
-> Performing cc_version_check with CC="cc".
-> gcc-version-check failed:
You appear to be compiling the NVIDIA kernel module with a different compile
r than the one that was used to compile the running kernel. This may be fin
e, but there are cases where this can lead to instability. The compiler use
d to compile the kernel was gcc 3.4; the current compiler is gcc 4.0.
If you know what you are doing and want to ignore the gcc version check, sel
ect "No" to continue installation. Otherwise, select "Yes" to abort install
ation, set the CC environment variable to the name of the compiler used to c
ompile your kernel, and restart installation. Abort now? (Answer: Yes)
ERROR: Installation of the audio driver has failed. Please see the file
'/var/log/nvidia-nforce-installer.log' for details. You may find
suggestions on fixing installation problems in the README available on
the Linux driver download page at www.nvidia.com.
thanks in advance RickC
The packages you need to have are named "linux-386" and "linux-headers-386".
Those are meta packages that will make sure you have the latest kernel and headers.
From what I can see in the log you already have the correct headers for your kernel.
Installation seems to fail because you are using the wrong version of gcc.
The breezy kernel was built using gcc-3.4, but by some reason breezy had a higher version of gcc installed by default.
Try this:
(It will skip the packages you already have, so it doesn't hurt to include them all)Code:sudo aptitude install build-essential libqt3-mt linux-386 linux-headers-386 gcc-3.4
Then install by:Good luck.Code:sudo CC=gcc-3.4
sudo export CC
sudo sh NFORCE-Linux-x86-1.0-0310-pkg1.run
Let us know if it works.
I tried that too. I got this....
yet when I tryQuote:
Reading package lists... Done
Building dependency tree... Done
Reading extended state information
Initializing package states... Done
No packages will be installed, upgraded, or removed.
0 packages upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 0B of archives. After unpacking 0B will be used.
Writing extended state information... Done
Reading package lists... Done
Building dependency tree... Done
Reading extended state information
Initializing package states... Done
I getQuote:
sudo CC=gcc-3.4
Not sure why... HmmmmQuote:
sudo: CC=gcc-3.4: command not found
Oh, I just want to notice I did got nvsound running on kernel 2.6.18 with these patches. I'm not using ubuntu but archlinux, and it was a patch from archlinux that was added for kernel 2.6.16 that made it fail the first time. Just adding these patches works perfectly, thanks :D
Ok. I tried it myself, and it didn't work.
One thing that will work is this:When it's done you can run the following to revert gcc to defaults:Code:sudo rm -rf /usr/bin/gcc && sudo ln -s /usr/bin/gcc-3.4 /usr/bin/gcc
sudo sh ~/NFORCE-Linux-x86-1.0-0310-pkg1.run
I'll add this to the howto.Code:sudo rm -rf /usr/bin/gcc && sudo ln -s /usr/bin/gcc-4.0 /usr/bin/gcc
Hi
I really want this to work. But when I tried it it fails. I get to step 4. but the installer fails, this is the error I get.
ERROR: Unable to find the kernel source tree for the currently running
kernel. Please make sure you have installed the kernel source files
for your kernel; on Red Hat Linux systems, for example, be sure you
have the 'kernel-source' rpm installed. If you know the correct
kernel source files are installed, you may specify the kernel source
path with the '--kernel-source-path' commandline option.
I am new to this linux thing, sorry if it is a stupid qouestion. but how do i resolve this?
I am running dapper, kernel 2.6.15-26-386
appreciate any help.
Edit: never mind... i fixed it
I noticed an issue which I had in previous Debian Sarge installations has just reappeared in Ubuntu, and I think it has something to do with the nvsound driver.
It appears that when I adjust the speaker configuration from 5.1 (my usual setup) to 2.0 , the stream that I am playing (usually digital TV or internet radio) will start constantly cutting out. But if I switch back to 5.1 mode and reboot, the problem goes away (I'm guessing it might also go away if I unload and reload nvsound, but I haven't tried that).
A bit more info about my setup -
Custom 2.6.17 kernel from kernel.org + 'ck' patches
nvsound as per this howto
all alsa modules/utilities disabled
nforce2 soundstorm
Creative DTT2500 5.1 Digital Speakers (primary output - S/PDIF))
stereo amp w/ 2 analogue speakers plugged into line out
Whenever I want to use the analogue speakers (usually for digital TV via TV-out) I have been changing the speaker setup in nvmixer to 2.0. This isn't strictly necessary, though, it's just a habit I've got into (I think now it's one I should get out of :) )
But the driver should be able to handle config changes on the fly, shouldn't it? The thing is, I don't see any helpful output in dmesg, other than the usual messages about upsampling or 'Unable to change the Channel, set back to Stereo', depending on the circumstances.
Maybe there is some verbose mode in the driver which could be turned on? If so, how?
Anyway, does anybody else notice this, know what's causing it, and/or know a way to fix it?
EDIT: Ignore this. The issue is not related to the nvsound driver. I haven't nailed it down 100% but it appears to be network/streaming related. It happened again recently when I was experimenting with getting some windows-designed web streams to run with various linux apps. Somehow my settings became corrupted and then my streams went into the constant rebuffering mentioned above. I couldn't be bothered spending time to troubleshoot it properly so I just reloaded my system from a partition image and was back to normal in no time. Lesson learned - download pod/vodcasts where possible instead of live streaming.
I cann't compile it, under kernel 2.6.18, here the log:
1)On Mandriva2005
2)On PClinuxOS-0.93aCode:nforce-installer log file '/var/log/nvidia-nforce-installer.log'
creation time: Sat Sep 30 15:42:44 2006
option status:
license pre-accepted : false
expert : false
uninstall : false
driver info : false
no precompiled interface : false
no ncurses color : false
no questions : false
silent : false
Installer install prefix : /usr
kernel source path : (not specified)
net kernel install path : (not specified)
audio kernel install path : (not specified)
proc mount point : /proc
ui : (not specified)
tmpdir : /root/tmp
Using: nvidia-installer ncurses user interface
-> Found package NVIDIA audio driver for Linux-x86
-> Found package NVIDIA network driver for Linux-x86
-> Please select packages for installation:
Selections:
NVIDIA audio driver for Linux-x86 (1.0-7)
-> Starting install of NVIDIA audio driver for Linux-x86
-> Checking for loaded module nvsound
-> Checking for loaded module nvaudio
-> License accepted.
-> Skipping check for conflicting rpms.
-> There appears to already be an audio driver installed on your system (versio
n: 1.0-7). As part of installing this driver (version: 1.0-7), the existing
driver will be uninstalled. Are you sure you want to continue? ('no' will a
bort installation) (Answer: Yes)
-> /proc/version is Linux version 2.6.18 (root@localhost) (gcc version 3.4.3
(Mandrakelinux 10.2 3.4.3-7mdk)) #1 Sat Sep 30 14:52:36 WIT 2006
-> No precompiled kernel interface was found to match your kernel; this means
that the installer will need to compile a new kernel interface.
-> Kernel source path: '/lib/modules/2.6.18/source'
-> Kernel output path: '/lib/modules/2.6.18/build'
-> Performing cc_version_check with CC="cc".
-> running command /bin/grep "^PATCHLEVEL ="
/lib/modules/2.6.18/source/Makefile | /bin/cut -d " " -f 3
-> Kernel module filename is nvsound.ko
Cleaning kernel module build directory.
executing: 'cd ./nvsound/main; make clean'...
rm -f *.ko *mod.* *.cmd nv*.o *~ core
-> Building kernel module:
executing: 'cd ./nvsound/main; make module SYSSRC=/lib/modules/2.6.18/source
SYSOUT=/lib/modules/2.6.18/build'...
make -C /lib/modules/2.6.18/build \
KBUILD_SRC=/usr/src/linux-2.6.18 \
KBUILD_EXTMOD="/os/data-1/ftp/pub/SystemDanDriver/NFORCE-Linux-x86-1.0-0310-
pkg1/nvsound/main" -f /usr/src/linux-2.6.18/Makefile modules
test -e include/linux/autoconf.h -a -e include/config/auto.conf || ( \
echo; \
echo " ERROR: Kernel configuration is invalid."; \
echo " include/linux/autoconf.h or include/config/auto.conf are miss
ing."; \
echo " Run 'make oldconfig && make prepare' on kernel src to fix it.
"; \
echo; \
/bin/false)
mkdir -p /os/data-1/ftp/pub/SystemDanDriver/NFORCE-Linux-x86-1.0-0310-pkg1/n
vsound/main/.tmp_versions
rm -f /os/data-1/ftp/pub/SystemDanDriver/NFORCE-Linux-x86-1.0-0310-pkg1/nvso
und/main/.tmp_versions/*
make -f /usr/src/linux-2.6.18/scripts/Makefile.build obj=/os/data-1/ftp/pub/
SystemDanDriver/NFORCE-Linux-x86-1.0-0310-pkg1/nvsound/main
cc -Wp,-MD,/os/data-1/ftp/pub/SystemDanDriver/NFORCE-Linux-x86-1.0-0310-pk
g1/nvsound/main/.nvalinux.o.d -nostdinc -isystem /usr/lib/gcc/i586-mandrake
-linux-gnu/3.4.3/include -D__KERNEL__ -Iinclude -Iinclude2 -I/usr/src/linux-
2.6.18/include -include include/linux/autoconf.h -I/os/data-1/ftp/pub/Syste
mDanDriver/NFORCE-Linux-x86-1.0-0310-pkg1/nvsound/main -Wall -Wundef -Wstric
t-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -O2 -pipe -msof
t-float -mpreferred-stack-boundary=2 -fno-unit-at-a-time -march=i686 -ffrees
tanding -I/usr/src/linux-2.6.18/include/asm-i386/mach-default -Iinclude/asm-
i386/mach-default -fno-omit-frame-pointer -fno-optimize-sibling-calls -Wdecl
aration-after-statement -I/os/data-1/ftp/pub/SystemDanDriver/NFORCE-Linux-x
86-1.0-0310-pkg1/nvsound/main -O3 -Wall -march=athlon-xp -mtune=athlon-xp -W
implicit -Wreturn-type -Wswitch -Wformat -Wchar-subscripts -Wparentheses -Wp
ointer-arith -Wno-multichar -Werror -O -MD -Wno-cast-qual -Wno-error -DNV_RE
MAP_PFN_RANGE_PRESENT -DNV_CHANGE_PAGE_ATTR_PRESENT -DMODULE -D"KBUILD_STR(s
)=#s" -D"KBUILD_BASENAME=KBUILD_STR(nvalinux)" -D"KBUILD_MODNAME=KBUILD_STR
(nvsound)" -c -o /os/data-1
/ftp/pub/SystemDanDriver/NFORCE-Linux-x86-1.0-0310-pkg1/nvsound/main/nvalinu
x.o /os/data-1/ftp/pub/SystemDanDriver/NFORCE-Linux-x86-1.0-0310-pkg1/nvsoun
d/main/nvalinux.c
In file included from include/linux/list.h:8,
from include/linux/lockdep.h:12,
from include/linux/spinlock_types.h:12,
from include/linux/spinlock.h:78,
from include/linux/capability.h:45,
from include/linux/sched.h:44,
from include/linux/module.h:9,
from /os/data-1/ftp/pub/SystemDanDriver/NFORCE-Linux-x86-1.
0-0310-pkg1/nvsound/main/nvalinux.c:19:
include/linux/prefetch.h: In function `prefetch_range':
include/linux/prefetch.h:62: warning: pointer of type `void *' used in arith
metic
In file included from /os/data-1/ftp/pub/SystemDanDriver/NFORCE-Linux-x86-1.
0-0310-pkg1/nvsound/main/nvalinux.c:25:
include/asm/io.h: In function `check_signature':
include/asm/io.h:245: warning: wrong type argument to increment
cc -Wp,-MD,/os/data-1/ftp/pub/SystemDanDriver/NFORCE-Linux-x86-1.0-0310-pk
g1/nvsound/main/.nvmixer.o.d -nostdinc -isystem /usr/lib/gcc/i586-mandrake-
linux-gnu/3.4.3/include -D__KERNEL__ -Iinclude -Iinclude2 -I/usr/src/linux-2
.6.18/include -include include/linux/autoconf.h -I/os/data-1/ftp/pub/System
DanDriver/NFORCE-Linux-x86-1.0-0310-pkg1/nvsound/main -Wall -Wundef -Wstrict
-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -O2 -pipe -msoft
-float -mpreferred-stack-boundary=2 -fno-unit-at-a-time -march=i686 -ffreest
anding -I/usr/src/linux-2.6.18/include/asm-i386/mach-default -Iinclude/asm-i
386/mach-default -fno-omit-frame-pointer -fno-optimize-sibling-calls -Wdecla
ration-after-statement -I/os/data-1/ftp/pub/SystemDanDriver/NFORCE-Linux-x8
6-1.0-0310-pkg1/nvsound/main -O3 -Wall -march=athlon-xp -mtune=athlon-xp -Wi
mplicit -Wreturn-type -Wswitch -Wformat -Wchar-subscripts -Wparentheses -Wpo
inter-arith -Wno-multichar -Werror -O -MD -Wno-cast-qual -Wno-error -DNV_REM
AP_PFN_RANGE_PRESENT -DNV_CHANGE_PAGE_ATTR_PRESENT -DM
ODULE -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(nvmixer)" -D"KBUIL
D_MODNAME=KBUILD_STR(nvsound)" -c -o /os/data-1/ftp/pub/SystemDanDriver/NFOR
CE-Linux-x86-1.0-0310-pkg1/nvsound/main/nvmixer.o /os/data-1/ftp/pub/SystemD
anDriver/NFORCE-Linux-x86-1.0-0310-pkg1/nvsound/main/nvmixer.c
In file included from include/linux/list.h:8,
from include/linux/lockdep.h:12,
from include/linux/spinlock_types.h:12,
from include/linux/spinlock.h:78,
from include/linux/capability.h:45,
from include/linux/sched.h:44,
from /os/data-1/ftp/pub/SystemDanDriver/NFORCE-Linux-x86-1.
0-0310-pkg1/nvsound/main/nvhw.h:29,
from /os/data-1/ftp/pub/SystemDanDriver/NFORCE-Linux-x86-1.
0-0310-pkg1/nvsound/main/nvmixer.c:14:
include/linux/prefetch.h: In function `prefetch_range':
include/linux/prefetch.h:62: warning: pointer of type `void *' used in arith
metic
In file included from include/linux/dmapool.h:14,
from include/linux/pci.h:564,
from /os/data-1/ftp/pub/SystemDanDriver/NFORCE-Linux-x86-1.
0-0310-pkg1/nvsound/main/nvhw.h:35,
from /os/data-1/ftp/pub/SystemDanDriver/NFORCE-Linux-x86-1.
0-0310-pkg1/nvsound/main/nvmixer.c:14:
include/asm/io.h: In function `check_signature':
include/asm/io.h:245: warning: wrong type argument to increment
cc -Wp,-MD,/os/data-1/ftp/pub/SystemDanDriver/NFORCE-Linux-x86-1.0-0310-pk
g1/nvsound/main/.nvmain.o.d -nostdinc -isystem /usr/lib/gcc/i586-mandrake-l
inux-gnu/3.4.3/include -D__KERNEL__ -Iinclude -Iinclude2 -I/usr/src/linux-2.
6.18/include -include include/linux/autoconf.h -I/os/data-1/ftp/pub/SystemD
anDriver/NFORCE-Linux-x86-1.0-0310-pkg1/nvsound/main -Wall -Wundef -Wstrict-
prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -O2 -pipe -msoft-
float -mpreferred-stack-boundary=2 -fno-unit-at-a-time -march=i686 -ffreesta
nding -I/usr/src/linux-2.6.18/include/asm-i386/mach-default -Iinclude/asm-i3
86/mach-default -fno-omit-frame-pointer -f
no-optimize-sibling-calls -Wdeclaration-after-statement -I/os/data-1/ftp/pu
b/SystemDanDriver/NFORCE-Linux-x86-1.0-0310-pkg1/nvsound/main -O3 -Wall -mar
ch=athlon-xp -mtune=athlon-xp -Wimplicit -Wreturn-type -Wswitch -Wformat -Wc
har-subscripts -Wparentheses -Wpointer-arith -Wno-multichar -Werror -O -MD -
Wno-cast-qual -Wno-error -DNV_REMAP_PFN_RANGE_PRESENT -DNV_CHANGE_PAGE_ATTR_
PRESENT -DMODULE -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(nvmain)"
-D"KBUILD_MODNAME=KBUILD_STR(nvsound)" -c -o /os/data-1/ftp/pub/SystemDanDr
iver/NFORCE-Linux-x86-1.0-0310-pkg1/nvsound/main/nvmain.o /os/data-1/ftp/pub
/SystemDanDriver/NFORCE-Linux-x86-1.0-0310-pkg1/nvsound/main/nvmain.c
In file included from include/linux/list.h:8,
from include/linux/lockdep.h:12,
from include/linux/spinlock_types.h:12,
from include/linux/spinlock.h:78,
from include/linux/capability.h:45,
from include/linux/sched.h:44,
from include/linux/module.h:9,
from /os/data-1/ftp/pub/SystemDanDriver/NFORCE-Linux-x86-1.
0-0310-pkg1/nvsound/main/nvmain.c:27:
include/linux/prefetch.h: In function `prefetch_range':
include/linux/prefetch.h:62: warning: pointer of type `void *' used in arith
metic
In file included from include/linux/dmapool.h:14,
from include/linux/pci.h:564,
from /os/data-1/ftp/pub/SystemDanDriver/NFORCE-Linux-x86-1.
0-0310-pkg1/nvsound/main/nvhw.h:35,
from /os/data-1/ftp/pub/SystemDanDriver/NFORCE-Linux-x86-1.
0-0310-pkg1/nvsound/main/nvmain.c:29:
include/asm/io.h: In function `check_signature':
include/asm/io.h:245: warning: wrong type argument to increment
/os/data-1/ftp/pub/SystemDanDriver/NFORCE-Linux-x86-1.0-0310-pkg1/nvsound/ma
in/nvmain.c: At top level:
/os/data-1/ftp/pub/SystemDanDriver/NFORCE-Linux-x86-1.0-0310-pkg1/nvsound/ma
in/nvmain.c:2190: error: syntax error before string constant
/os/data-1/ftp/pub/SystemDanDriver/NFORCE-Linux-x86-1.0-0310-pkg1/nvsound/ma
in/nvmain.c:2190: warning: type defaults to `int' in declaration of `MODULE_
PARM'
/os/data-1/ftp/pub/SystemDanDriver/NFORCE-Linux-x86-1.0-0310-pkg1/nvsound/ma
in/nvmain.c:2190: warning: function declaration isn't a prototype
/os/data-1/ftp/pub/SystemDanDriver/NFORCE-Linux-x86-1.0-0310-pkg1/nvsound/ma
in/nvmain.c:2190: warning: data definition has no type or storage class
make[4]: *** [/os/data-1/ftp/pub/SystemDanDriver/NFORCE-Linux-x86-1.0-0310-p
kg1/nvsound/main/nvmain.o] Error 1
make[3]: *** [_module_/os/data-1/ftp/pub/SystemDanDriver/NFORCE-Linux-x86-1.
0-0310-pkg1/nvsound/main] Error 2
make[2]: *** [modules] Error 2
-> Error.
ERROR: The NVIDIA kernel module was not created.
ERROR: Installation of the audio driver has failed. Please see the file
'/var/log/nvidia-nforce-installer.log' for details. You may find
suggestions on fixing installation problems in the README available on
the Linux driver download page at www.nvidia.com.
I'am not using Ubuntu, I'am using Mandriva 2005 and PClinuxOS-0.93a.Code:nforce-installer log file '/var/log/nvidia-nforce-installer.log'
creation time: Sat Sep 30 18:00:13 2006
option status:
license pre-accepted : false
expert : false
uninstall : false
driver info : false
no precompiled interface : true
no ncurses color : false
no questions : false
silent : false
Installer install prefix : /usr
kernel source path : (not specified)
net kernel install path : (not specified)
audio kernel install path : (not specified)
proc mount point : /proc
ui : (not specified)
tmpdir : /root/tmp
Using: nvidia-installer ncurses user interface
-> Found package NVIDIA audio driver for Linux-x86
-> Found package NVIDIA network driver for Linux-x86
-> Please select packages for installation:
Selections:
NVIDIA audio driver for Linux-x86 (1.0-7)
-> Starting install of NVIDIA audio driver for Linux-x86
-> Checking for loaded module nvsound
-> Checking for loaded module nvaudio
-> Trying to remove loaded module nvsound
ERROR: An NVIDIA audio driver module 'nvsound' appears to already be loaded in
your kernel, possibly because it is in use. Please be sure you have
exited any audio applications and unloaded the driver before attempting
to upgrade your driver. If you have trouble unloading the driver, it is
likely that an error has occured that has confused the usage count of
the kernel module; the simplest remedy is to reboot your computer.
-> License accepted.
-> Skipping check for conflicting rpms.
-> Not probing for precompiled kernel interfaces.
-> Kernel source path: '/lib/modules/2.6.18/source'
-> Kernel output path: '/lib/modules/2.6.18/build'
-> running command /bin/grep "^PATCHLEVEL ="
/lib/modules/2.6.18/source/Makefile | /bin/cut -d " " -f 3
-> Kernel module filename is nvsound.ko
Cleaning kernel module build directory.
executing: 'cd ./nvsound/main; make clean'...
rm -f *.ko *mod.* *.cmd nv*.o *~ core
-> Building kernel module:
executing: 'cd ./nvsound/main; make module SYSSRC=/lib/modules/2.6.18/source
SYSOUT=/lib/modules/2.6.18/build'...
make -C /lib/modules/2.6.18/build \
KBUILD_SRC=/os/linux/usr/src/linux-2.6.18 \
KBUILD_EXTMOD="/os/data-1/ftp/pub/SystemDanDriver/NFORCE-Linux-x86-1.0-0310-
pkg1/nvsound/main" -f /os/linux/usr/src/linux-2.6.18/Makefile modules
test -e include/linux/autoconf.h -a -e include/config/auto.conf || ( \
echo; \
echo " ERROR: Kernel configuration is invalid."; \
echo " include/linux/autoconf.h or include/config/auto.conf are miss
ing."; \
echo " Run 'make oldconfig && make prepare' on kernel src to fix it.
"; \
echo; \
/bin/false)
mkdir -p /os/data-1/ftp/pub/SystemDanDriver/NFORCE-Linux-x86-1.0-0310-pkg1/n
vsound/main/.tmp_versions
rm -f /os/data-1/ftp/pub/SystemDanDriver/NFORCE-Linux-x86-1.0-0310-pkg1/nvso
und/main/.tmp_versions/*
make -f /os/linux/usr/src/linux-2.6.18/scripts/Makefile.build obj=/os/data-1
/ftp/pub/SystemDanDriver/NFORCE-Linux-x86-1.0-0310-pkg1/nvsound/main
cc -Wp,-MD,/os/data-1/ftp/pub/SystemDanDriver/NFORCE-Linux-x86-1.0-0310-pk
g1/nvsound/main/.nvalinux.o.d -nostdinc -isystem /usr/lib/gcc-lib/i586-mand
rake-linux-gnu/3.3.1/include -D__KERNEL__ -Iinclude -Iinclude2 -I/os/linux/u
sr/src/linux-2.6.18/include -include include/linux/autoconf.h -I/os/data-1/
ftp/pub/SystemDanDriver/NFORCE-Linux-x86-1.0-0310-pkg1/nvsound/main -Wall -W
undef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -O
2 -pipe -msoft-float -mpreferred-stack-boundary=2 -fno-unit-at-a-time -march
=i686 -ffreestanding -I/os/linux/usr/src/linux-2.6.18/include/asm-i386/mach-
default -Iinclude/asm-i386/mach-default -fno-omit-frame-pointer -fno-optimiz
e-sibling-calls -I/os/data-1/ftp/pub/SystemDanDriver/NFORCE-Linux-x86-1.0-0
310-pkg1/nvsound/main -O3 -Wall -Wimplicit -Wreturn-type -Wswitch -Wformat -
Wchar-subscripts -Wparentheses -Wpointer-arith -Wno-multichar -Werror -O -MD
-Wno-cast-qual -Wno-error -DNV_REMAP_PFN_RANGE_PRESENT -DNV_CHANGE_PAGE_ATTR
_PRESENT -DMODULE -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(nvalinu
x)" -D"KBUILD_MODNAME=KBUILD_STR(nvsound)" -c -o /os/data-1/ftp/pub/System
DanDriver/NFORCE-Linux-x86-1.0-0310-pkg1/nvsound/main/nvalinux.o /os/data-1/
ftp/pub/SystemDanDriver/NFORCE-Linux-x86-1.0-0310-pkg1/nvsound/main/nvalinux
.c
In file included from include/linux/list.h:8,
from include/linux/lockdep.h:12,
from include/linux/spinlock_types.h:12,
from include/linux/spinlock.h:78,
from include/linux/capability.h:45,
from include/linux/sched.h:44,
from include/linux/module.h:9,
from /os/data-1/ftp/pub/SystemDanDriver/NFORCE-Linux-x86-1.
0-0310-pkg1/nvsound/main/nvalinux.c:19:
include/linux/prefetch.h: In function `prefetch_range':
include/linux/prefetch.h:62: warning: pointer of type `void *' used in arith
metic
In file included from /os/data-1/ftp/pub/SystemDanDriver/NFORCE-Linux-x86-1.
0-0310-pkg1/nvsound/main/nvalinux.c:25:
include/asm/io.h: In function `check_signature':
include/asm/io.h:245: warning: wrong type argument to increment
cc -Wp,-MD,/os/data-1/ftp/pub/SystemDanDriver/NFORCE-Linux-x86-1.0-0310-pk
g1/nvsound/main/.nvmixer.o.d -nostdinc -isystem /usr/lib/gcc-lib/i586-mandr
ake-linux-gnu/3.3.1/include -D__KERNEL__ -Iinclude -Iinclude2 -I/os/linux/us
r/src/linux-2.6.18/include -include include/linux/autoconf.h -I/os/data-1/f
tp/pub/SystemDanDriver/NFORCE-Linux-x86-1.0-0310-pkg1/nvsound/main -Wall -Wu
ndef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -O2
-pipe -msoft-float -mpreferred-stack-boundary=2 -fno-unit-at-a-time -march=i
686 -ffreestanding -I/os/linux/usr/src/linux-2.6.18/include/asm-i386/mach-de
fault -Iinclude/asm-i386/mach-default -fno-omit-frame-pointer -fno-optimize-
sibling-calls -I/os/data-1/ftp/pub/SystemDanDriver/NFORCE-Linux-x86-1.0-031
0-pkg1/nvsound/main -O3 -Wall -Wimplicit -Wreturn-type -Wswitch -Wformat -Wc
har-subscripts -Wparentheses -Wpointer-arith -Wno-multichar -Werror -O -MD -
Wno-cast-qual -Wno-error -DNV_REMAP_PFN_RANGE_PRESENT -DNV_CHANGE_PAGE_ATTR_
PRESENT -DMODULE -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(
nvmixer)" -D"KBUILD_MODNAME=KBUILD_STR(nvsound)" -c -o /os/data-1/ftp/pub/S
ystemDanDriver/NFORCE-Linux-x86-1.0-0310-pkg1/nvsound/main/nvmixer.o /os/dat
a-1/ftp/pub/SystemDanDriver/NFORCE-Linux-x86-1.0-0310-pkg1/nvsound/main/nvmi
xer.c
In file included from include/linux/list.h:8,
from include/linux/lockdep.h:12,
from include/linux/spinlock_types.h:12,
from include/linux/spinlock.h:78,
from include/linux/capability.h:45,
from include/linux/sched.h:44,
from /os/data-1/ftp/pub/SystemDanDriver/NFORCE-Linux-x86-1.
0-0310-pkg1/nvsound/main/nvhw.h:29,
from /os/data-1/ftp/pub/SystemDanDriver/NFORCE-Linux-x86-1.
0-0310-pkg1/nvsound/main/nvmixer.c:14:
include/linux/prefetch.h: In function `prefetch_range':
include/linux/prefetch.h:62: warning: pointer of type `void *' used in arith
metic
In file included from include/linux/dmapool.h:14,
from include/linux/pci.h:564,
from /os/data-1/ftp/pub/SystemDanDriver/NFORCE-Linux-x86-1.
0-0310-pkg1/nvsound/main/nvhw.h:35,
from /os/data-1/ftp/pub/SystemDanDriver/NFORCE-Linux-x86-1.
0-0310-pkg1/nvsound/main/nvmixer.c:14:
include/asm/io.h: In function `check_signature':
include/asm/io.h:245: warning: wrong type argument to increment
cc -Wp,-MD,/os/data-1/ftp/pub/SystemDanDriver/NFORCE-Linux-x86-1.0-0310-pk
g1/nvsound/main/.nvmain.o.d -nostdinc -isystem /usr/lib/gcc-lib/i586-mandra
ke-linux-gnu/3.3.1/include -D__KERNEL__ -Iinclude -Iinclude2 -I/os/linux/usr
/src/linux-2.6.18/include -include include/linux/autoconf.h -I/os/data-1/ft
p/pub/SystemDanDriver/NFORCE-Linux-x86-1.0-0310-pkg1/nvsound/main -Wall -Wun
def -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -O2
-pipe -msoft-float -mpreferred-stack-boundary=2 -fno-unit-at-a-time -march=i
686 -ffreestanding -I/os/linux/usr/src/linux-2.6.18/include/asm-i386/mach-de
fault -Iinclude/asm-i386/mach-default -fno-omit-frame-pointer -fno-optimize-
sibling-calls -I/os/da
ta-1/ftp/pub/SystemDanDriver/NFORCE-Linux-x86-1.0-0310-pkg1/nvsound/main -O3
-Wall -Wimplicit -Wreturn-type -Wswitch -Wformat -Wchar-subscripts -Wparenth
eses -Wpointer-arith -Wno-multichar -Werror -O -MD -Wno-cast-qual -Wno-error
-DNV_REMAP_PFN_RANGE_PRESENT -DNV_CHANGE_PAGE_ATTR_PRESENT -DMODULE -D"KBUIL
D_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(nvmain)" -D"KBUILD_MODNAME=KBUIL
D_STR(nvsound)" -c -o /os/data-1/ftp/pub/SystemDanDriver/NFORCE-Linux-x86-1.
0-0310-pkg1/nvsound/main/nvmain.o /os/data-1/ftp/pub/SystemDanDriver/NFORCE-
Linux-x86-1.0-0310-pkg1/nvsound/main/nvmain.c
In file included from include/linux/list.h:8,
from include/linux/lockdep.h:12,
from include/linux/spinlock_types.h:12,
from include/linux/spinlock.h:78,
from include/linux/capability.h:45,
from include/linux/sched.h:44,
from include/linux/module.h:9,
from /os/data-1/ftp/pub/SystemDanDriver/NFORCE-Linux-x86-1.
0-0310-pkg1/nvsound/main/nvmain.c:27:
include/linux/prefetch.h: In function `prefetch_range':
include/linux/prefetch.h:62: warning: pointer of type `void *' used in arith
metic
In file included from include/linux/dmapool.h:14,
from include/linux/pci.h:564,
from /os/data-1/ftp/pub/SystemDanDriver/NFORCE-Linux-x86-1.
0-0310-pkg1/nvsound/main/nvhw.h:35,
from /os/data-1/ftp/pub/SystemDanDriver/NFORCE-Linux-x86-1.
0-0310-pkg1/nvsound/main/nvmain.c:29:
include/asm/io.h: In function `check_signature':
include/asm/io.h:245: warning: wrong type argument to increment
/os/data-1/ftp/pub/SystemDanDriver/NFORCE-Linux-x86-1.0-0310-pkg1/nvsound/ma
in/nvmain.c: At top level:
/os/data-1/ftp/pub/SystemDanDriver/NFORCE-Linux-x86-1.0-0310-pkg1/nvsound/ma
in/nvmain.c:2191: error: syntax error before "int"
/os/data-1/ftp/pub/SystemDanDriver/NFORCE-Linux-x86-1.0-0310-pkg1/nvsound/ma
in/nvmain.c:2191: warning: type defaults to `int' in declaration of `module_
parm'
/os/data-1/ftp/pub/SystemDanDriver/NFORCE-Linux-x86-1.0-0310-pkg1/nvsound/ma
in/nvmain.c:2191: warning: function declaration isn't a prototype
/os/data-1/ftp/pub/SystemDanDriver/NFORCE-Linux-x86-1.0-0310-pkg1/nvsound/ma
in/nvmain.c:2191: warning: data definition has no type or storage class
make[4]: *** [/os/data-1/ftp/pub/SystemDanDriver/NFORCE-Linux-x86-1.0-0310-p
kg1/nvsound/main/nvmain.o] Error 1
make[3]: *** [_module_/os/data-1/ftp/pub/SystemDanDriver/NFORCE-Linux-x86-1.
0-0310-pkg1/nvsound/main] Error 2
make[2]: *** [modules] Error 2
-> Error.
ERROR: The NVIDIA kernel module was not created.
ERROR: Installation of the audio driver has failed. Please see the file
'/var/log/nvidia-nforce-installer.log' for details. You may find
suggestions on fixing installation problems in the README available on
the Linux driver download page at www.nvidia.com.
In Mandriva 2005, i use gcc-3.4.3, but in PClinuxOS. I use gcc 3.3.1
My Motherboard using nforce2 mcp-t.
If you need more information, i will give you.
Please, help me to compile it.
Thanks before.
Best Regrads
Teguh
nb: Sory for my bad english.