[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Instalando driver + nucleo + compilando + avanzando



>> Muchas gracias bueno ya puedo compilar el archivo pero me sale el siguiente error :
>>
>> make
>> gcc -Wall -DLINUX -D__KERNEL__ -DMODULE -DEXPORT_SYMTAB -O2 -pipe -I/usr/src/linux/include -I. -Wstrict-prototypes -fomit-frame-pointer    -c -o viafbdev.o viafbdev.c
>> In file included from /usr/src/linux/include/linux/spinlock.h:6,
>>                  from /usr/src/linux/include/linux/module.h:12,
>>                  from viafbdev.c:27:
>> /usr/src/linux/include/asm/system.h: In function `__set_64bit_var':
>> /usr/src/linux/include/asm/system.h:190: warning: dereferencing type-punned pointer will break strict-aliasing rules
>> /usr/src/linux/include/asm/system.h:190: warning: dereferencing type-punned pointer will break strict-aliasing rules
>> In file included from viafbdev.c:27:
>> /usr/src/linux/include/linux/module.h:22:34: linux/modversions.h: No such file or directory

AQUI ESTA el problema modversions.h esta en otra ruta

>> viafbdev.c: In function `via_set_disp':
>> viafbdev.c:597: warning: unused variable `ii'
>> viafbdev.c:598: warning: unused variable `p'
>> viafbdev.c:600: warning: unused variable `isaccel'
>> viafbdev.c: At top level:
>> viafbdev.c:1880: warning: function declaration isn't a prototype
>> viafbdev.c: In function `viafb_setup':
>> viafbdev.c:2409: warning: assignment makes pointer from integer without a cast
>> viafbdev.c: At top level:
>> viafbdev.c:2425: warning: initialization from incompatible pointer type
>> accel.h:76: warning: `MAX_CURS' defined but not used
>> accel.h:77: warning: `HW_Cursor_Init' defined but not used
>> viafbdev.c:192: warning: `via_bmove' defined but not used
>> viafbdev.c:197: warning: `via_clear_helper' defined but not used
>> make: *** [viafbdev.o] Error 1
>
>usas por alguna razón especial 2.4 en lugar de 2.6?
>Por qué ya que vas a compilar..

Voy a instalar Ultramonkey y me uno de los requerimientos el nucleo 2.4. Ya lo instale sobre 2.6 pero a pesar de instalar me recomienda nucleo 2.6 si alguien tiene experiencia con Ultramonkey y tiene un comentario al respecto bien venido sea.






------------------------------------------------------
Este correo fue enviado por mail.emax.com.pe





Reply to: