Intel iANS module error
Hi,
I have built the ians module for teaming my Intel Corporation 82541GI/PI Gigabit Ethernet Controller via... make make install However when i try to install it I get the following error: # insmod ians Using /lib/modules/2.4.29/kernel/drivers/net/ians.o /lib/modules/2.4.29/kernel/drivers/net/ians.o: The module you are trying to load (/lib/modules/2.4.29/kernel/drivers/net/ians.o) is compiled with a gcc version 2 compiler, while the kernel you are running is compiled with a gcc version 3 compiler. This is known to not work I checked via... # gcc -v Reading specs from /usr/lib/gcc-lib/i486-linux/3.3.5/specs Configured with: ../src/configure -v --enable-languages=c,c++,java,f77,pascal,objc,ada,treelang --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --with-gxx-include-dir=/usr/include/c++/3.3 --enable-shared --enable-__cxa_atexit --with-system-zlib --enable-nls --without-included-gettext --enable-clocale=gnu --enable-debug --enable-java-gc=boehm --enable-java-awt=xlib --enable-objc-gc i486-linux Thread model: posix gcc version 3.3.5 (Debian 1:3.3.5-13) As you can see I have gcc version 3.3.5 The make test indicates gcc is being used as the compiler. # make test SMP=1 MODVERSIONS=1 ARCH=ia32 DEBUG=0 KSRC=/lib/modules/2.4.29/build CC=gcc KVER=2.4.29 INSTALL_ROOT= MOD_DIR=/lib/modules/2.4.29/kernel/drivers/net MAN_DIR=/usr/share/man BIN_DIR=/usr/sbin DEFINES=-DLINUX -D__KERNEL__ -DMODULE -pipe -D__SMP__ -DCONFIG_SMP -DMODVERSIONS -include /lib/modules/2.4.29/build/include/l INCLUDES=-I/lib/modules/2.4.29/build/include -I. OPTIMIZE_FLAGS=-O3 -fomit-frame-pointer WARNING_FLAGS=-Wstrict-prototypes CFLAGS=-DLINUX -D__KERNEL__ -DMODULE -pipe -D__SMP__ -DCONFIG_SMP -DMODVERSIONS -include /lib/modules/2.4.29/build/include/li/2.4.29/build/include -I. -O3 -fomit-frame-pointer -Wstrict-prototypes Can anybody enlighten me here? Thanks! |
if i remember correctly copiling modules with 2.4 series kernel involved setting a CC variable to the right gcc version.
like export CC=gcc-3.0 or in the Makefile CC := gcc-3.0 this was way different from the version magic way of doing it now |
Many thanks foo_bar_foo.
I got excited for a moment and I tried editing my MakeFile by inserting 'CC =: gcc-3.3'. However, i still get the version 2 error. Very strange! Also, I tried export CC=gcc-3.3, same thing. Hmmm... The README file lists the following... Quote:
Any ideas? |
Okay, I did find a MUCH newer driver :rolleyes: Version iANS-3.4.3a. I'll give that a whirl :D
|
OK, the newer source did the trick (surprise!) Thanks again foo_bar_foo.
Brett |
All times are GMT -5. The time now is 08:24 PM. |