SadMac
11-07-02, 06:55 AM
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:
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?
I'm using GCC '2.95.4'.
The following messages are produced when compiling:
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?