Перейти к содержанию

Shelter

Members
  • Постов

    3
  • Зарегистрирован

  • Посещение

    Никогда

Весь контент Shelter

  1. Что касается инструкции по ссылкам - если я делаю как в них то в итоге получаю некопилируемый драйвер вот что пишет компилятор: [root@localhost alone]# [root@localhost cxacru]# make cd init && make clean make[1]: Entering directory `/opt/cxacru/init' rm -f cxload cxioctl cxloaddbg cxloaddbgt make[1]: Leaving directory `/opt/cxacru/init' cd module && make clean make[1]: Entering directory `/opt/cxacru/module' rm -f cxacrunormal.o sarlib.o sartest cxacru.o cxacrudebug.o cxacrudbg.o version.h make[1]: Leaving directory `/opt/cxacru/module' cd module2 && make clean make[1]: Entering directory `/opt/cxacru/module2' rm -f *.o .*.flags *.ko *.mod.* .*.o.cmd .*.ko.cmd make[1]: Leaving directory `/opt/cxacru/module2' cd sarlib && make clean make[1]: Entering directory `/opt/cxacru/sarlib' /bin/rm -f *.o make[1]: Leaving directory `/opt/cxacru/sarlib' cd panel && make clean make[1]: Entering directory `/opt/cxacru/panel' rm -f cxpanel *.bak make[1]: Leaving directory `/opt/cxacru/panel' cd bridged && make clean make[1]: Entering directory `/opt/cxacru/bridged' rm -f br2684ctl make[1]: Leaving directory `/opt/cxacru/bridged' cd init && make && make install make[1]: Entering directory `/opt/cxacru/init' gcc -O2 -Wstrict-prototypes -fomit-frame-pointer -pipe -march=i686 -Wall -DLINUX -I../include -lusb -lpthread cxload.c -o cxload /root/tmp/ccR7erSs.o(.text+0x17c): In function `transfer_ctrl_msg': : undefined reference to `usb_control_msg' /root/tmp/ccR7erSs.o(.text+0x187): In function `transfer_ctrl_msg': : undefined reference to `usb_strerror' /root/tmp/ccR7erSs.o(.text+0x1ee): In function `transfer_ctrl_msg': : undefined reference to `usb_clear_halt' /root/tmp/ccR7erSs.o(.text+0x203): In function `transfer_ctrl_msg': : undefined reference to `usb_clear_halt' /root/tmp/ccR7erSs.o(.text+0x284): In function `read_bulk': : undefined reference to `usb_bulk_read' /root/tmp/ccR7erSs.o(.text+0x28f): In function `read_bulk': : undefined reference to `usb_strerror' /root/tmp/ccR7erSs.o(.text+0x2f4): In function `read_bulk': : undefined reference to `usb_clear_halt' /root/tmp/ccR7erSs.o(.text+0x394): In function `send_bulk': : undefined reference to `usb_bulk_write' /root/tmp/ccR7erSs.o(.text+0x39f): In function `send_bulk': : undefined reference to `usb_strerror' /root/tmp/ccR7erSs.o(.text+0x425): In function `send_bulk': : undefined reference to `usb_clear_halt' /root/tmp/ccR7erSs.o(.text+0x597): In function `dispatch_info': : undefined reference to `usb_bulk_read' /root/tmp/ccR7erSs.o(.text+0x5af): In function `dispatch_info': : undefined reference to `usb_strerror' /root/tmp/ccR7erSs.o(.text+0x605): In function `dispatch_info': : undefined reference to `usb_resetep' /root/tmp/ccR7erSs.o(.text+0x7da): In function `dispatch_info': : undefined reference to `usb_clear_halt' /root/tmp/ccR7erSs.o(.text+0x89b): In function `send_cmd_wait_answers': : undefined reference to `usb_resetep' /root/tmp/ccR7erSs.o(.text+0x8ae): In function `send_cmd_wait_answers': : undefined reference to `usb_resetep' /root/tmp/ccR7erSs.o(.text+0xe25): In function `clear_endpoints': : undefined reference to `usb_resetep' /root/tmp/ccR7erSs.o(.text+0xe36): In function `clear_endpoints': : undefined reference to `usb_resetep' /root/tmp/ccR7erSs.o(.text+0xe47): In function `clear_endpoints': : undefined reference to `usb_resetep' /root/tmp/ccR7erSs.o(.text+0xe58): more undefined references to `usb_resetep' follow /root/tmp/ccR7erSs.o(.text+0x1d23): In function `main': : undefined reference to `usb_init' /root/tmp/ccR7erSs.o(.text+0x1d28): In function `main': : undefined reference to `usb_find_busses' /root/tmp/ccR7erSs.o(.text+0x1d35): In function `main': : undefined reference to `usb_find_devices' /root/tmp/ccR7erSs.o(.text+0x1d43): In function `main': : undefined reference to `usb_busses' /root/tmp/ccR7erSs.o(.text+0x1e21): In function `main': : undefined reference to `usb_open' /root/tmp/ccR7erSs.o(.text+0x1e3c): In function `main': : undefined reference to `usb_set_configuration' /root/tmp/ccR7erSs.o(.text+0x1e52): In function `main': : undefined reference to `usb_claim_interface' /root/tmp/ccR7erSs.o(.text+0x1e92): In function `main': : undefined reference to `usb_release_interface' /root/tmp/ccR7erSs.o(.text+0x1e9a): In function `main': : undefined reference to `usb_close' /root/tmp/ccR7erSs.o(.text+0x1f0b): In function `main': : undefined reference to `usb_strerror' /root/tmp/ccR7erSs.o(.text+0x1f22): In function `main': : undefined reference to `usb_strerror' collect2: ld returned 1 exit status make[1]: *** [cxload] Ошибка 1 make[1]: Leaving directory `/opt/cxacru/init' make: *** [CX_INIT] Ошибка 2 [root@localhost cxacru]# я уже пробовал компилить разные драйвера из разных дистрибутивов и всегда одно и тоже... может быть мне нада поставить еще какой нибудь пакет? - по естим сообщениям об ошибках я немогу сделать вывод о том что не так, можете быть вы что нибудь сможете сказать? а тот драйвер что я поставил - я поставил из rpm пакета - те никаких действий по его установки я не предпринимал - я просто сделал rpm *.rpm -install или что то такое(точно не помню ) и он сам поставился(так как его откомпилили)..
  2. Linux тока неделю как поставил - сами понимаете после винды тяжко... у меня Mandrake 10.2, ядро 2.6.11, все поставилось самокроме самого важного - Zyxel OMNI ADSL USB(Annex A/WAN adapter) - так он в винде называется.. Что я делал: поставил поддержку ATM и вроде как она работет.., а вот сам драйвер модема воткнуть не могу - он нехочет компилиться - выдает ошибки типа синтаксис в таком то файле не тот и тд что с етим делать?? - я сам ваще под винду на Delphi програмлю - а тут все на C - я вот и незнаю - неможет же быть что драйвер изначально с ошибками синтаксиса написан.. Если кто может - напишите по пунктам как етот модем поставить и какие конкретно дрова брать и где - буду очень благодарен..
×
×
  • Создать...