<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
<title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
<title></title>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
<title></title>
Hi All, I just installed a TE110P card and I'm trying to compile the
code. I followed to the letter the instructions. This is what happens.<br>
<br>
[root@asterisk1 zaptel]# make clean<br>
rm -f torisatool makefw tor2fw.h<br>
rm -f zttool<br>
rm -f *.o ztcfg tzdriver sethdlc sethdlc-new<br>
rm -f zonedata.lo tonezone.lo libtonezone.so.1.0 *.lo<br>
rm -f *.ko *.mod.c .*o.cmd<br>
rm -f gendigits tones.h<br>
rm -f libtonezone*<br>
rm -f tor2ee<br>
rm -f core<br>
<br>
<br>
<br>
[root@asterisk1 zaptel]# make<br>
cc -I. -O4 -g -Wall -DBUILDING_TONEZONE -DSTANDALONE_ZAPATA
-DZAPTEL_CONFIG=\"/etc/zaptel.conf\" -c -o gendigits.o gendigits.c<br>
cc -o gendigits gendigits.o -lm<br>
./gendigits<br>
gcc -I/usr/src/linux-2.4/include -O6 -DMODULE -D__KERNEL__
-DEXPORT_SYMTAB -I/usr/src/linux/drivers/net -Wall -I.
-Wstrict-prototypes -fomit-frame-pointer
-I/usr/src/linux/drivers/net/wan -I /usr/src/linux/include
-I/usr/src/linux/include/net -DMODVERSIONS -include
/usr/src/linux-2.4/include/linux/modversions.h -DSTANDALONE_ZAPATA -c
zaptel.c<br>
cc -I. -O4 -g -Wall -DBUILDING_TONEZONE -DSTANDALONE_ZAPATA
-DZAPTEL_CONFIG=\"/etc/zaptel.conf\" makefw.c -o makefw<br>
./makefw tormenta2.rbt tor2fw > tor2fw.h<br>
Loaded 69900 bytes from file<br>
gcc -I/usr/src/linux-2.4/include -O6 -DMODULE -D__KERNEL__
-DEXPORT_SYMTAB -I/usr/src/linux/drivers/net -Wall -I.
-Wstrict-prototypes -fomit-frame-pointer
-I/usr/src/linux/drivers/net/wan -I /usr/src/linux/include
-I/usr/src/linux/include/net -DMODVERSIONS -include
/usr/src/linux-2.4/include/linux/modversions.h -DSTANDALONE_ZAPATA -c
tor2.c<br>
In file included from tor2.c:30:<br>
/usr/src/linux-2.4/include/linux/kernel.h:61: invalid suffix on integer
constant<br>
/usr/src/linux-2.4/include/linux/kernel.h:61: syntax error before
numeric constant<br>
/usr/src/linux-2.4/include/linux/kernel.h:61: warning: function
declaration isn't a prototype<br>
/usr/src/linux-2.4/include/linux/kernel.h:62: invalid suffix on integer
constant<br>
/usr/src/linux-2.4/include/linux/kernel.h:62: syntax error before
numeric constant<br>
/usr/src/linux-2.4/include/linux/kernel.h:63: `panic_R_ver_str'
declared as function returning a function<br>
/usr/src/linux-2.4/include/linux/kernel.h:63: warning: function
declaration isn't a prototype<br>
/usr/src/linux-2.4/include/linux/kernel.h:69: syntax error before
numeric constant<br>
/usr/src/linux-2.4/include/linux/kernel.h:69:
`simple_strtoul_R_ver_str' declared as function returning a function<br>
/usr/src/linux-2.4/include/linux/kernel.h:69: warning: function
declaration isn't a prototype<br>
/usr/src/linux-2.4/include/linux/kernel.h:70: invalid suffix on integer
constant<br>
/usr/src/linux-2.4/include/linux/kernel.h:70: syntax error before
numeric constant<br>
/usr/src/linux-2.4/include/linux/kernel.h:70: `simple_strtol_R_ver_str'
declared as function returning a function<br>
/usr/src/linux-2.4/include/linux/kernel.h:70: warning: function
declaration isn't a prototype<br>
/usr/src/linux-2.4/include/linux/kernel.h:71: invalid suffix on integer
constant<br>
/usr/src/linux-2.4/include/linux/kernel.h:71: syntax error before
numeric constant<br>
/usr/src/linux-2.4/include/linux/kernel.h:71:
`simple_strtoull_R_ver_str' declared as function returning a function<br>
/usr/src/linux-2.4/include/linux/kernel.h:71: warning: function
declaration isn't a prototype<br>
/usr/src/linux-2.4/include/linux/kernel.h:73: invalid suffix on integer
constant<br>
/usr/src/linux-2.4/include/linux/kernel.h:73: syntax error before
numeric constant<br>
/usr/src/linux-2.4/include/linux/kernel.h:74: `sprintf_R_ver_str'
declared as function returning a function<br>
/usr/src/linux-2.4/include/linux/kernel.h:74: warning: function
declaration isn't a prototype<br>
/usr/src/linux-2.4/include/linux/kernel.h:75: invalid suffix on integer
constant<br>
/usr/src/linux-2.4/include/linux/kernel.h:75: syntax error before
numeric constant<br>
/usr/src/linux-2.4/include/linux/kernel.h:75: `vsprintf_R_ver_str'
declared as function returning a function<br>
/usr/src/linux-2.4/include/linux/kernel.h:75: warning: function
declaration isn't a prototype<br>
/usr/src/linux-2.4/include/linux/kernel.h:76: invalid suffix on integer
constant<br>
/usr/src/linux-2.4/include/linux/kernel.h:76: syntax error before
numeric constant<br>
/usr/src/linux-2.4/include/linux/kernel.h:77: `snprintf_R_ver_str'
declared as function returning a function<br>
/usr/src/linux-2.4/include/linux/kernel.h:77: warning: function
declaration isn't a prototype<br>
/usr/src/linux-2.4/include/linux/kernel.h:78: invalid suffix on integer
constant<br>
/usr/src/linux-2.4/include/linux/kernel.h:78: syntax error before
numeric constant<br>
/usr/src/linux-2.4/include/linux/kernel.h:78: `vsnprintf_R_ver_str'
declared as function returning a function<br>
/usr/src/linux-2.4/include/linux/kernel.h:78: warning: function
declaration isn't a prototype<br>
/usr/src/linux-2.4/include/linux/kernel.h:80: invalid suffix on integer
constant<br>
/usr/src/linux-2.4/include/linux/kernel.h:80: syntax error before
numeric constant<br>
/usr/src/linux-2.4/include/linux/kernel.h:81: `sscanf_R_ver_str'
declared as function returning a function<br>
/usr/src/linux-2.4/include/linux/kernel.h:81: warning: function
declaration isn't a prototype<br>
/usr/src/linux-2.4/include/linux/kernel.h:82: `vsscanf_R_ver_str'
declared as function returning a function<br>
/usr/src/linux-2.4/include/linux/kernel.h:82: warning: parameter names
(without types) in function declaration<br>
/usr/src/linux-2.4/include/linux/kernel.h:86: `get_option_R_ver_str'
declared as function returning a function<br>
/usr/src/linux-2.4/include/linux/kernel.h:86: warning: parameter names
(without types) in function declaration<br>
/usr/src/linux-2.4/include/linux/kernel.h:87: invalid suffix on integer
constant<br>
/usr/src/linux-2.4/include/linux/kernel.h:87: syntax error before
numeric constant<br>
/usr/src/linux-2.4/include/linux/kernel.h:87: `get_options_R_ver_str'
declared as function returning a function<br>
/usr/src/linux-2.4/include/linux/kernel.h:87: warning: function
declaration isn't a prototype<br>
/usr/src/linux-2.4/include/linux/kernel.h:88: invalid suffix on integer
constant<br>
/usr/src/linux-2.4/include/linux/kernel.h:88: syntax error before
numeric constant<br>
/usr/src/linux-2.4/include/linux/kernel.h:88: `memparse_R_ver_str'
declared as function returning a function<br>
/usr/src/linux-2.4/include/linux/kernel.h:88: warning: function
declaration isn't a prototype<br>
/usr/src/linux-2.4/include/linux/kernel.h:97: invalid suffix on integer
constant<br>
/usr/src/linux-2.4/include/linux/kernel.h:97: syntax error before
numeric constant<br>
/usr/src/linux-2.4/include/linux/kernel.h:98: `printk_R_ver_str'
declared as function returning a function<br>
/usr/src/linux-2.4/include/linux/kernel.h:98: warning: function
declaration isn't a prototype<br>
/usr/src/linux-2.4/include/linux/kernel.h:115: syntax error before
numeric constant<br>
/usr/src/linux-2.4/include/linux/kernel.h:115: warning: function
declaration isn't a prototype<br>
/usr/src/linux-2.4/include/linux/kernel.h:116: floating constant
exponent has no digits<br>
/usr/src/linux-2.4/include/linux/kernel.h:116: syntax error before
numeric constant<br>
/usr/src/linux-2.4/include/linux/kernel.h:116: warning: function
declaration isn't a prototype<br>
/usr/src/linux-2.4/include/linux/kernel.h:117: warning: parameter names
(without types) in function declaration<br>
/usr/src/linux-2.4/include/linux/kernel.h:118: warning: parameter names
(without types) in function declaration<br>
/usr/src/linux-2.4/include/linux/kernel.h:125: invalid suffix on
integer constant<br>
/usr/src/linux-2.4/include/linux/kernel.h:125: syntax error before
numeric constant<br>
/usr/src/linux-2.4/include/linux/kernel.h:125: `dump_stack_R_ver_str'
declared as function returning a function<br>
/usr/src/linux-2.4/include/linux/kernel.h:125: warning: function
declaration isn't a prototype<br>
/usr/src/linux-2.4/include/linux/kernel.h:214: invalid suffix on
integer constant<br>
/usr/src/linux-2.4/include/linux/kernel.h:214: syntax error before
numeric constant<br>
/usr/src/linux-2.4/include/linux/kernel.h:214:
`__out_of_line_bug_R_ver_str' declared as function returning a function<br>
/usr/src/linux-2.4/include/linux/kernel.h:214: warning: function
declaration isn't a prototype<br>
In file included from /usr/src/linux-2.4/include/linux/prefetch.h:13,<br>
from /usr/src/linux-2.4/include/linux/list.h:6,<br>
from /usr/src/linux-2.4/include/linux/module.h:12,<br>
from tor2.c:32:<br>
/usr/src/linux-2.4/include/asm/processor.h:61: warning: parameter names
(without types) in function declaration<br>
/usr/src/linux-2.4/include/asm/processor.h:61: field
`loops_per_jiffy_R_ver_str' declared as a function<br>
/usr/src/linux-2.4/include/asm/processor.h:84: invalid suffix on
integer constant<br>
/usr/src/linux-2.4/include/asm/processor.h:84: syntax error before
numeric constant<br>
/usr/src/linux-2.4/include/asm/processor.h:84: warning: function
declaration isn't a prototype<br>
/usr/src/linux-2.4/include/asm/processor.h:269: invalid suffix on
integer constant<br>
/usr/src/linux-2.4/include/asm/processor.h:269: syntax error before
numeric constant<br>
/usr/src/linux-2.4/include/asm/processor.h:269: warning: function
declaration isn't a prototype<br>
/usr/src/linux-2.4/include/asm/processor.h:273: warning: parameter
names (without types) in function declaration<br>
In file included from tor2.c:32:<br>
/usr/src/linux-2.4/include/linux/module.h:190: invalid suffix on
integer constant<br>
/usr/src/linux-2.4/include/linux/module.h:190: syntax error before
numeric constant<br>
/usr/src/linux-2.4/include/linux/module.h:190:
`inter_module_register_R_ver_str' declared as function returning a
function<br>
/usr/src/linux-2.4/include/linux/module.h:190: warning: function
declaration isn't a prototype<br>
/usr/src/linux-2.4/include/linux/module.h:191: invalid suffix on
integer constant<br>
/usr/src/linux-2.4/include/linux/module.h:191: syntax error before
numeric constant<br>
/usr/src/linux-2.4/include/linux/module.h:191:
`inter_module_unregister_R_ver_str' declared as function returning a
function<br>
/usr/src/linux-2.4/include/linux/module.h:191: warning: function
declaration isn't a prototype<br>
/usr/src/linux-2.4/include/linux/module.h:192:
`inter_module_get_R_ver_str' declared as function returning a function<br>
/usr/src/linux-2.4/include/linux/module.h:192: warning: parameter names
(without types) in function declaration<br>
/usr/src/linux-2.4/include/linux/module.h:193:
`inter_module_get_request_R_ver_str' declared as function returning a
function<br>
/usr/src/linux-2.4/include/linux/module.h:193: warning: parameter names
(without types) in function declaration<br>
/usr/src/linux-2.4/include/linux/module.h:194: invalid suffix on
integer constant<br>
/usr/src/linux-2.4/include/linux/module.h:194: syntax error before
numeric constant<br>
/usr/src/linux-2.4/include/linux/module.h:194:
`inter_module_put_R_ver_str' declared as function returning a function<br>
/usr/src/linux-2.4/include/linux/module.h:194: warning: function
declaration isn't a prototype<br>
/usr/src/linux-2.4/include/linux/module.h:203:
`try_inc_mod_count_R_ver_str' declared as function returning a function<br>
/usr/src/linux-2.4/include/linux/module.h:203: warning: parameter names
(without types) in function declaration<br>
In file included from /usr/src/linux-2.4/include/linux/fs.h:19,<br>
from /usr/src/linux-2.4/include/linux/capability.h:17,<br>
from /usr/src/linux-2.4/include/linux/binfmts.h:4,<br>
from /usr/src/linux-2.4/include/linux/sched.h:10,<br>
from /usr/src/linux-2.4/include/linux/mm.h:22,<br>
from /usr/src/linux-2.4/include/linux/slab.h:14,<br>
from /usr/src/linux-2.4/include/asm/pci.h:38,<br>
from /usr/src/linux-2.4/include/linux/pci.h:671,<br>
from tor2.c:33:<br>
/usr/src/linux-2.4/include/linux/dcache.h: In function `dget':<br>
/usr/src/linux-2.4/include/linux/dcache.h:254: warning: implicit
declaration of function `__out_of_line_bug_R8b0fd3c5'<br>
tor2.c: In function `tor2_spanconfig':<br>
tor2.c:209: warning: implicit declaration of function `printk_R1b7d4074'<br>
tor2.c: In function `init_spans':<br>
tor2.c:277: warning: implicit declaration of function
`sprintf_R1d26aa98'<br>
make: *** [tor2.o] Error 1<br>
<br>
<br>
Can someone tell me what is going on?<br>
<br>
Thanks<br>
<br>
Michael D. Schelin<br>
SHELCOMM/ ShellTel<br>
626-814-2354 or 626-276-9009<br>
</body>
</html>