Не могу собрать драйвера для модема

Ethernet card, Wi-Fi, Bluetooth, IrDA, ADSL-модемы, модемы

Модератор: Модераторы разделов

ifvad
Сообщения: 1

Не могу собрать драйвера для модема

Сообщение ifvad »

Не могу собрать драйвера для модема. Система Fedora Core 4 x86_64.
Запускаю ./build_module, пишет следующее:
/usr/src/ltmodem-8.31a10/source/ltmodem.c: In function ‘SetLtModemInterface’:
/usr/src/ltmodem-8.31a10/source/ltmodem.c:684: warning: implicit declaration of function ‘inter_module_get’
/usr/src/ltmodem-8.31a10/source/ltmodem.c:684: warning: cast to pointer from integer of different size
/usr/src/ltmodem-8.31a10/source/ltmodem.c:691: warning: ‘inter_module_put’ is deprecated (declared at include/linux/module.h:571)
/usr/src/ltmodem-8.31a10/source/ltmodem.c: In function ‘init_module’:
/usr/src/ltmodem-8.31a10/source/ltmodem.c:714: warning: ‘inter_module_register’ is deprecated (declared at include/linux/module.h:567)
/usr/src/ltmodem-8.31a10/source/ltmodem.c:715: warning: ‘inter_module_register’ is deprecated (declared at include/linux/module.h:567)
/usr/src/ltmodem-8.31a10/source/ltmodem.c: In function ‘cleanup_module’:
/usr/src/ltmodem-8.31a10/source/ltmodem.c:723: warning: ‘inter_module_unregister’ is deprecated (declared at include/linux/module.h:568)
/usr/src/ltmodem-8.31a10/source/ltmodem.c:724: warning: ‘inter_module_unregister’ is deprecated (declared at include/linux/module.h:568)
/usr/src/ltmodem-8.31a10/source/ltmodem.c: In function ‘dp_regread’:
/usr/src/ltmodem-8.31a10/source/ltmodem.c:478: warning: ‘flags’ may be used uninitialized in this function
ld: Relocatable linking with relocations from format elf32-i386 (/usr/src/ltmodem-8.31a10/source/xxx.o) to format elf64-x86-64 (/usr/src/ltmodem-8.31a10/source/xxx1.o) is not supported
make[2]: *** [/usr/src/ltmodem-8.31a10/source/xxx1.o] Ошибка 1
make[1]: *** [_module_/usr/src/ltmodem-8.31a10/source] Ошибка 2
make: *** [all] Ошибка 2
make M=`pwd` -C /lib/modules/2.6.11-1.1369_FC4/build modules
make[1]: Entering directory `/usr/src/kernels/2.6.11-1.1369_FC4-x86_64'
CC [M] /usr/src/ltmodem-8.31a10/source/ltmodem.o
objcopy -W x_input --redefine-sym memset=ltmodem_memset /usr/src/ltmodem-8.31a10/source/ltmdmobj.o /usr/src/ltmodem-8.31a10/source/xxx.o
ld -r -defsym x_input_orig=x_input -o /usr/src/ltmodem-8.31a10/source/xxx1.o /usr/src/ltmodem-8.31a10/source/xxx.o
make[1]: Leaving directory `/usr/src/kernels/2.6.11-1.1369_FC4-x86_64'

Checking for driver products:

Compilation of lt_modem.ko failed,
Do assess whether your utilities are up to date as listed within 1ST-READ!
Read Compile_properly.txt from DOCs/.
If you cannot solve the problem, send BLDrecord.txt to: discuss@linmodems.org

Что делать???
Спасибо сказали: