Предыдущая тема :: Следующая тема |
Автор |
Сообщение |
iPrime Junior member
Зарегистрирован: 20.07.2009 Сообщения: 2
|
Добавлено: Пн Июл 20, 2009 2:40 pm Заголовок сообщения: mmodem в suse 11 |
|
|
Ошибки компиляции драйвера 8-ми портового модема в SUSE 11, под 10 собирается нормально.
uname -a
Linux linux-ggak 2.6.27.19-5-default #1 SMP 2009-02-28 04:40:21 +0100 i686 i686 i386 GNU/Linux
mmodem v0.4.3
rm -f *.[obis] *.mo *~ px_reset
make -C module-2.6.27.19-5-default clean
make[1]: Entering directory `/usr/src/m-modem-t4/module-2.6.27.19-5-default'
rm -rf *.o *.ko .*.cmd *.mod.c .??*
make[1]: Leaving directory `/usr/src/m-modem-t4/module-2.6.27.19-5-default'
***
*** You may see some warnings about SUBDIRS during compilation.
*** That is Ok for external module using kernel's Makefile.
***
make V=0 -C /lib/modules/2.6.27.19-5-default/source SUBDIRS=/usr/src/m-modem-t4/module-2.6.27.19-5-default modules
make[1]: Entering directory `/usr/src/linux-2.6.27.19-5'
CC [M] /usr/src/m-modem-t4/module-2.6.27.19-5-default/mmodem.o
/usr/src/m-modem-t4/module-2.6.27.19-5-default/mmodem.c: In function ‘startup’:
/usr/src/m-modem-t4/module-2.6.27.19-5-default/mmodem.c:795: error: ‘SA_SHIRQ’ undeclared (first use in this function)
/usr/src/m-modem-t4/module-2.6.27.19-5-default/mmodem.c:795: error: (Each undeclared identifier is reported only once
/usr/src/m-modem-t4/module-2.6.27.19-5-default/mmodem.c:795: error: for each function it appears in.)
/usr/src/m-modem-t4/module-2.6.27.19-5-default/mmodem.c:796: warning: passing argument 2 of ‘request_irq’ from incompatible pointer type
/usr/src/m-modem-t4/module-2.6.27.19-5-default/mmodem.c: In function ‘px_flush_buffer’:
/usr/src/m-modem-t4/module-2.6.27.19-5-default/mmodem.c:1407: error: ‘struct tty_ldisc’ has no member named ‘write_wakeup’
/usr/src/m-modem-t4/module-2.6.27.19-5-default/mmodem.c:1408: error: ‘struct tty_ldisc’ has no member named ‘write_wakeup’
/usr/src/m-modem-t4/module-2.6.27.19-5-default/mmodem.c: In function ‘px_close’:
/usr/src/m-modem-t4/module-2.6.27.19-5-default/mmodem.c:2233: error: ‘struct tty_driver’ has no member named ‘flush_buffer’
/usr/src/m-modem-t4/module-2.6.27.19-5-default/mmodem.c:2234: error: ‘struct tty_driver’ has no member named ‘flush_buffer’
/usr/src/m-modem-t4/module-2.6.27.19-5-default/mmodem.c:2236: error: ‘struct tty_ldisc’ has no member named ‘flush_buffer’
/usr/src/m-modem-t4/module-2.6.27.19-5-default/mmodem.c:2237: error: ‘struct tty_ldisc’ has no member named ‘flush_buffer’
/usr/src/m-modem-t4/module-2.6.27.19-5-default/mmodem.c: In function ‘px_validate_dev’:
/usr/src/m-modem-t4/module-2.6.27.19-5-default/mmodem.c:3083: error: ‘SA_SHIRQ’ undeclared (first use in this function)
/usr/src/m-modem-t4/module-2.6.27.19-5-default/mmodem.c:3083: warning: passing argument 2 of ‘request_irq’ from incompatible pointer type
/usr/src/m-modem-t4/module-2.6.27.19-5-default/mmodem.c: In function ‘px_detect_pci’:
/usr/src/m-modem-t4/module-2.6.27.19-5-default/mmodem.c:3121: warning: ‘pci_find_device’ is deprecated (declared at include/linux/pci.h:550)
/usr/src/m-modem-t4/module-2.6.27.19-5-default/mmodem.c: In function ‘px_init’:
/usr/src/m-modem-t4/module-2.6.27.19-5-default/mmodem.c:3240: warning: assignment from incompatible pointer type
/usr/src/m-modem-t4/module-2.6.27.19-5-default/mmodem.c:3241: warning: assignment from incompatible pointer type
/usr/src/m-modem-t4/module-2.6.27.19-5-default/mmodem.c:3243: error: ‘struct tty_driver’ has no member named ‘open’
/usr/src/m-modem-t4/module-2.6.27.19-5-default/mmodem.c:3244: error: ‘struct tty_driver’ has no member named ‘close’
/usr/src/m-modem-t4/module-2.6.27.19-5-default/mmodem.c:3245: error: ‘struct tty_driver’ has no member named ‘write’
/usr/src/m-modem-t4/module-2.6.27.19-5-default/mmodem.c:3246: error: ‘struct tty_driver’ has no member named ‘put_char’
/usr/src/m-modem-t4/module-2.6.27.19-5-default/mmodem.c:3247: error: ‘struct tty_driver’ has no member named ‘flush_chars’
/usr/src/m-modem-t4/module-2.6.27.19-5-default/mmodem.c:3248: error: ‘struct tty_driver’ has no member named ‘write_room’
/usr/src/m-modem-t4/module-2.6.27.19-5-default/mmodem.c:3249: error: ‘struct tty_driver’ has no member named ‘chars_in_buffer’
/usr/src/m-modem-t4/module-2.6.27.19-5-default/mmodem.c:3250: error: ‘struct tty_driver’ has no member named ‘flush_buffer’
/usr/src/m-modem-t4/module-2.6.27.19-5-default/mmodem.c:3251: error: ‘struct tty_driver’ has no member named ‘ioctl’
/usr/src/m-modem-t4/module-2.6.27.19-5-default/mmodem.c:3252: error: ‘struct tty_driver’ has no member named ‘throttle’
/usr/src/m-modem-t4/module-2.6.27.19-5-default/mmodem.c:3253: error: ‘struct tty_driver’ has no member named ‘unthrottle’
/usr/src/m-modem-t4/module-2.6.27.19-5-default/mmodem.c:3254: error: ‘struct tty_driver’ has no member named ‘send_xchar’
/usr/src/m-modem-t4/module-2.6.27.19-5-default/mmodem.c:3255: error: ‘struct tty_driver’ has no member named ‘set_termios’
/usr/src/m-modem-t4/module-2.6.27.19-5-default/mmodem.c:3256: error: ‘struct tty_driver’ has no member named ‘stop’
/usr/src/m-modem-t4/module-2.6.27.19-5-default/mmodem.c:3257: error: ‘struct tty_driver’ has no member named ‘start’
/usr/src/m-modem-t4/module-2.6.27.19-5-default/mmodem.c:3258: error: ‘struct tty_driver’ has no member named ‘hangup’
/usr/src/m-modem-t4/module-2.6.27.19-5-default/mmodem.c:3259: error: ‘struct tty_driver’ has no member named ‘break_ctl’
/usr/src/m-modem-t4/module-2.6.27.19-5-default/mmodem.c:3260: error: ‘struct tty_driver’ has no member named ‘wait_until_sent’
/usr/src/m-modem-t4/module-2.6.27.19-5-default/mmodem.c:3261: error: ‘struct tty_driver’ has no member named ‘read_proc’
/usr/src/m-modem-t4/module-2.6.27.19-5-default/mmodem.c:3263: error: ‘struct tty_driver’ has no member named ‘tiocmset’
/usr/src/m-modem-t4/module-2.6.27.19-5-default/mmodem.c:3264: error: ‘struct tty_driver’ has no member named ‘tiocmget’
make[2]: *** [/usr/src/m-modem-t4/module-2.6.27.19-5-default/mmodem.o] Error 1
make[1]: *** [_module_/usr/src/m-modem-t4/module-2.6.27.19-5-default] Error 2
make[1]: Leaving directory `/usr/src/linux-2.6.27.19-5'
make: *** [modules] Error 2
как побороть? |
|
Вернуться к началу |
|
|
Technical Support Expert
Зарегистрирован: 31.10.2002 Сообщения: 6330
|
Добавлено: Пн Июл 20, 2009 6:28 pm Заголовок сообщения: |
|
|
Попробуйте этот патч. _________________ Inpro
Technical Support |
|
Вернуться к началу |
|
|
iPrime Junior member
Зарегистрирован: 20.07.2009 Сообщения: 2
|
Добавлено: Вт Июл 21, 2009 7:19 am Заголовок сообщения: |
|
|
Technical Support писал(а): | Попробуйте этот патч. |
Собралось. Спасибо!!! |
|
Вернуться к началу |
|
|
Technical Support Expert
Зарегистрирован: 31.10.2002 Сообщения: 6330
|
Добавлено: Вт Июл 21, 2009 9:31 am Заголовок сообщения: |
|
|
Вот и отлично Если что - обращайтесь! _________________ Inpro
Technical Support |
|
Вернуться к началу |
|
|
|