hola a todos estoy migrando a suse 8.2 y tengo problemas al instalar * estos son los mensajes al compilar el zaptel :
Alguna idea ? saludos...
make clean ; make install
rm -f torisatool makefw tor2fw.h
rm -f zttool
rm -f *.o ztcfg tzdriver sethdlc sethdlc-new
rm -f zonedata.lo tonezone.lo libtonezone.so.1.0 *.lo
rm -f *.ko .mod.c .o.cmd
rm -f gendigits tones.h
rm -f libtonezone*
rm -f tor2ee
rm -f core
cc -I. -O4 -g -Wall -DBUILDING_TONEZONE -DSTANDALONE_ZAPATA -DZAPTEL_CONFIG=\
"/etc/zaptel.conf\" -c -o gendigits.o gendigits.c
cc -o gendigits gendigits.o -lm
./gendigits
gcc -I/usr/src/linux-2.4/include -O6 -DMODULE -DKERNEL -DEXPORT_SYMTAB -I/us
r/src/linux/drivers/net -Wall -I. -Wstrict-prototypes -fomit-frame-pointer -I/us
r/src/linux/drivers/net/wan -I /usr/src/linux/include -I/usr/src/linux/include/n
et -DSTANDALONE_ZAPATA -c zaptel.c
In file included from zconfig.h:10,
from zaptel.c:40:
/usr/include/linux/version.h:2:2: #error "======================================
================="
/usr/include/linux/version.h:3:2: #error "You should not include /usr/include/{l
inux,asm}/ header"
/usr/include/linux/version.h:4:2: #error "files directly for the compilation of
kernel modules."
/usr/include/linux/version.h:5:2: #error ""
/usr/include/linux/version.h:6:2: #error "glibc now uses kernel header files fro
m a well-defined"
/usr/include/linux/version.h:7:2: #error "working kernel version (as recommended
by Linus Torvalds)"
/usr/include/linux/version.h:8:2: #error "These files are glibc internal and may
not match the"
/usr/include/linux/version.h:9:2: #error "currently running kernel. They should
only be"
/usr/include/linux/version.h:10:2: #error "included via other system header file
s - user space"
/usr/include/linux/version.h:11:2: #error "programs should not directly include
<linux/.h> or"
/usr/include/linux/version.h:12:2: #error "<asm/.h> as well."
/usr/include/linux/version.h:13:2: #error ""
/usr/include/linux/version.h:14:2: #error "To build kernel modules please do the
following:"
/usr/include/linux/version.h:15:2: #error ""
/usr/include/linux/version.h:16:2: #error " o Have the kernel sources installed"
/usr/include/linux/version.h:17:2: #error ""
/usr/include/linux/version.h:18:2: #error " o Make sure that the symbolic link"
/usr/include/linux/version.h:19:2: #error " /lib/modules/uname -r/build exis
ts and points to"
/usr/include/linux/version.h:20:2: #error " the matching kernel source directo
ry"
/usr/include/linux/version.h:21:2: #error ""
/usr/include/linux/version.h:22:2: #error " o Now copy /boot/vmlinuz.version.h t
o"
/usr/include/linux/version.h:23:2: #error " /lib/modules/uname -r/build/incl
ude/linux/version.h"
/usr/include/linux/version.h:24:2: #error ""
/usr/include/linux/version.h:25:2: #error " o When compiling, make sure to use t
he following"
/usr/include/linux/version.h:26:2: #error " compiler option to use the correct
include files:"
/usr/include/linux/version.h:27:2: #error ""
/usr/include/linux/version.h:28:2: #error " -I/lib/modules/uname -r/build/in
clude"
/usr/include/linux/version.h:29:2: #error ""
/usr/include/linux/version.h:30:2: #error " instead of"
/usr/include/linux/version.h:31:2: #error ""
/usr/include/linux/version.h:32:2: #error " -I/usr/include/linux"
/usr/include/linux/version.h:33:2: #error ""
/usr/include/linux/version.h:34:2: #error " Please adjust the Makefile accordi
ngly."
/usr/include/linux/version.h:35:2: #error "=====================================
=================="
In file included from zaptel.c:40:
zconfig.h:66:41: missing binary operator before token "("
In file included from zaptel.c:44:
/usr/include/linux/module.h:20:34: linux/modversions.h: No such file or director
y
In file included from /usr/include/linux/module.h:297,
from zaptel.c:44:
/usr/include/linux/version.h:2:2: #error "======================================
================="
/usr/include/linux/version.h:3:2: #error "You should not include /usr/include/{l
inux,asm}/ header"
/usr/include/linux/version.h:4:2: #error "files directly for the compilation of
kernel modules."
/usr/include/linux/version.h:5:2: #error ""
/usr/include/linux/version.h:6:2: #error "glibc now uses kernel header files fro
m a well-defined"
/usr/include/linux/version.h:7:2: #error "working kernel version (as recommended
by Linus Torvalds)"
/usr/include/linux/version.h:8:2: #error "These files are glibc internal and may
not match the"
/usr/include/linux/version.h:9:2: #error "currently running kernel. They should
only be"
/usr/include/linux/version.h:10:2: #error "included via other system header file
s - user space"
/usr/include/linux/version.h:11:2: #error "programs should not directly include
<linux/.h> or"
/usr/include/linux/version.h:12:2: #error "<asm/.h> as well."
/usr/include/linux/version.h:13:2: #error ""
/usr/include/linux/version.h:14:2: #error "To build kernel modules please do the
following:"
/usr/include/linux/version.h:15:2: #error ""
/usr/include/linux/version.h:16:2: #error " o Have the kernel sources installed"
/usr/include/linux/version.h:17:2: #error ""
/usr/include/linux/version.h:18:2: #error " o Make sure that the symbolic link"
/usr/include/linux/version.h:19:2: #error " /lib/modules/uname -r/build exis
ts and points to"
/usr/include/linux/version.h:20:2: #error " the matching kernel source directo
ry"
/usr/include/linux/version.h:21:2: #error ""
/usr/include/linux/version.h:22:2: #error " o Now copy /boot/vmlinuz.version.h t
o"
/usr/include/linux/version.h:23:2: #error " /lib/modules/uname -r/build/incl
ude/linux/version.h"
/usr/include/linux/version.h:24:2: #error ""
/usr/include/linux/version.h:25:2: #error " o When compiling, make sure to use t
he following"
/usr/include/linux/version.h:26:2: #error " compiler option to use the correct
include files:"
/usr/include/linux/version.h:27:2: #error ""
/usr/include/linux/version.h:28:2: #error " -I/lib/modules/uname -r/build/in
clude"
/usr/include/linux/version.h:29:2: #error ""
/usr/include/linux/version.h:30:2: #error " instead of"
/usr/include/linux/version.h:31:2: #error ""
/usr/include/linux/version.h:32:2: #error " -I/usr/include/linux"
/usr/include/linux/version.h:33:2: #error ""
/usr/include/linux/version.h:34:2: #error " Please adjust the Makefile accordi
ngly."
/usr/include/linux/version.h:35:2: #error "=====================================
=================="
In file included from zaptel.c:44:
/usr/include/linux/module.h:299: error: parse error before "UTS_RELEASE"
In file included from zaptel.c:48:
/usr/include/linux/version.h:2:2: #error "======================================
================="
/usr/include/linux/version.h:3:2: #error "You should not include /usr/include/{l
inux,asm}/ header"
/usr/include/linux/version.h:4:2: #error "files directly for the compilation of
kernel modules."
/usr/include/linux/version.h:5:2: #error ""
/usr/include/linux/version.h:6:2: #error "glibc now uses kernel header files fro
m a well-defined"
/usr/include/linux/version.h:7:2: #error "working kernel version (as recommended
by Linus Torvalds)"
/usr/include/linux/version.h:8:2: #error "These files are glibc internal and may
not match the"
/usr/include/linux/version.h:9:2: #error "currently running kernel. They should
only be"
/usr/include/linux/version.h:10:2: #error "included via other system header file
s - user space"
/usr/include/linux/version.h:11:2: #error "programs should not directly include
<linux/.h> or"
/usr/include/linux/version.h:12:2: #error "<asm/.h> as well."
/usr/include/linux/version.h:13:2: #error ""
/usr/include/linux/version.h:14:2: #error "To build kernel modules please do the
following:"
/usr/include/linux/version.h:15:2: #error ""
/usr/include/linux/version.h:16:2: #error " o Have the kernel sources installed"
/usr/include/linux/version.h:17:2: #error ""
/usr/include/linux/version.h:18:2: #error " o Make sure that the symbolic link"
/usr/include/linux/version.h:19:2: #error " /lib/modules/uname -r/build exis
ts and points to"
/usr/include/linux/version.h:20:2: #error " the matching kernel source directo
ry"
/usr/include/linux/version.h:21:2: #error ""
/usr/include/linux/version.h:22:2: #error " o Now copy /boot/vmlinuz.version.h t
o"
/usr/include/linux/version.h:23:2: #error " /lib/modules/uname -r/build/incl
ude/linux/version.h"
/usr/include/linux/version.h:24:2: #error ""
/usr/include/linux/version.h:25:2: #error " o When compiling, make sure to use t
he following"
/usr/include/linux/version.h:26:2: #error " compiler option to use the correct
include files:"
/usr/include/linux/version.h:27:2: #error ""
/usr/include/linux/version.h:28:2: #error " -I/lib/modules/uname -r/build/in
clude"
/usr/include/linux/version.h:29:2: #error ""
/usr/include/linux/version.h:30:2: #error " instead of"
/usr/include/linux/version.h:31:2: #error ""
/usr/include/linux/version.h:32:2: #error " -I/usr/include/linux"
/usr/include/linux/version.h:33:2: #error ""
/usr/include/linux/version.h:34:2: #error " Please adjust the Makefile accordi
ngly."
/usr/include/linux/version.h:35:2: #error "=====================================
=================="
In file included from zaptel.c:79:
fasthdlc.h: In function fasthdlc_rx_run':
fasthdlc.h:422: warning: comparison between signed and unsigned
In file included from zaptel.h:36,
from zaptel.c:82:
/usr/include/linux/version.h:2:2: #error "======================================
================="
/usr/include/linux/version.h:3:2: #error "You should not include /usr/include/{l
inux,asm}/ header"
/usr/include/linux/version.h:4:2: #error "files directly for the compilation of
kernel modules."
/usr/include/linux/version.h:5:2: #error ""
/usr/include/linux/version.h:6:2: #error "glibc now uses kernel header files fro
m a well-defined"
/usr/include/linux/version.h:7:2: #error "working kernel version (as recommended
by Linus Torvalds)"
/usr/include/linux/version.h:8:2: #error "These files are glibc internal and may
not match the"
/usr/include/linux/version.h:9:2: #error "currently running kernel. They should
only be"
/usr/include/linux/version.h:10:2: #error "included via other system header file
s - user space"
/usr/include/linux/version.h:11:2: #error "programs should not directly include
<linux/*.h> or"
/usr/include/linux/version.h:12:2: #error "<asm/*.h> as well."
/usr/include/linux/version.h:13:2: #error ""
/usr/include/linux/version.h:14:2: #error "To build kernel modules please do the
following:"
/usr/include/linux/version.h:15:2: #error ""
/usr/include/linux/version.h:16:2: #error " o Have the kernel sources installed"
/usr/include/linux/version.h:17:2: #error ""
/usr/include/linux/version.h:18:2: #error " o Make sure that the symbolic link"
/usr/include/linux/version.h:19:2: #error " /lib/modules/uname -r/build exis
ts and points to"
/usr/include/linux/version.h:20:2: #error " the matching kernel source directo
ry"
/usr/include/linux/version.h:21:2: #error ""
/usr/include/linux/version.h:22:2: #error " o Now copy /boot/vmlinuz.version.h t
o"
/usr/include/linux/version.h:23:2: #error " /lib/modules/uname -r/build/incl
ude/linux/version.h"
/usr/include/linux/version.h:24:2: #error ""
/usr/include/linux/version.h:25:2: #error " o When compiling, make sure to use t
he following"
/usr/include/linux/version.h:26:2: #error " compiler option to use the correct
include files:"
/usr/include/linux/version.h:27:2: #error ""
/usr/include/linux/version.h:28:2: #error " -I/lib/modules/uname -r/build/in
clude"
/usr/include/linux/version.h:29:2: #error ""
/usr/include/linux/version.h:30:2: #error " instead of"
/usr/include/linux/version.h:31:2: #error ""
/usr/include/linux/version.h:32:2: #error " -I/usr/include/linux"
/usr/include/linux/version.h:33:2: #error ""
/usr/include/linux/version.h:34:2: #error " Please adjust the Makefile accordi
ngly."
/usr/include/linux/version.h:35:2: #error "=====================================
=================="
In file included from zaptel.c:82:
zaptel.h:47:41: missing binary operator before token "("
zaptel.c: At top level:
zaptel.c:120: error: parse error before "config_must_be_included_before_module"
zaptel.c:120: warning: type defaults toint' in declaration of config_must_be_
included_before_module'
zaptel.c:120: warning: data definition has no type or storage class
zaptel.c:121: error: parse error before "config_must_be_included_before_module"
zaptel.c:121: warning: type defaults toint' in declaration of config_must_be_
included_before_module'
zaptel.c:121: warning: data definition has no type or storage class
zaptel.c:122: error: parse error before "config_must_be_included_before_module"
zaptel.c:122: warning: type defaults toint' in declaration of config_must_be_
included_before_module'
zaptel.c:122: warning: data definition has no type or storage class
zaptel.c:123: error: parse error before "config_must_be_included_before_module"
zaptel.c:123: warning: type defaults toint' in declaration of config_must_be_
included_before_module'
zaptel.c:123: warning: data definition has no type or storage class
zaptel.c:124: error: parse error before "config_must_be_included_before_module"
zaptel.c:124: warning: type defaults toint' in declaration of config_must_be_
included_before_module'
zaptel.c:124: warning: data definition has no type or storage class
zaptel.c:125: error: parse error before "config_must_be_included_before_module"
zaptel.c:125: warning: type defaults toint' in declaration of config_must_be_
included_before_module'
zaptel.c:125: warning: data definition has no type or storage class
zaptel.c:130: error: parse error before "config_must_be_included_before_module"
zaptel.c:130: warning: type defaults toint' in declaration of config_must_be_
included_before_module'
zaptel.c:130: warning: data definition has no type or storage class
zaptel.c:131: error: parse error before "config_must_be_included_before_module"
zaptel.c:131: warning: type defaults toint' in declaration of config_must_be_
included_before_module'
zaptel.c:131: warning: data definition has no type or storage class
zaptel.c:133: error: parse error before "config_must_be_included_before_module"
zaptel.c:133: warning: type defaults toint' in declaration of config_must_be_
included_before_module'
zaptel.c:133: warning: data definition has no type or storage class
zaptel.c:134: error: parse error before "config_must_be_included_before_module"
zaptel.c:134: warning: type defaults toint' in declaration of config_must_be_
included_before_module'
zaptel.c:134: warning: data definition has no type or storage class
zaptel.c:135: error: parse error before "config_must_be_included_before_module"
zaptel.c:135: warning: type defaults toint' in declaration of config_must_be_
included_before_module'
zaptel.c:135: warning: data definition has no type or storage class
zaptel.c:136: error: parse error before "config_must_be_included_before_module"
zaptel.c:136: warning: type defaults toint' in declaration of config_must_be_
included_before_module'
zaptel.c:136: warning: data definition has no type or storage class
zaptel.c:137: error: parse error before "config_must_be_included_before_module"
zaptel.c:137: warning: type defaults toint' in declaration of config_must_be_
included_before_module'
zaptel.c:137: warning: data definition has no type or storage class
zaptel.c:138: error: parse error before "config_must_be_included_before_module"
zaptel.c:138: warning: type defaults toint' in declaration of config_must_be_
included_before_module'
zaptel.c:138: warning: data definition has no type or storage class
zaptel.c:139: error: parse error before "config_must_be_included_before_module"
zaptel.c:139: warning: type defaults toint' in declaration of config_must_be_
included_before_module'
zaptel.c:139: warning: data definition has no type or storage class
zaptel.c:140: error: parse error before "config_must_be_included_before_module"
zaptel.c:140: warning: type defaults toint' in declaration of config_must_be_
included_before_module'
zaptel.c:140: warning: data definition has no type or storage class
zaptel.c:141: error: parse error before "config_must_be_included_before_module"
zaptel.c:141: warning: type defaults toint' in declaration of config_must_be_
included_before_module'
zaptel.c:141: warning: data definition has no type or storage class
zaptel.c:142: error: parse error before "config_must_be_included_before_module"
zaptel.c:142: warning: type defaults toint' in declaration of config_must_be_
included_before_module'
zaptel.c:142: warning: data definition has no type or storage class
zaptel.c: In functionzt_q_sig':
zaptel.c:406: warning: comparison between signed and unsigned
zaptel.c: In function ioctl_load_zone':
zaptel.c:2383: warning: comparison between signed and unsigned
zaptel.c: In functionzt_hooksig_pvt':
zaptel.c:5042: warning: comparison between signed and unsigned
zaptel.c: At top level:
zaptel.c:6214: warning: `module_license' defined but not used
make: *** [zaptel.o] Error 1