Agere SV92P modem with mandriva 2007 64 bit

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi! I tried to use the official rpm from mandriva (slmodem-2.9.11-
0.20060727.1mdv2007.0.i586.rpm with related kernel rpm) but it doesn't 
work (wrong .ko format) so I downloaded slmodem-2.9.20061021.tar.gz 
from this site.

I had to change the Makefile in order to compile it 32 bit (the 
orginal propritary .o are 32 bit) and I had no problems with slmodemd 
but it was not possible to compile slamr.o and slusb.o.

If I try to compile 64 bit i get:

make -C modem all
make[1]: Entering directory `/home/enrico/modem/slmodem-2.9.11-
20061021/modem'
make[1]: Leaving directory `/home/enrico/modem/slmodem-2.9.11-
20061021/modem'
make -C drivers KERNEL_DIR=/lib/modules/2.6.17-5mdv/build
make[1]: Entering directory `/home/enrico/modem/slmodem-2.9.11-
20061021/drivers'
cc -I/lib/modules/2.6.17-5mdv/build/include -o kernel-ver kernel-ver.c
make all KERNEL_VER=2.6.17-5mdv
make[2]: Entering directory `/home/enrico/modem/slmodem-2.9.11-
20061021/drivers'
make modules -C /lib/modules/2.6.17-5mdv/build 
SUBDIRS=/home/enrico/modem/slmodem-2.9.11-20061021/drivers
make[3]: Entering directory `/usr/src/linux-2.6.17-5mdv'

WARNING: Symbol version dump /usr/src/linux-2.6.17-5mdv/Module.symvers
is missing; modules will have no dependencies and modversions.

LD [M] /home/enrico/modem/slmodem-2.9.11-20061021/drivers/slamr.o
ld: Relocatable linking with relocations from format elf32-i386 
(/home/enrico/modem/slmodem-2.9.11-20061021/drivers/amrlibs.o) to 
format elf64-x86-64 (/home/enrico/modem/slmodem-2.9.11-
20061021/drivers/slamr.o) is not supported
make[4]: *** [/home/enrico/modem/slmodem-2.9.11-20061021/drivers/slamr.
o] Error 1
make[3]: *** [_module_/home/enrico/modem/slmodem-2.9.11-
20061021/drivers] Error 2
make[3]: Leaving directory `/usr/src/linux-2.6.17-5mdv'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/home/enrico/modem/slmodem-2.9.11-
20061021/drivers'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/home/enrico/modem/slmodem-2.9.11-
20061021/drivers'
make: *** [drivers] Error 2

so I tryed to compile 32 bit (-m32) and I got:


[enrico@localhost drivers]$ make
cc -I/lib/modules/2.6.17-5mdv/build/include -o kernel-ver kernel-ver.c
make all KERNEL_VER=2.6.17-5mdv
make[1]: Entering directory `/home/enrico/modem/slmodem-2.9.11-
20061021/drivers'
make modules -C /lib/modules/2.6.17-5mdv/build 
SUBDIRS=/home/enrico/modem/slmodem-2.9.11-20061021/drivers
make[2]: Entering directory `/usr/src/linux-2.6.17-5mdv'

WARNING: Symbol version dump /usr/src/linux-2.6.17-5mdv/Module.symvers
is missing; modules will have no dependencies and modversions.

CC [M] /home/enrico/modem/slmodem-2.9.11-20061021/drivers/amrmo_init.o
/home/enrico/modem/slmodem-2.9.11-20061021/drivers/amrmo_init.c:1: 
error: code model ‘kernel’ not supported in the 32 bit mode
make[3]: *** [/home/enrico/modem/slmodem-2.9.11-
20061021/drivers/amrmo_init.o] Error 1
make[2]: *** [_module_/home/enrico/modem/slmodem-2.9.11-
20061021/drivers] Error 2
make[2]: Leaving directory `/usr/src/linux-2.6.17-5mdv'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/home/enrico/modem/slmodem-2.9.11-
20061021/drivers'
make: *** [all] Error 2

any suggestion?
Thank you very much in advance.
Regards

Enrico


[Index of Archives]     [Linux Media Development]     [Asterisk]     [DCCP]     [Netdev]     [X.org]     [Xfree86]     [Fedora Women]     [Linux USB]

  Powered by Linux