[NBLUG/talk] ADMTEK 8211 driver for 2.6 kernel (FC2)

Troy Arnold fryman at sonic.net
Tue May 25 09:44:30 PDT 2004


On Tue, May 25, 2004 at 07:30:32AM -0700, Dave Sisley wrote:
> RUNNING INSMOD:
> -------------
> [root at jupiter adm8211]# insmod adm8211.o
> insmod: error inserting 'adm8211.o': -1 Invalid module format

Just a guess, but did you build the module with the same version of gcc
as was used to build the kernel?

You can get your current gcc version with:
gcc -v

You can find out what was used to build your kernel with:
cat /proc/version

If you find, for instance, that your kernel was built with gcc 3.2, but
your default compiler is gcc 3.3, then you can do:
export CC=gcc-3.2 ; make && make install

This is just an example, of course, and assumes that both gcc 3.2 and
3.3 are available and working on your system.

-troy





More information about the talk mailing list