Перелапатил весь поиск и не чего не нашел.
Система MDK10.1 kernel2.6.8 , но в дровах для модема Zyxel 56KPCI на чипе PCTel нет поддержки ядра 2.6.8.
Вот это: http://geocities.yahoo.com.br/ricardowongb...el/pctel.tar.gz тоже не идет, мож я нето делаю?
(запускал и ./configure -auto и ./configure -exp все равно выскакивает с ошибкой)
Чего делать?
модем Zyxel 56K pci (как с поддержкой ядра 2.6.8)
Модератор: Модераторы разделов
-
koturod
- Сообщения: 35
модем Zyxel 56K pci
Это все конечно интересно, но не до такой же степени. koturod.ru
-
koturod
- Сообщения: 35
Re: модем Zyxel 56K pci
Вот вывод с консоли :
./configure -exp
checking for running kernel version...** error
your kernel version is: 2.6.8
this package supports only 2.4.x kernels.
enable experimental 2.6 kernel support.
Please read the FAQ about kernel 2.6 experimental support
patching file ptserial-2.4.7.c
patching file Makefile.orig
patching file FAQ
2.6.8
checking for ptserial...ptserial-2.6.0.c
checking for gcc...3.4.1
searching for kernel includes...found at /usr/src/linux/include
checking for autoconf.h e irq_vectors.h .../usr/src/linux/include/linux/autoconf.h -I/usr/src/linux/include/asm/mach-default
checking for kernel_version...UTS_RELEASE is 2.6.8.1-10mdk
detecting your modem...found. Your modem is a pct789 type modem.
compiling the driver...** error
please read the FAQ about reporting compilation problems
and report this problem.
А вот файл compile.out :
gcc -Wp,-MD,./.ptmodule.o.d -fno-strength-reduce -DVERSION=\"0.9.7-6\" -DGCC_VERSION=\"3.4.1\" -DMODVERSIONS -DEXPORT_SYMTAB -DBUILD_SYSTEM=\""`uname -s -m -r -p`\"" -I/usr/src/linux/include -DHAL_PCT789 -include /usr/src/linux/include/linux/autoconf.h -I/usr/src/linux/include/asm/mach-default -Werror -D__KERNEL__ -Iinclude -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -pipe -mpreferred-stack-boundary=2 -march=k6 -fomit-frame-pointer -nostdinc -iwithprefix include -DMODULE -DKBUILD_BASENAME=ptserial -DKBUILD_MODNAME=pctel -c -o ptmodule.o ptmodule.c
as vuart.s -o vuart.o
gcc -Wp,-MD,./.ptserial.o.d -fno-strength-reduce -DVERSION=\"0.9.7-6\" -DGCC_VERSION=\"3.4.1\" -DMODVERSIONS -DEXPORT_SYMTAB -DBUILD_SYSTEM=\""`uname -s -m -r -p`\"" -I/usr/src/linux/include -DHAL_PCT789 -include /usr/src/linux/include/linux/autoconf.h -I/usr/src/linux/include/asm/mach-default -Werror -D__KERNEL__ -Iinclude -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -pipe -mpreferred-stack-boundary=2 -march=k6 -fomit-frame-pointer -nostdinc -iwithprefix include -DMODULE -DKBUILD_BASENAME=pctel -DKBUILD_MODNAME=pctel -c -o ptserial.o ptserial-2.6.0.c
ptserial-2.6.0.c: In function `check_modem_status':
ptserial-2.6.0.c:931: error: `ASYNC_CALLOUT_ACTIVE' undeclared (first use in this function)
ptserial-2.6.0.c:931: error: (Each undeclared identifier is reported only once
ptserial-2.6.0.c:931: error: for each function it appears in.)
ptserial-2.6.0.c: In function `rs_close':
ptserial-2.6.0.c:2866: error: `ASYNC_CALLOUT_ACTIVE' undeclared (first use in this function)
ptserial-2.6.0.c: In function `rs_hangup':
ptserial-2.6.0.c:2954: error: `ASYNC_CALLOUT_ACTIVE' undeclared (first use in this function)
ptserial-2.6.0.c: In function `block_til_ready':
ptserial-2.6.0.c:3024: error: `ASYNC_CALLOUT_ACTIVE' undeclared (first use in this function)
ptserial-2.6.0.c: In function `get_pci_irq':
ptserial-2.6.0.c:3893: error: structure has no member named `irq_resource'
make: *** [ptserial.o] Ошибка 1
Ошибка при компиляции дров, как ее побороть?
./configure -exp
checking for running kernel version...** error
your kernel version is: 2.6.8
this package supports only 2.4.x kernels.
enable experimental 2.6 kernel support.
Please read the FAQ about kernel 2.6 experimental support
patching file ptserial-2.4.7.c
patching file Makefile.orig
patching file FAQ
2.6.8
checking for ptserial...ptserial-2.6.0.c
checking for gcc...3.4.1
searching for kernel includes...found at /usr/src/linux/include
checking for autoconf.h e irq_vectors.h .../usr/src/linux/include/linux/autoconf.h -I/usr/src/linux/include/asm/mach-default
checking for kernel_version...UTS_RELEASE is 2.6.8.1-10mdk
detecting your modem...found. Your modem is a pct789 type modem.
compiling the driver...** error
please read the FAQ about reporting compilation problems
and report this problem.
А вот файл compile.out :
gcc -Wp,-MD,./.ptmodule.o.d -fno-strength-reduce -DVERSION=\"0.9.7-6\" -DGCC_VERSION=\"3.4.1\" -DMODVERSIONS -DEXPORT_SYMTAB -DBUILD_SYSTEM=\""`uname -s -m -r -p`\"" -I/usr/src/linux/include -DHAL_PCT789 -include /usr/src/linux/include/linux/autoconf.h -I/usr/src/linux/include/asm/mach-default -Werror -D__KERNEL__ -Iinclude -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -pipe -mpreferred-stack-boundary=2 -march=k6 -fomit-frame-pointer -nostdinc -iwithprefix include -DMODULE -DKBUILD_BASENAME=ptserial -DKBUILD_MODNAME=pctel -c -o ptmodule.o ptmodule.c
as vuart.s -o vuart.o
gcc -Wp,-MD,./.ptserial.o.d -fno-strength-reduce -DVERSION=\"0.9.7-6\" -DGCC_VERSION=\"3.4.1\" -DMODVERSIONS -DEXPORT_SYMTAB -DBUILD_SYSTEM=\""`uname -s -m -r -p`\"" -I/usr/src/linux/include -DHAL_PCT789 -include /usr/src/linux/include/linux/autoconf.h -I/usr/src/linux/include/asm/mach-default -Werror -D__KERNEL__ -Iinclude -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -pipe -mpreferred-stack-boundary=2 -march=k6 -fomit-frame-pointer -nostdinc -iwithprefix include -DMODULE -DKBUILD_BASENAME=pctel -DKBUILD_MODNAME=pctel -c -o ptserial.o ptserial-2.6.0.c
ptserial-2.6.0.c: In function `check_modem_status':
ptserial-2.6.0.c:931: error: `ASYNC_CALLOUT_ACTIVE' undeclared (first use in this function)
ptserial-2.6.0.c:931: error: (Each undeclared identifier is reported only once
ptserial-2.6.0.c:931: error: for each function it appears in.)
ptserial-2.6.0.c: In function `rs_close':
ptserial-2.6.0.c:2866: error: `ASYNC_CALLOUT_ACTIVE' undeclared (first use in this function)
ptserial-2.6.0.c: In function `rs_hangup':
ptserial-2.6.0.c:2954: error: `ASYNC_CALLOUT_ACTIVE' undeclared (first use in this function)
ptserial-2.6.0.c: In function `block_til_ready':
ptserial-2.6.0.c:3024: error: `ASYNC_CALLOUT_ACTIVE' undeclared (first use in this function)
ptserial-2.6.0.c: In function `get_pci_irq':
ptserial-2.6.0.c:3893: error: structure has no member named `irq_resource'
make: *** [ptserial.o] Ошибка 1
Ошибка при компиляции дров, как ее побороть?
Это все конечно интересно, но не до такой же степени. koturod.ru
-
ami
- Сообщения: 210
- Статус: awb
- ОС: FreeBSD
Re: модем Zyxel 56K pci
http://ru.gentoo-wiki.com/Linmodems#PCTel
http://www.opennet.ru/docs/HOWTO-RU/PCTel-...g-ru/index.html
http://linmodems.nm.ru/pctel/
http://pctelcompdb.sourceforge.net/
Рекомендую посмотреть.
Может ядро просто уж слновое.
http://www.opennet.ru/docs/HOWTO-RU/PCTel-...g-ru/index.html
http://linmodems.nm.ru/pctel/
http://pctelcompdb.sourceforge.net/
Рекомендую посмотреть.
Может ядро просто уж слновое.
work: ubuntu-server (freebsd for www)
home: freebsd
home: freebsd
-
koturod
- Сообщения: 35
Re: модем Zyxel 56K pci
Это я уже читал там все для kernel 2.4 а у меня 2.6.8
Это все конечно интересно, но не до такой же степени. koturod.ru