Re: modem y kernel-source
Uriel, yo buscando en mi equipo encuentro el modversions.h en:
/usr/include/linux/modversions.h
/usr/src/linux-2.4.20-8/include/linux/modversions.h
si tu no lo encontras aqui que tal si probas instalando los kernel-headers que creo que ahi
tambien se encuentra el modversions.h
seguimos hablando
Suerte!!!
--- uriel ospina <urielsimpson@hotmail.com> escribió: > hola lista ojala me puedan seguir
ayudando:
>
> ya solucionado el primer problema creando el vinculo simbolico build a
> /usr/ en el makefile gracias a *Jaidiver Sepulveda
> <jaidipl10@yahoo.com.mx>*
> ahora tengo este problema cuando el "make ham" esta compilado a "coredrv.c"
> utiliza la libreria "module.h" que existe; pero dentro de esta se necesita
> a "modversion.h" que no esta en ningun lado ... aqui va la parte donde la
> solicita el "module.h" :
>
> *************
> ifdef __GENKSYMS__
> define _set_ver(sym) sym
> undef MODVERSIONS
> define MODVERSIONS
> else
> if !defined(MODVERSIONS) && defined(EXPORT_SYMTAB)
> define _set_ver(sym) sym
> include <linux/modversions.h>
> endif
> endif /* __GENKSYMS__ */
> *************
>
> ahora el paso completo "make ham":
>
> ***************************
> #make ham
> Module precompile check
> Current running kernel is: 2.4.18-bf2.4
> /lib/modules... autoconf.h exists
> autoconf.h matches running kernel
> version.h matches running kernel
> cd coredrv; make \
> "PSTN_DEF=-DTARGET_HAM -DDSP_CODE_800_SERIES -DTARGET_LINUX -DLINUX"
> \
> ham;
> make[1]: Entering directory `/mnt/info/drivers/Intel-v92ham-453/coredrv'
> cc -DTARGET_HAM -DDSP_CODE_800_SERIES -DTARGET_LINUX -DLINUX -Wall -O
> -I /lib/modules/`uname -r`/build/include -I../inc -c -o coredrv.o
> coredrv.c
> In file included from coredrv.c:37:
> /lib/modules/2.4.18-bf2.4/build/include/linux/module.h:21:
> linux/modversions.h: No such file or directory
> make [1]: *** [coredrv.o] Error 1
> make[1]: Leaving directory `/mnt/info/drivers/Intel-v92ham-453/coredrv'
> make: *** [ham] Error 2
> ****************************
>
> agradesco de antemano la colaboracion y espero haberme hecho entender.
>
=====
Jaidiver Sepulveda Parra
Ingeniero de Sistemas - Universidad Católica de Oriente
Miembro GNUCONIX
(Grupo de Investigaciones de Aplicaciones GNU y Sistemas UNIX)
Usuario Registrado de Linux #317350
TEL: 57 + 4 + 5315845
URL: http://jaidiver.greatnow.com
email: jaidipl10@yahoo.com.mx
_________________________________________________________
Do You Yahoo!?
Información de Estados Unidos y América Latina, en Yahoo! Noticias.
Visítanos en http://noticias.espanol.yahoo.com
Reply to: