- General Linux
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:
make -C nvnet
make: 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: *** [nvnet.o] Error 1
make: 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?
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 01:37 PM.
Powered by vBulletin® Version 3.7.1
Copyright ©2000 - 2015, Jelsoft Enterprises Ltd.
Copyright ©1998 - 2014, nV News.