[Asterisk-Users] TE110P card installation errors
Michael D Schelin
mike at shelcomm.com
Wed Apr 20 15:03:38 MST 2005
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.
[root at asterisk1 zaptel]# make clean
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
[root at asterisk1 zaptel]# make
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 -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
cc -I. -O4 -g -Wall -DBUILDING_TONEZONE -DSTANDALONE_ZAPATA
-DZAPTEL_CONFIG=\"/etc/zaptel.conf\" makefw.c -o makefw
./makefw tormenta2.rbt tor2fw > tor2fw.h
Loaded 69900 bytes from file
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
In file included from tor2.c:30:
/usr/src/linux-2.4/include/linux/kernel.h:61: invalid suffix on integer
constant
/usr/src/linux-2.4/include/linux/kernel.h:61: syntax error before
numeric constant
/usr/src/linux-2.4/include/linux/kernel.h:61: warning: function
declaration isn't a prototype
/usr/src/linux-2.4/include/linux/kernel.h:62: invalid suffix on integer
constant
/usr/src/linux-2.4/include/linux/kernel.h:62: syntax error before
numeric constant
/usr/src/linux-2.4/include/linux/kernel.h:63: `panic_R_ver_str' declared
as function returning a function
/usr/src/linux-2.4/include/linux/kernel.h:63: warning: function
declaration isn't a prototype
/usr/src/linux-2.4/include/linux/kernel.h:69: syntax error before
numeric constant
/usr/src/linux-2.4/include/linux/kernel.h:69: `simple_strtoul_R_ver_str'
declared as function returning a function
/usr/src/linux-2.4/include/linux/kernel.h:69: warning: function
declaration isn't a prototype
/usr/src/linux-2.4/include/linux/kernel.h:70: invalid suffix on integer
constant
/usr/src/linux-2.4/include/linux/kernel.h:70: syntax error before
numeric constant
/usr/src/linux-2.4/include/linux/kernel.h:70: `simple_strtol_R_ver_str'
declared as function returning a function
/usr/src/linux-2.4/include/linux/kernel.h:70: warning: function
declaration isn't a prototype
/usr/src/linux-2.4/include/linux/kernel.h:71: invalid suffix on integer
constant
/usr/src/linux-2.4/include/linux/kernel.h:71: syntax error before
numeric constant
/usr/src/linux-2.4/include/linux/kernel.h:71:
`simple_strtoull_R_ver_str' declared as function returning a function
/usr/src/linux-2.4/include/linux/kernel.h:71: warning: function
declaration isn't a prototype
/usr/src/linux-2.4/include/linux/kernel.h:73: invalid suffix on integer
constant
/usr/src/linux-2.4/include/linux/kernel.h:73: syntax error before
numeric constant
/usr/src/linux-2.4/include/linux/kernel.h:74: `sprintf_R_ver_str'
declared as function returning a function
/usr/src/linux-2.4/include/linux/kernel.h:74: warning: function
declaration isn't a prototype
/usr/src/linux-2.4/include/linux/kernel.h:75: invalid suffix on integer
constant
/usr/src/linux-2.4/include/linux/kernel.h:75: syntax error before
numeric constant
/usr/src/linux-2.4/include/linux/kernel.h:75: `vsprintf_R_ver_str'
declared as function returning a function
/usr/src/linux-2.4/include/linux/kernel.h:75: warning: function
declaration isn't a prototype
/usr/src/linux-2.4/include/linux/kernel.h:76: invalid suffix on integer
constant
/usr/src/linux-2.4/include/linux/kernel.h:76: syntax error before
numeric constant
/usr/src/linux-2.4/include/linux/kernel.h:77: `snprintf_R_ver_str'
declared as function returning a function
/usr/src/linux-2.4/include/linux/kernel.h:77: warning: function
declaration isn't a prototype
/usr/src/linux-2.4/include/linux/kernel.h:78: invalid suffix on integer
constant
/usr/src/linux-2.4/include/linux/kernel.h:78: syntax error before
numeric constant
/usr/src/linux-2.4/include/linux/kernel.h:78: `vsnprintf_R_ver_str'
declared as function returning a function
/usr/src/linux-2.4/include/linux/kernel.h:78: warning: function
declaration isn't a prototype
/usr/src/linux-2.4/include/linux/kernel.h:80: invalid suffix on integer
constant
/usr/src/linux-2.4/include/linux/kernel.h:80: syntax error before
numeric constant
/usr/src/linux-2.4/include/linux/kernel.h:81: `sscanf_R_ver_str'
declared as function returning a function
/usr/src/linux-2.4/include/linux/kernel.h:81: warning: function
declaration isn't a prototype
/usr/src/linux-2.4/include/linux/kernel.h:82: `vsscanf_R_ver_str'
declared as function returning a function
/usr/src/linux-2.4/include/linux/kernel.h:82: warning: parameter names
(without types) in function declaration
/usr/src/linux-2.4/include/linux/kernel.h:86: `get_option_R_ver_str'
declared as function returning a function
/usr/src/linux-2.4/include/linux/kernel.h:86: warning: parameter names
(without types) in function declaration
/usr/src/linux-2.4/include/linux/kernel.h:87: invalid suffix on integer
constant
/usr/src/linux-2.4/include/linux/kernel.h:87: syntax error before
numeric constant
/usr/src/linux-2.4/include/linux/kernel.h:87: `get_options_R_ver_str'
declared as function returning a function
/usr/src/linux-2.4/include/linux/kernel.h:87: warning: function
declaration isn't a prototype
/usr/src/linux-2.4/include/linux/kernel.h:88: invalid suffix on integer
constant
/usr/src/linux-2.4/include/linux/kernel.h:88: syntax error before
numeric constant
/usr/src/linux-2.4/include/linux/kernel.h:88: `memparse_R_ver_str'
declared as function returning a function
/usr/src/linux-2.4/include/linux/kernel.h:88: warning: function
declaration isn't a prototype
/usr/src/linux-2.4/include/linux/kernel.h:97: invalid suffix on integer
constant
/usr/src/linux-2.4/include/linux/kernel.h:97: syntax error before
numeric constant
/usr/src/linux-2.4/include/linux/kernel.h:98: `printk_R_ver_str'
declared as function returning a function
/usr/src/linux-2.4/include/linux/kernel.h:98: warning: function
declaration isn't a prototype
/usr/src/linux-2.4/include/linux/kernel.h:115: syntax error before
numeric constant
/usr/src/linux-2.4/include/linux/kernel.h:115: warning: function
declaration isn't a prototype
/usr/src/linux-2.4/include/linux/kernel.h:116: floating constant
exponent has no digits
/usr/src/linux-2.4/include/linux/kernel.h:116: syntax error before
numeric constant
/usr/src/linux-2.4/include/linux/kernel.h:116: warning: function
declaration isn't a prototype
/usr/src/linux-2.4/include/linux/kernel.h:117: warning: parameter names
(without types) in function declaration
/usr/src/linux-2.4/include/linux/kernel.h:118: warning: parameter names
(without types) in function declaration
/usr/src/linux-2.4/include/linux/kernel.h:125: invalid suffix on integer
constant
/usr/src/linux-2.4/include/linux/kernel.h:125: syntax error before
numeric constant
/usr/src/linux-2.4/include/linux/kernel.h:125: `dump_stack_R_ver_str'
declared as function returning a function
/usr/src/linux-2.4/include/linux/kernel.h:125: warning: function
declaration isn't a prototype
/usr/src/linux-2.4/include/linux/kernel.h:214: invalid suffix on integer
constant
/usr/src/linux-2.4/include/linux/kernel.h:214: syntax error before
numeric constant
/usr/src/linux-2.4/include/linux/kernel.h:214:
`__out_of_line_bug_R_ver_str' declared as function returning a function
/usr/src/linux-2.4/include/linux/kernel.h:214: warning: function
declaration isn't a prototype
In file included from /usr/src/linux-2.4/include/linux/prefetch.h:13,
from /usr/src/linux-2.4/include/linux/list.h:6,
from /usr/src/linux-2.4/include/linux/module.h:12,
from tor2.c:32:
/usr/src/linux-2.4/include/asm/processor.h:61: warning: parameter names
(without types) in function declaration
/usr/src/linux-2.4/include/asm/processor.h:61: field
`loops_per_jiffy_R_ver_str' declared as a function
/usr/src/linux-2.4/include/asm/processor.h:84: invalid suffix on integer
constant
/usr/src/linux-2.4/include/asm/processor.h:84: syntax error before
numeric constant
/usr/src/linux-2.4/include/asm/processor.h:84: warning: function
declaration isn't a prototype
/usr/src/linux-2.4/include/asm/processor.h:269: invalid suffix on
integer constant
/usr/src/linux-2.4/include/asm/processor.h:269: syntax error before
numeric constant
/usr/src/linux-2.4/include/asm/processor.h:269: warning: function
declaration isn't a prototype
/usr/src/linux-2.4/include/asm/processor.h:273: warning: parameter names
(without types) in function declaration
In file included from tor2.c:32:
/usr/src/linux-2.4/include/linux/module.h:190: invalid suffix on integer
constant
/usr/src/linux-2.4/include/linux/module.h:190: syntax error before
numeric constant
/usr/src/linux-2.4/include/linux/module.h:190:
`inter_module_register_R_ver_str' declared as function returning a function
/usr/src/linux-2.4/include/linux/module.h:190: warning: function
declaration isn't a prototype
/usr/src/linux-2.4/include/linux/module.h:191: invalid suffix on integer
constant
/usr/src/linux-2.4/include/linux/module.h:191: syntax error before
numeric constant
/usr/src/linux-2.4/include/linux/module.h:191:
`inter_module_unregister_R_ver_str' declared as function returning a
function
/usr/src/linux-2.4/include/linux/module.h:191: warning: function
declaration isn't a prototype
/usr/src/linux-2.4/include/linux/module.h:192:
`inter_module_get_R_ver_str' declared as function returning a function
/usr/src/linux-2.4/include/linux/module.h:192: warning: parameter names
(without types) in function declaration
/usr/src/linux-2.4/include/linux/module.h:193:
`inter_module_get_request_R_ver_str' declared as function returning a
function
/usr/src/linux-2.4/include/linux/module.h:193: warning: parameter names
(without types) in function declaration
/usr/src/linux-2.4/include/linux/module.h:194: invalid suffix on integer
constant
/usr/src/linux-2.4/include/linux/module.h:194: syntax error before
numeric constant
/usr/src/linux-2.4/include/linux/module.h:194:
`inter_module_put_R_ver_str' declared as function returning a function
/usr/src/linux-2.4/include/linux/module.h:194: warning: function
declaration isn't a prototype
/usr/src/linux-2.4/include/linux/module.h:203:
`try_inc_mod_count_R_ver_str' declared as function returning a function
/usr/src/linux-2.4/include/linux/module.h:203: warning: parameter names
(without types) in function declaration
In file included from /usr/src/linux-2.4/include/linux/fs.h:19,
from /usr/src/linux-2.4/include/linux/capability.h:17,
from /usr/src/linux-2.4/include/linux/binfmts.h:4,
from /usr/src/linux-2.4/include/linux/sched.h:10,
from /usr/src/linux-2.4/include/linux/mm.h:22,
from /usr/src/linux-2.4/include/linux/slab.h:14,
from /usr/src/linux-2.4/include/asm/pci.h:38,
from /usr/src/linux-2.4/include/linux/pci.h:671,
from tor2.c:33:
/usr/src/linux-2.4/include/linux/dcache.h: In function `dget':
/usr/src/linux-2.4/include/linux/dcache.h:254: warning: implicit
declaration of function `__out_of_line_bug_R8b0fd3c5'
tor2.c: In function `tor2_spanconfig':
tor2.c:209: warning: implicit declaration of function `printk_R1b7d4074'
tor2.c: In function `init_spans':
tor2.c:277: warning: implicit declaration of function `sprintf_R1d26aa98'
make: *** [tor2.o] Error 1
Can someone tell me what is going on?
Thanks
Michael D. Schelin
SHELCOMM/ ShellTel
626-814-2354 or 626-276-9009
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20050420/7005570f/attachment.htm
More information about the asterisk-users
mailing list