Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
emerge nforce-audio error
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
hellfire.b
n00b
n00b


Joined: 16 Feb 2005
Posts: 9

PostPosted: Wed Feb 16, 2005 3:29 am    Post subject: emerge nforce-audio error Reply with quote

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
View user's profile Send private message
Gauss_Cleric
Tux's lil' helper
Tux's lil' helper


Joined: 30 Aug 2004
Posts: 85

PostPosted: Wed Feb 16, 2005 3:38 am    Post subject: Reply with quote

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
View user's profile Send private message
nmcsween
Guru
Guru


Joined: 12 Nov 2003
Posts: 381

PostPosted: Wed Feb 16, 2005 10:59 am    Post subject: Reply with quote

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
View user's profile Send private message
cylgalad
Veteran
Veteran


Joined: 18 Apr 2003
Posts: 1327
Location: France

PostPosted: Wed Feb 16, 2005 11:17 am    Post subject: Reply with quote

Or use alsa...
Back to top
View user's profile Send private message
Crazy Fucker
n00b
n00b


Joined: 20 Feb 2005
Posts: 11
Location: Belgium

PostPosted: Mon Feb 21, 2005 6:06 pm    Post subject: Reply with quote

I've had the same problem for a long time, and here's the solution for the nforce-audio driver :lol:

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 :wink:
For now I van only get the 2 main channels working, not the 5.1 but hardware mixing works perfectly


greets
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