LINUX.ORG.RU
ФорумAdmin

Установить драйвер для D-Link 530TX


0

0

2.6.18-gentoo-r5 Купил сетевуху D-Link DFE-520TX. Поставил через getkernel all поддержку via-rhine (Выделал его как М, а под добавил звездочки). После перезагрузки в ifconfig не отобразился, решил поставить драйвера, при компилировании пишет:

gate temp # make install make -C /lib/modules/2.6.18-gentoo-r5/build SUBDIRS=/root/temp modules make[1]: Entering directory `/usr/src/linux-2.6.18-gentoo-r5' CC [M] /root/temp/rhine_main.o /root/temp/rhine_main.c:59: error: expected ')' before string constant /root/temp/rhine_main.c:64: error: expected ')' before string constant /root/temp/rhine_main.c:73: error: expected ')' before string constant /root/temp/rhine_main.c:85: error: expected ')' before string constant /root/temp/rhine_main.c:100: error: expected ')' before string constant /root/temp/rhine_main.c:115: error: expected ')' before string constant /root/temp/rhine_main.c:122: error: expected ')' before string constant /root/temp/rhine_main.c:131: error: expected ')' before string constant /root/temp/rhine_main.c:139: error: expected ')' before string constant /root/temp/rhine_main.c:148: error: expected ')' before string constant /root/temp/rhine_main.c:159: error: expected ')' before string constant /root/temp/rhine_main.c:175: error: expected ')' before string constant /root/temp/rhine_main.c:182: error: expected ')' before string constant /root/temp/rhine_main.c:194: error: expected ')' before string constant /root/temp/rhine_main.c:200: error: expected ')' before string constant /root/temp/rhine_main.c:2018: warning: initialization from incompatible pointer type /root/temp/rhine_main.c: In function 'rhine_ethtool_ioctl': /root/temp/rhine_main.c:2752: error: 'struct pci_dev' has no member named 'slot_name' /root/temp/rhine_main.c: In function 'rhine_suspend': /root/temp/rhine_main.c:2925: error: too many arguments to function 'pci_save_state' /root/temp/rhine_main.c: In function 'rhine_resume': /root/temp/rhine_main.c:2959: error: too many arguments to function 'pci_restore_state' make[2]: *** [/root/temp/rhine_main.o] Error 1 make[1]: *** [_module_/root/temp] Error 2 make[1]: Leaving directory `/usr/src/linux-2.6.18-gentoo-r5' make: *** [default] Error 2

Как установить?..


gate temp # make install
make -C /lib/modules/2.6.18-gentoo-r5/build SUBDIRS=/root/temp modules
make[1]: Entering directory `/usr/src/linux-2.6.18-gentoo-r5'
CC [M] /root/temp/rhine_main.o
/root/temp/rhine_main.c:59: error: expected ')' before string constant
/root/temp/rhine_main.c:64: error: expected ')' before string constant
/root/temp/rhine_main.c:73: error: expected ')' before string constant
/root/temp/rhine_main.c:85: error: expected ')' before string constant
/root/temp/rhine_main.c:100: error: expected ')' before string constant
/root/temp/rhine_main.c:115: error: expected ')' before string constant
/root/temp/rhine_main.c:122: error: expected ')' before string constant
/root/temp/rhine_main.c:131: error: expected ')' before string constant
/root/temp/rhine_main.c:139: error: expected ')' before string constant
/root/temp/rhine_main.c:148: error: expected ')' before string constant
/root/temp/rhine_main.c:159: error: expected ')' before string constant
/root/temp/rhine_main.c:175: error: expected ')' before string constant
/root/temp/rhine_main.c:182: error: expected ')' before string constant
/root/temp/rhine_main.c:194: error: expected ')' before string constant
/root/temp/rhine_main.c:200: error: expected ')' before string constant
/root/temp/rhine_main.c:2018: warning: initialization from incompatible pointer type
/root/temp/rhine_main.c: In function 'rhine_ethtool_ioctl':
/root/temp/rhine_main.c:2752: error: 'struct pci_dev' has no member named 'slot_name'
/root/temp/rhine_main.c: In function 'rhine_suspend':
/root/temp/rhine_main.c:2925: error: too many arguments to function 'pci_save_state'
/root/temp/rhine_main.c: In function 'rhine_resume':
/root/temp/rhine_main.c:2959: error: too many arguments to function 'pci_restore_state'
make[2]: *** [/root/temp/rhine_main.o] Error 1
make[1]: *** [_module_/root/temp] Error 2
make[1]: Leaving directory `/usr/src/linux-2.6.18-gentoo-r5'
make: *** [default] Error 2

Solker
() автор топика

> Поставил через getkernel all поддержку via-rhine (Выделал его как М, а под добавил звездочки).

Выделить то выделил, а модуль собрал?

Deleted
()
Ответ на: комментарий от Deleted

Ну я поставил буковку M на этом VIA и вышел, и нажал сохранить, он заного перекопилировал и все.

anonymous
()
Вы не можете добавлять комментарии в эту тему. Тема перемещена в архив.