[Previo por Fecha] [Siguiente por Fecha] [Previo por Hilo] [Siguiente por Hilo]

[Hilos de Discusión] [Fecha] [Tema] [Autor]

[Sop.Tec.LinuxPPP] Error al compilar un archivo para instalar un modem



Hola, tengo el siguiente problema tengo un modem Intel® MD563X-HaM y trate
de instalarlo pero me da un error de al compilar y luego me marca que no
estan dos archivos: ham.o y hamcore.o  ¿porque sucede?¿como solucionarlo?

Victor

[root@localhost Intel-v92ham-412-3]# make clean
cd coredrv; make clean
make[1]: Cambiando a directorio `/drivers_modem/Intel-v92ham-412-3/coredrv'
rm -f *.o *~ core
make[1]: Saliendo directorio `/drivers_modem/Intel-v92ham-412-3/coredrv'
cd serialdrv;  make clean
make[1]: Cambiando a directorio
`/drivers_modem/Intel-v92ham-412-3/serialdrv'
rm -f *.o *~ core
make[1]: Saliendo directorio `/drivers_modem/Intel-v92ham-412-3/serialdrv'
rm -f ham.o
rm -f hamcore.o
[root@localhost Intel-v92ham-412-3]# make all
if [ -a /boot/vmlinuz.version.h ]; then cp /boot/vmlinuz.version.h
/lib/modules/`uname -r`/build/include/linux/version.h; fi
cd coredrv; make ham;
make[1]: Cambiando a directorio `/drivers_modem/Intel-v92ham-412-3/coredrv'
cc -DLINUX -Wall -O -I
/lib/modules/`uname -r`/build/include -I../inc    -c -o coredrv.o coredrv.c
In file included from ../inc/hamdefs.h:63,
                 from ../inc/hamcore.h:39,
                 from coredrv.c:33:
/usr/include/linux/modversions.h:1:2: #error Modules should never use
kernel-headers system headers,
/usr/include/linux/modversions.h:2:2: #error but headers from an appropriate
kernel-source
make[1]: *** [coredrv.o] Error 1
make[1]: Saliendo directorio `/drivers_modem/Intel-v92ham-412-3/coredrv'
make: *** [ham] Error 2
[root@localhost Intel-v92ham-412-3]# make install
bash haminst
running kernel 2.4.2-2
installing hamregistry, used for persistant storage
installing hamregistry data
installing ham module
install: cannot stat `ham.o': No existe el fichero o el directorio
installing hamcore module
install: cannot stat `hamcore.o': No existe el fichero o el directorio
redhat hamboot rc2.d and rc3.d scripts
starting module and utilities
insmod: hamcore: no module by that name found
done
[root@localhost Intel-v92ham-412-3]#


---------------------------------------------------------------------
Lista de soporte de LinuxPPP
 Reglas de la lista en http://linuxppp.com/reglas.html



[Hilos de Discusión] [Fecha] [Tema] [Autor]