I'm trying to compile a Davicom 9102 driver on
Debian 2.4.18 on SPARC and having some problems...
During the make, it complains for a
/usr/include/asm-generic/pgtable.h, that is not there.
There is however a /usr/include/asm directory with
that file.
If I link the .../asm to .../asm-generic, it makes
it, but with some warning messages:
/usr/include/asm/vac-ops.h:5: warning: garbage at
end of `#ifndef' argument
/usr/include/asm/vac-ops.h:6: warning: missing white space after `#define __SPARCSTUB__VAC' The file looks okay, maybe some invisible chars at
the end.
...but at least it creates the module.
I copied the dm9xs.o to
/lib/modules/2.4.18/kernel/drivers/net/ ... (no make install
option)
If I say modprobe dm9xs.o it returns:
modprobe: Can't locate module dm9xs.o
However, If I say modprobe -l dm9xs.o , it
returns:
/lib/modules/2.4.18/kernel/drivers/net/dm9xs.o
...which is correct.
insmod dm9xs returns:
Using
/lib/modules/2.4.18/kernel/drivers/net/dm9xs.o
/lib/modules/2.4.18/kernel/drivers/net/dm9xs.o: ELF file /lib/modules/2.4.18/ker nel/drivers/net/dm9xs.o not for this architecture Please help!
Also, did anybody compile these on
sparc?
I'm having a SunFireV100, with two NICs on
board.
thanks,
-bela |