View previous topic :: View next topic |
Author |
Message |
hellfire.b n00b
Joined: 16 Feb 2005 Posts: 9
|
Posted: Wed Feb 16, 2005 3:29 am Post subject: emerge nforce-audio error |
|
|
When I run
Code: | emerge nforce-audio |
The error is
Code: | >>> Source unpacked.
make nvaudio.o
make[1]: Entering directory `/var/tmp/portage/nforce-audio-1.0.0261/work/nforce/nvaudio'
cc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O -fno-strict-aliasing -mpreferred-stack-boundary=2 -march=x86_64 -falign-functions=4 -DMODULE -DREMAP_NEW -c -o nvhw.o nvhw.c
nvhw.c:1: error: bad value (x86_64) for -march= switch
nvhw.c:1: error: bad value (x86_64) for -mtune= switch
nvhw.c:1: error: -mpreferred-stack-boundary=2 is not between 4 and 12
make[1]: *** [nvhw.o] Error 1
make[1]: Leaving directory `/var/tmp/portage/nforce-audio-1.0.0261/work/nforce/nvaudio'
make: *** [all] Error 2
!!! ERROR: media-sound/nforce-audio-1.0.0261 failed.
!!! Function src_compile, Line 27, Exitcode 2
!!! (no error message)
!!! If you need support, post the topmost build error, NOT this status message. |
_________________ Thz for the help HELLFIRE.B |
|
Back to top |
|
|
Gauss_Cleric Tux's lil' helper
Joined: 30 Aug 2004 Posts: 85
|
Posted: Wed Feb 16, 2005 3:38 am Post subject: |
|
|
In my case the emerge runs ok but it does not create de module!! Also, if I run the distfile directory (wich is an executable) I get the prety ncurses interface but when it begins to compile the new kernel interface it return an error. I think it will be a while before the package will be stable. |
|
Back to top |
|
|
nmcsween Guru
Joined: 12 Nov 2003 Posts: 381
|
Posted: Wed Feb 16, 2005 10:59 am Post subject: |
|
|
Quote: | nvhw.c:1: error: -mpreferred-stack-boundary=2 is not between 4 and 12 |
change your cflags or hack the ebuild _________________ Great Resources |
|
Back to top |
|
|
cylgalad Veteran
Joined: 18 Apr 2003 Posts: 1327 Location: France
|
Posted: Wed Feb 16, 2005 11:17 am Post subject: |
|
|
Or use alsa... |
|
Back to top |
|
|
Crazy Fucker n00b
Joined: 20 Feb 2005 Posts: 11 Location: Belgium
|
Posted: Mon Feb 21, 2005 6:06 pm Post subject: |
|
|
I've had the same problem for a long time, and here's the solution for the nforce-audio driver
first you've got to enable oss emulation in in the kernel and disable alsa,
also you have to enable oss module support
make sure you disable all alsa support
rc-update del alsasound default
download the NFORCE package directly from the site nvidia
Extract the NFORCE package with:
sh NFORCE-Linux-x86-1.0-0292-pkg1.run -xrun -0292-pkg1.run -x
Open NFORCE-Linux-x86-1.0-0292-pkg1/nvsound/main/Makefile
goto line 54 comment the ifeq ($(REMAP_PAGE_RANGE),5)
and on line 56 the endif so you get:
#ifeq ($(REMAP_PAGE_RANGE),5)
EXTRA_CFLAGS += -DREMAP_NEW
#endif
now run:
make
make install
depmod -a
modprobe nvsound
have fun with it
For now I van only get the 2 main channels working, not the 5.1 but hardware mixing works perfectly
greets |
|
Back to top |
|
|
|