[Primipassi] Michelangelo ADSL PCI Modem Driver Compile
Federico
felemm@tin.it
Mar 22 Lug 2003 16:15:04 CEST
Ciao a tutti.
Sto cercando di installare il Digicom Michelangelo PCI
su una Suse 8.0 (Kernel 2.4.18-4GB),
seguendo la procedura trovata su
http://patrick.spacesurfer.com/linux_conexant_pci_adsl.html
Ho installato ppp, atm.
Il problema è nella compilazione del driver Conexant.
Copio il driver .bz2, scompatto il .tar che ne deriva in /usr/src/
poi da /usr/src/CnxADSL-TgrATM_k2.4.20-8-1 lancio make e ricevo errori:
linux:/usr/src/CnxADSL-TgrATM_k2.4.20-8-1 # make
for n in KernelModule/DpController; \
do if [ -d $n ]; then make -C $n all || exit; fi; done
for n in KernelModule DownLoadApp; do make -C $n all || exit; done
make[1]: Entering directory
`/usr/src/CnxADSL-TgrATM_k2.4.20-8-1/KernelModule'
cc -D__KERNEL__ -DMODULE -DCPU=486 -march=i486 -DUTS_MACHINE='"i386"' -c -O2
-DNDIS_MINIPORT_DRIVER -DOS_LINUX -Wall -Wno-multichar -nostdinc -I
PROJECT_NAME_TIGRIS -I. -I../ -I/usr/src/linux/include -I/usr/src/linux/incl
ude/linux -c -o ARMAbstract.o ARMAbstract.c
In file included from ARMAbstract.c:34:
LnxTools.h:39: linux/kernel.h: No such file or directory
LnxTools.h:40: linux/config.h: No such file or directory
LnxTools.h:41: linux/skbuff.h: No such file or directory
LnxTools.h:42: string.h: No such file or directory
LnxTools.h:43: delay.h: No such file or directory
LnxTools.h:45: linux/version.h: No such file or directory
LnxTools.h:46: parse error
ARMAbstract.c:35: delay.h: No such file or directory
In file included from ARMAbstract.c:43:
CnxADSL.h:33: linux/kernel.h: No such file or directory
CnxADSL.h:34: linux/config.h: No such file or directory
CnxADSL.h:35: linux/atm.h: No such file or directory
CnxADSL.h:37: linux/atmdev.h: No such file or directory
CnxADSL.h:38: linux/pci.h: No such file or directory
CnxADSL.h:39: linux/skbuff.h: No such file or directory
In file included from CnxADSL.h:41,
from ARMAbstract.c:43:
CardMgmt.h:37: linux/kernel.h: No such file or directory
CardMgmt.h:38: linux/config.h: No such file or directory
CardMgmt.h:39: linux/atm.h: No such file or directory
CardMgmt.h:41: linux/atmdev.h: No such file or directory
CardMgmt.h:42: linux/pci.h: No such file or directory
CardMgmt.h:43: linux/skbuff.h: No such file or directory
In file included from CardMgmt.h:48,
from CnxADSL.h:41,
from ARMAbstract.c:43:
UtilDbg.h:34: linux/kernel.h: No such file or directory
In file included from types.h:27,
from CardALTigrisHal.h:36,
from ChipALCdsl.h:749,
from CardMgmt.h:367,
from CnxADSL.h:41,
from ARMAbstract.c:43:
project.h:30: limits.h: No such file or directory
In file included from ChipALCdslV.h:347,
from ARMAbstract.c:46:
CardALTigrisHalV.h:40: asm/atomic.h: No such file or directory
make[1]: *** [ARMAbstract.o] Error 1
make[1]: Leaving directory
`/usr/src/CnxADSL-TgrATM_k2.4.20-8-1/KernelModule'
make: *** [all] Error 2
linux:/usr/src/CnxADSL-TgrATM_k2.4.20-8-1 #
questi file che cerca sicuramente li ho! (Credo)
Ad esempio atm.h è in /usr/include
Come si fa a fargli usare i file nelle posizioni giuste?
Grazie dell'aiuto.
Ciao
Maggiori informazioni sulla lista
primipassi