[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: nVIdia nForce make error



On Tue, Jan 07, 2003 at 03:46:53PM +0000, Tim wrote:
> Hi,
> 
> I'm trying to install drivers for the nforce chip, for audio, OHCI USB 
> and ethernet.  I've downloaded the tar file for drivers from the nVidia 
> website.  After tar xvzf, I enter the created directory and run make 
> which stops with the following error:
> 
> make -C nvnet
> make[1]: Entering directory `/home/tim/tmp/nforce/nvnet'
> cc -c -DLINUX -DMODULE -DEXPORT_SYMTAB -D__KERNEL__ -O 
> -Wstrict-prototypes -DCONFIG_PM -fno-strict-aliasing 
> -mpreferred-stack-boundary=2 -march=i686 -falign-functions=4 -DMODULE 
> -I/lib/modules/2.4.18/build/include   -DMODVERSIONS -include 
> /lib/modules/2.4.18/build/include/linux/modversions.h nvnet.c
> cc1: Invalid option `-falign-functions=4'
> make[1]: *** [nvnet.o] Error 1
> make[1]: Leaving directory `/home/tim/tmp/nforce/nvnet'
> make: *** [nvnet_make] Error 2
> 
> I'm running Debian Woody 3.0r0, with a 2.4.18 kernel.  This chip is on 
> an ASUS motherboard, A7N266-VM.
> 
> Does anyone have suggestions as to the cause and solution to this?

Looks like your version of gcc doesn't like that '=falign-functions=4'
option.  You'll need to install gcc >= 3.0 and try again using it.
Surely nvidia documents this though?

-rob

Attachment: pgpSNpYnlQUPK.pgp
Description: PGP signature


Reply to: