Имя пользователя:
Пароль:  
Помощь | Регистрация | Забыли пароль?  | Правила  

Компьютерный форум OSzone.net » Linux и FreeBSD » Железо в Linux » Проблема с установкой ZyXEL G-120 EE

Ответить
Настройки темы
Проблема с установкой ZyXEL G-120 EE

Новый участник


Сообщения: 7
Благодарности: 0

Профиль | Отправить PM | Цитировать


Установил Linux Ubuntu 7.10, скачал с официального сайта ZyXEL дрова для Linux.
Там же прилагается инструкция по установке https://zyxel.ru/content/support/knowledgebase/KB-1573
На 5-м шаге этой инструкции после ввода команды make install, после листинга событий заканчивается все не как в инструкции, а ошибкой. Даже двумя.
Тут листинг:
читать дальше »
root@euser-laptop:/tmp/ZD1212LnxDrv_2_15_0_0# make install
echo -e -I/tmp/ZD1212LnxDrv_2_15_0_0/src/include -fomit-frame-pointer -O -Wall -Wstrict-prototypes -pipe -Wno-unused -DAMAC -DGCCK -DOFDM -DTXQ_IN_ISR -DHOSTAPD_SUPPORT -DLOGO_ENABLE=1 -DfTX_PWR_CTRL -DZDCONF_CHIP1212_16=1 -DZDCONF_CHIP1212_ONLY=0 -DZDCONF_CHIP1212_ONLY=0 -DZDCONF_80211H_SUPPORT=1 -DZDCONF_80211E_SUPPORT=1 -DZDCONF_WDS_SUPPORT=1 -DZDCONF_VAP_SUPPORT=1 -DZDCONF_LP_SUPPORT=1 -DZDCONF_BANDEDGE_ADJUST -DZD_DEBUG -DZDCONF_GF_MTU_CONF -DZDCONF_GF_HWADDR_CONF -DX86_EMBEDDED -DZDCONF_EXTRA_FIX_IPC -DZDCONF_PROC_FS_SUPPORT -DZDCONF_INFRA_SUPPORT -DZDCONF_WE_STAT_SUPPORT -DZDCONF_WE_PRIV_SUPPORT -DZDCONF_SW_RETRY -DZDCONF_SW_ADAPTION -DZDCONF_ADHOC_SUPPORT -DZDCONF_MENUDBG -DZDCONF_APDBG -DZDCONF_AP_SUPPORT -DZDCONF_80211A_SUPPORT -DZDCONF_PRINTK -DPRODUCTION -DZDCONF_WIN_PROD_IFACE -DZDCONF_RF_UW2453_SUPPORT -DZDCONF_RF_AL2230_SUPPORT -DZDCONF_RF_AL2232_SUPPORT -DZDCONF_RF_AL7230B_SUPPORT -DZDCONF_CHIP1212_ONLY=0 -DZDCONF_CHIP1216_ONLY=0
-I/tmp/ZD1212LnxDrv_2_15_0_0/src/include -fomit-frame-pointer -O -Wall -Wstrict-prototypes -pipe -Wno-unused -DAMAC -DGCCK -DOFDM -DTXQ_IN_ISR -DHOSTAPD_SUPPORT -DLOGO_ENABLE=1 -DfTX_PWR_CTRL -DZDCONF_CHIP1212_16=1 -DZDCONF_CHIP1212_ONLY=0 -DZDCONF_CHIP1212_ONLY=0 -DZDCONF_80211H_SUPPORT=1 -DZDCONF_80211E_SUPPORT=1 -DZDCONF_WDS_SUPPORT=1 -DZDCONF_VAP_SUPPORT=1 -DZDCONF_LP_SUPPORT=1 -DZDCONF_BANDEDGE_ADJUST -DZD_DEBUG -DZDCONF_GF_MTU_CONF -DZDCONF_GF_HWADDR_CONF -DX86_EMBEDDED -DZDCONF_EXTRA_FIX_IPC -DZDCONF_PROC_FS_SUPPORT -DZDCONF_INFRA_SUPPORT -DZDCONF_WE_STAT_SUPPORT -DZDCONF_WE_PRIV_SUPPORT -DZDCONF_SW_RETRY -DZDCONF_SW_ADAPTION -DZDCONF_ADHOC_SUPPORT -DZDCONF_MENUDBG -DZDCONF_APDBG -DZDCONF_AP_SUPPORT -DZDCONF_80211A_SUPPORT -DZDCONF_PRINTK -DPRODUCTION -DZDCONF_WIN_PROD_IFACE -DZDCONF_RF_UW2453_SUPPORT -DZDCONF_RF_AL2230_SUPPORT -DZDCONF_RF_AL2232_SUPPORT -DZDCONF_RF_AL7230B_SUPPORT -DZDCONF_CHIP1212_ONLY=0 -DZDCONF_CHIP1216_ONLY=0
make[1]: Entering directory `/usr/src/linux-headers-2.6.22-14-generic'
CC [M] /tmp/ZD1212LnxDrv_2_15_0_0/src/zdmain.o
/tmp/ZD1212LnxDrv_2_15_0_0/src/zdmain.c:32:26: error: linux/config.h: No such file or directory
In file included from /tmp/ZD1212LnxDrv_2_15_0_0/src/zdmain.h:39,
from /tmp/ZD1212LnxDrv_2_15_0_0/src/zdeeprom.h:3,
from /tmp/ZD1212LnxDrv_2_15_0_0/src/zdmain.c:36:
/tmp/ZD1212LnxDrv_2_15_0_0/src/zdapi.h:458:5: warning: "fTX_GAIN_OFDM" is not defined
/tmp/ZD1212LnxDrv_2_15_0_0/src/zdmain.c:975:5: warning: "fANT_DIVERSITY" is not defined
/tmp/ZD1212LnxDrv_2_15_0_0/src/zdmain.c:980:5: warning: "fWRITE_WORD_REG" is not defined
/tmp/ZD1212LnxDrv_2_15_0_0/src/zdmain.c:998:5: warning: "fTX_GAIN_OFDM" is not defined
/tmp/ZD1212LnxDrv_2_15_0_0/src/zdmain.c: In function ‘zd1212_open’:
/tmp/ZD1212LnxDrv_2_15_0_0/src/zdmain.c:1371: warning: passing argument 2 of ‘clear_bit’ from incompatible pointer type
/tmp/ZD1212LnxDrv_2_15_0_0/src/zdmain.c:1439: warning: ‘deprecated_irq_flag’ is deprecated (declared at include/linux/interrupt.h:66)
/tmp/ZD1212LnxDrv_2_15_0_0/src/zdmain.c:1439: warning: passing argument 2 of ‘request_irq’ from incompatible pointer type
/tmp/ZD1212LnxDrv_2_15_0_0/src/zdmain.c: In function ‘zd1212_pci_setup’:
/tmp/ZD1212LnxDrv_2_15_0_0/src/zdmain.c:2625: warning: format ‘%lX’ expects type ‘long unsigned int’, but argument 3 has type ‘resource_size_t’
/tmp/ZD1212LnxDrv_2_15_0_0/src/zdmain.c:3179:42: error: macro "INIT_WORK" passed 3 arguments, but takes just 2
/tmp/ZD1212LnxDrv_2_15_0_0/src/zdmain.c: In function ‘zd1212_found1’:
/tmp/ZD1212LnxDrv_2_15_0_0/src/zdmain.c:3179: error: ‘INIT_WORK’ undeclared (first use in this function)
/tmp/ZD1212LnxDrv_2_15_0_0/src/zdmain.c:3179: error: (Each undeclared identifier is reported only once
/tmp/ZD1212LnxDrv_2_15_0_0/src/zdmain.c:3179: error: for each function it appears in.)
make[2]: *** [/tmp/ZD1212LnxDrv_2_15_0_0/src/zdmain.o] Error 1
make[1]: *** [_module_/tmp/ZD1212LnxDrv_2_15_0_0] Error 2
make[1]: Leaving directory `/usr/src/linux-headers-2.6.22-14-generic'
make: *** [all] Error 2


В техподдержку ZyXEL написал, но они молчат. Если кто-нибудь знает, как можно решить данную проблему, и можно ли, сообщите, пожалуйста.

Отправлено: 12:28, 29-02-2008

 

Аватара для BuGfiX

Слакофил


Сообщения: 590
Благодарности: 130

Профиль | Сайт | Отправить PM | Цитировать


> /tmp/ZD1212LnxDrv_2_15_0_0/src/zdmain.c:32:26: error: linux/config.h: No such file or directory

Установите kernel-source и kernel-headers (правда незнаю как эти пакеты называются в убунте)

-------
If you don`t know what to use this for, you don`t need it.

http://sergey.sereda.googlepages.com...e1_userbar.gif


Отправлено: 13:44, 29-02-2008 | #2



Для отключения данного рекламного блока вам необходимо зарегистрироваться или войти с учетной записью социальной сети.

Если же вы забыли свой пароль на форуме, то воспользуйтесь данной ссылкой для восстановления пароля.


Новый участник


Сообщения: 7
Благодарности: 0

Профиль | Отправить PM | Цитировать


Цитата:
Установите kernel-source и kernel-headers
Я прошу прощения, эти пакеты надо предварительно скачать?
И как потом установить?
Я новичек в Linux'e

Отправлено: 13:52, 29-02-2008 | #3


Аватара для BuGfiX

Слакофил


Сообщения: 590
Благодарности: 130

Профиль | Сайт | Отправить PM | Цитировать


попробуйте
sudo apt-get install linux-headers-`uname -r`
должно помочь

пакеты, мне кажется, должны быть на установочном диске

-------
If you don`t know what to use this for, you don`t need it.

http://sergey.sereda.googlepages.com...e1_userbar.gif


Последний раз редактировалось BuGfiX, 29-02-2008 в 17:17. Причина: поправка


Отправлено: 16:01, 29-02-2008 | #4


Новый участник


Сообщения: 7
Благодарности: 0

Профиль | Отправить PM | Цитировать


установил при помощи Sinaptik, нашел там этот НЕ установленный пакет..
да, пакеты оказались на устоновочном диске.. но проблемы это не решило, все осталось так же..
установил все НЕустановленные пакеты.. перезагрузился на всякий случай.. все так же..
спасибо большое за уже проявленное участие, но может есть еще варианты?

Отправлено: 17:33, 29-02-2008 | #5


Аватара для BuGfiX

Слакофил


Сообщения: 590
Благодарности: 130

Профиль | Сайт | Отправить PM | Цитировать


Мда.. насколько я понял, файл linux/config.h был убран из дерева исходников, начиная с версий после 2.6.19 ядра, иными словами, данный драйвер вашим дистрибутивом не поддерживается.
Попробуйте заменить во всех файлах строку
#include "linux/config.h"
на
#include "linux/autoconf.h"
или найти драйвер для ядра 2.6.22-14...

-------
If you don`t know what to use this for, you don`t need it.

http://sergey.sereda.googlepages.com...e1_userbar.gif


Отправлено: 18:37, 29-02-2008 | #6


Новый участник


Сообщения: 7
Благодарности: 0

Профиль | Отправить PM | Цитировать


драйвера для ядра 2.6.22 нет.. может скоро будет, но пока нет.
Хорошо, попробую. Результаты позже. Спасибо

Отправлено: 19:58, 29-02-2008 | #7


Новый участник


Сообщения: 7
Благодарности: 0

Профиль | Отправить PM | Цитировать


Воспользовавшись Вашим советом, поменял во всех файлах значения..
Только там не linux/config.h были, а просто config.h, поменял на просто autoconf.h, в 3-4-5 файлах примерно нашел.
На сколько я понимаю, речь в этих файлах идет о включении модуля config.h, а так как в новых версиях ядер его нет, то и не находит такой модуль.
В общем модуль autoconf.h тоже не находит. Вот листинг:
читать дальше »
root@euser-book:/tmp/hostapd-0.4.4_zydas# make install gcc -MMD -O2 -Wall -g -DHOSTAPD_DUMP_STATE -I. -I. -I../utils -I. -DCONFIG_IAPP -DCONFIG_RSN_PREAUTH -DCONFIG_DRIVER_HOSTAP -DCONFIG_DRIVER_ZYDAS -DEAP_MD5 -DEAP_TLS -DEAP_PEAP -DEAP_TTLS -DEAP_MSCHAPv2 -DEAP_GTC -DEAP_TLV -DEAP_SERVER -DEAP_TLS_FUNCS -DPKCS12_FUNCS -DCONFIG_IPV6 -c -o hostapd.o hostapd.c In file included from hostapd.c:30: hostapd.h:18:22: error: autoconf.h: No such file or directory In file included from hostapd.c:30: hostapd.h:136: warning: ‘struct hostapd_ip_addr’ declared inside parameter list hostapd.h:136: warning: its scope is only this definition or declaration, which is probably not what you want In file included from hostapd.c:42: wpa.h:15: error: ‘PMK_LEN’ undeclared here (not in a function) hostapd.c: In function ‘hostapd_logger’: hostapd.c:79: error: dereferencing pointer to incomplete type hostapd.c:80: error: dereferencing pointer to incomplete type hostapd.c:81: error: dereferencing pointer to incomplete type hostapd.c:82: error: dereferencing pointer to incomplete type hostapd.c:89: error: ‘HOSTAPD_MODULE_IEEE80211’ undeclared (first use in this function) hostapd.c:89: error: (Each undeclared identifier is reported only once hostapd.c:89: error: for each function it appears in.) hostapd.c:92: error: ‘HOSTAPD_MODULE_IEEE8021X’ undeclared (first use in this function) hostapd.c:95: error: ‘HOSTAPD_MODULE_RADIUS’ undeclared (first use in this function) hostapd.c:98: error: ‘HOSTAPD_MODULE_WPA’ undeclared (first use in this function) hostapd.c:101: error: ‘HOSTAPD_MODULE_DRIVER’ undeclared (first use in this function) hostapd.c:104: error: ‘HOSTAPD_MODULE_IAPP’ undeclared (first use in this function) hostapd.c:114: error: dereferencing pointer to incomplete type hostapd.c:118: error: dereferencing pointer to incomplete type hostapd.c:137: error: ‘HOSTAPD_LEVEL_DEBUG_VERBOSE’ undeclared (first use in this function) hostapd.c:138: error: ‘HOSTAPD_LEVEL_DEBUG’ undeclared (first use in this function) hostapd.c:141: error: ‘HOSTAPD_LEVEL_INFO’ undeclared (first use in this function) hostapd.c:144: error: ‘HOSTAPD_LEVEL_NOTICE’ undeclared (first use in this function) hostapd.c:147: error: ‘HOSTAPD_LEVEL_WARNING’ undeclared (first use in this function) hostapd.c: At top level: hostapd.c:165: error: conflicting types for ‘hostapd_ip_txt’ hostapd.h:136: error: previous declaration of ‘hostapd_ip_txt’ was here hostapd.c: In function ‘hostapd_new_assoc_sta’: hostapd.c:205: error: dereferencing pointer to incomplete type hostapd.c:211: error: dereferencing pointer to incomplete type hostapd.c:211: error: dereferencing pointer to incomplete type hostapd.c: In function ‘handle_reload’: hostapd.c:240: warning: implicit declaration of function ‘hostapd_config_read’ hostapd.c:240: warning: assignment makes pointer from integer without a cast hostapd.c:250: warning: implicit declaration of function ‘hostapd_config_free’ hostapd.c: In function ‘hostapd_dump_state’: hostapd.c:265: error: dereferencing pointer to incomplete type hostapd.c:270: error: dereferencing pointer to incomplete type hostapd.c:271: error: dereferencing pointer to incomplete type hostapd.c:274: error: dereferencing pointer to incomplete type hostapd.c: In function ‘hostapd_setup_interface’: hostapd.c:413: error: ‘HOSTAPD_SSID_LEN’ undeclared (first use in this function) hostapd.c:434: error: dereferencing pointer to incomplete type hostapd.c:440: error: dereferencing pointer to incomplete type hostapd.c:441: error: dereferencing pointer to incomplete type hostapd.c:448: error: dereferencing pointer to incomplete type hostapd.c:449: error: dereferencing pointer to incomplete type hostapd.c:449: error: dereferencing pointer to incomplete type hostapd.c:450: error: dereferencing pointer to incomplete type hostapd.c:450: error: dereferencing pointer to incomplete type hostapd.c:454: error: dereferencing pointer to incomplete type hostapd.c:454: error: dereferencing pointer to incomplete type hostapd.c:456: warning: implicit declaration of function ‘hostapd_setup_wpa_psk’ hostapd.c:463: error: dereferencing pointer to incomplete type hostapd.c:464: error: dereferencing pointer to incomplete type hostapd.c:469: error: dereferencing pointer to incomplete type hostapd.c:469: error: ‘HOSTAPD_DEBUG_MSGDUMPS’ undeclared (first use in this function) hostapd.c:470: error: dereferencing pointer to incomplete type hostapd.c:471: error: dereferencing pointer to incomplete type hostapd.c:476: error: dereferencing pointer to incomplete type hostapd.c:479: error: dereferencing pointer to incomplete type hostapd.c:480: error: dereferencing pointer to incomplete type hostapd.c:484: error: dereferencing pointer to incomplete type hostapd.c:500: error: dereferencing pointer to incomplete type hostapd.c:510: error: dereferencing pointer to incomplete type hostapd.c:511: error: dereferencing pointer to incomplete type hostapd.c:413: warning: unused variable ‘ssid’ hostapd.c: In function ‘hostapd_init’: hostapd.c:657: warning: assignment makes pointer from integer without a cast hostapd.c:662: error: dereferencing pointer to incomplete type hostapd.c:668: error: dereferencing pointer to incomplete type hostapd.c:669: error: dereferencing pointer to incomplete type hostapd.c:669: error: dereferencing pointer to incomplete type hostapd.c:675: error: dereferencing pointer to incomplete type hostapd.c:677: error: dereferencing pointer to incomplete type hostapd.c:681: error: dereferencing pointer to incomplete type hostapd.c:683: error: dereferencing pointer to incomplete type hostapd.c:687: error: dereferencing pointer to incomplete type hostapd.c:688: error: dereferencing pointer to incomplete type hostapd.c:690: error: dereferencing pointer to incomplete type hostapd.c:694: error: dereferencing pointer to incomplete type hostapd.c:701: error: dereferencing pointer to incomplete type hostapd.c:703: error: dereferencing pointer to incomplete type hostapd.c:711: error: dereferencing pointer to incomplete type hostapd.c:715: error: dereferencing pointer to incomplete type hostapd.c: In function ‘main’: hostapd.c:796: error: dereferencing pointer to incomplete type hostapd.c:798: error: dereferencing pointer to incomplete type hostapd.c:799: error: dereferencing pointer to incomplete type hostapd.c:803: error: dereferencing pointer to incomplete type make: *** [hostapd.o] Error 1

Плохо все ))

Отправлено: 20:34, 29-02-2008 | #8


Новый участник


Сообщения: 7
Благодарности: 0

Профиль | Отправить PM | Цитировать


а может можно поменять версию ядра на более старую?

Отправлено: 12:15, 03-03-2008 | #9


Аватара для BuGfiX

Слакофил


Сообщения: 590
Благодарности: 130

Профиль | Сайт | Отправить PM | Цитировать


Технически - конечно можно. Практически - тут. Правда под 6.10, но думаю разницы нет (поправьте меня, убунтовцы, если ошибаюсь).

-------
If you don`t know what to use this for, you don`t need it.

http://sergey.sereda.googlepages.com...e1_userbar.gif


Отправлено: 12:27, 03-03-2008 | #10



Компьютерный форум OSzone.net » Linux и FreeBSD » Железо в Linux » Проблема с установкой ZyXEL G-120 EE

Участник сейчас на форуме Участник сейчас на форуме Участник вне форума Участник вне форума Автор темы Автор темы Шапка темы Сообщение прикреплено

Похожие темы
Название темы Автор Информация о форуме Ответов Последнее сообщение
Router - проблема с роутером D-Link DIR-120 aliass Сетевое оборудование 7 12-09-2010 21:47
Router - D-Link DIR 120 проблема игры по сети Call of duty 4 dOR_UA Сетевое оборудование 2 03-03-2009 00:04
Проблема с компом после установки Alcohol 120%!!!! shavardina Непонятные проблемы с Железом 2 01-04-2008 14:06
Проблемы с установкой модема ZyXEL U336-E Merlin de Kamelot Сетевые технологии 1 28-02-2003 15:07




 
Переход