I'm running Debian, woody, with 2.4.25 kernel. I'm trying to compile drivers for the Conexant modem using gcc 2.95.4.
I'm following a tutorial at
http://www.unixhead.org/docs/conexan...ant-howto.html
I'm stuck at compiling modem drivers.
I tried using driver included with that tutorial and "cleaned up" driver for kernel 2.4.20 from
www.data-technics.net/content.php?cat=3,
they both return same error.
Output from gcc:
Code:
In file included from /usr/include/linux/skbuff.h:19,
from LnxTools.h:41,
from ARMAbstract.c:34:
/usr/include/linux/sched.h: At top level:
/usr/include/linux/sched.h:807: conflicting types for `kernel_thread'
/usr/include/asm/processor.h:432: previous declaration of `kernel_thread'
In file included from LnxTools.h:42,
from ARMAbstract.c:34:
/usr/include/string.h:37: parse error before `?'
/usr/include/string.h:55: parse error before `?'
In file included from CardALTigrisHal.h:36,
from ChipALCdsl.h:750,
from CardMgmt.h:367,
from CnxADSL.h:41,
from ARMAbstract.c:43:
types.h:52: parse error before `1234'
make[1]: *** [ARMAbstract.o] Error 1
make[1]: Leaving directory `/root/driver/usr/src/CnxADSL-TgrATM_k2.4.3-6.1.2.007/KernelModule'
make: *** [all] Error 2
Any ideas?
Edit:
You might find this useful:
Code:
Taurus:~/driver/usr/src/CnxADSL-TgrATM_k2.4.3-6.1.2.007# lspci
00:00.0 Host bridge: Silicon Integrated Systems [SiS] 730 Host (rev 02)
00:00.1 IDE interface: Silicon Integrated Systems [SiS] 5513 [IDE] (rev d0)
00:01.0 ISA bridge: Silicon Integrated Systems [SiS] 85C503/5513
00:01.1 Ethernet controller: Silicon Integrated Systems [SiS] SiS900 10/100 Ethernet (rev 82)
00:01.2 USB Controller: Silicon Integrated Systems [SiS] 7001 (rev 07)
00:01.3 USB Controller: Silicon Integrated Systems [SiS] 7001 (rev 07)
00:01.4 Multimedia audio controller: Silicon Integrated Systems [SiS] SiS PCI Audio Accelerator (rev 02)
00:02.0 PCI bridge: Silicon Integrated Systems [SiS] 5591/5592 AGP
00:0b.0 System peripheral: Conexant: Unknown device 1610 (rev 01)
00:0b.1 ATM network controller: Conexant: Unknown device 1611 (rev 01)
01:00.0 VGA compatible controller: Silicon Integrated Systems [SiS] SiS630 GUI Accelerator+3D (rev 31)