Caros,

Desculpem a ignorancia mas,

aqui no trabalho tenho a estacao linux Conec 8 e n consigo compilar o sis7012.o para subi-lo.

Seguindo as instrucoes de como proceder, me deparei com erros na hora do `make`. diz q o src do kernel n esta no lugar correto. N seria:

/usr/src/linux-2.4.18/XXXXX

Onde tem XXXXX deve ter o kernel src RPM?




O erro eh esse:

# make
gcc -D__KERNEL__ -Wstrict-prototypes -pipe -DMODULE -Wall -O2 -fomit-frame-pointer -DMODVERSIONS -DEXPORT_SYMTAB -include/usr/src/linux-2.4.18/include/linux/modversions.h -I./ -I/usr/src/linux-2.4.18/include -ffixed-8 -c -o src/sndobj.o src/sndobj.c
In file included from src/sndobj.c:9:
/usr/include/linux/modversions.h:1: #error Modules should never use kernel-headers system headers,
/usr/include/linux/modversions.h:2: #error but headers from an appropriate kernel-source
In file included from src/sndobj.c:52:
/usr/include/linux/malloc.h:4: warning: #warning linux/malloc.h is deprecated, use linux/slab.h instead.
src/sndobj.c:115: warning: static declaration for `no_llseek´ follows non-static
make: *** [src/sndobj.o] Error 1


[ Esta mensagem foi editada por: NoiseMaster em 11-03-2003 14:04 ]