nV News Forums

 
 

nV News Forums (http://www.nvnews.net/vbulletin/index.php)
-   General Linux (http://www.nvnews.net/vbulletin/forumdisplay.php?f=27)
-   -   New(ish) nforce version 0246 driver building fails on debian woody (http://www.nvnews.net/vbulletin/showthread.php?t=3741)

SadMac 11-07-02 05:55 AM

New(ish) nforce version 0246 driver building fails on debian woody
 
I'm trying to build the latest nforce drivers (0246) on a debian woody box with an MSI K7N-420D.

I'm using GCC '2.95.4'.

The following messages are produced when compiling:

Code:

yellowbox:/usr/src/nforce# make
make -C  nvnet
make[1]: Entering directory `/usr/src/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.19/build/include  -DMODVERSIONS -include /lib/modules/2.4.19/build/include/linux/modversions.h nvnet.c
cc1: Invalid option `-falign-functions=4'
make[1]: *** [nvnet.o] Error 1
make[1]: Leaving directory `/usr/src/nforce/nvnet'
make: *** [nvnet_make] Error 2

Now this error makes me think there's either something wrong with my GCC or that the Makefile is wrong. Has anyone else had this problem and fixed it, or anyone know what to do about it?

SadMac 11-07-02 06:02 AM

Hmm. Solved my own problem by looking at the old version of the driver source. For some reason NVidia has used -falign instead of -malign. So I just changed one to the other. I think someone better change this on the download.


All times are GMT -5. The time now is 03:26 AM.

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