[Asterisk-Users] can't compile zaptel..
Sukardi Shahdan
shahdan_83 at yahoo.com
Tue May 17 21:19:56 MST 2005
hello everyone!!
i want to compile the zaptel for my TE110P but i have
this error:
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:60: invalid
suffix on integer constant
/usr/src/linux-2.4/include/linux/kernel.h:60: parse
error before numeric constant
/usr/src/linux-2.4/include/linux/kernel.h:60: warning:
function declaration isn't a prototype
/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: parse
error before numeric constant
/usr/src/linux-2.4/include/linux/kernel.h:62:
`panic_R_ver_str' declared as function returning a
function
/usr/src/linux-2.4/include/linux/kernel.h:62: warning:
function declaration isn't a prototype
/usr/src/linux-2.4/include/linux/kernel.h:68: parse
error before numeric constant
/usr/src/linux-2.4/include/linux/kernel.h:68:
`simple_strtoul_R_ver_str' declared as function
returning a function
/usr/src/linux-2.4/include/linux/kernel.h:68: warning:
function declaration isn't a prototype
/usr/src/linux-2.4/include/linux/kernel.h:69: invalid
suffix on integer constant
/usr/src/linux-2.4/include/linux/kernel.h:69: parse
error before numeric constant
/usr/src/linux-2.4/include/linux/kernel.h:69:
`simple_strtol_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: parse
error before numeric constant
/usr/src/linux-2.4/include/linux/kernel.h:70:
`simple_strtoull_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:72: invalid
suffix on integer constant
/usr/src/linux-2.4/include/linux/kernel.h:72: parse
error before numeric constant
/usr/src/linux-2.4/include/linux/kernel.h:73:
`sprintf_R_ver_str' declared as function returning a
function
[5]+ Stopped make
[root at upm zaptel]# make
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:60: invalid
suffix on integer constant
/usr/src/linux-2.4/include/linux/kernel.h:60: parse
error before numeric constant
/usr/src/linux-2.4/include/linux/kernel.h:60: warning:
function declaration isn't a prototype
/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: parse
error before numeric constant
/usr/src/linux-2.4/include/linux/kernel.h:62:
`panic_R_ver_str' declared as function returning a
function
/usr/src/linux-2.4/include/linux/kernel.h:62: warning:
function declaration isn't a prototype
/usr/src/linux-2.4/include/linux/kernel.h:68: parse
error before numeric constant
/usr/src/linux-2.4/include/linux/kernel.h:68:
`simple_strtoul_R_ver_str' declared as function
returning a function
/usr/src/linux-2.4/include/linux/kernel.h:68: warning:
function declaration isn't a prototype
/usr/src/linux-2.4/include/linux/kernel.h:69: invalid
suffix on integer constant
/usr/src/linux-2.4/include/linux/kernel.h:69: parse
error before numeric constant
/usr/src/linux-2.4/include/linux/kernel.h:69:
`simple_strtol_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: parse
error before numeric constant
/usr/src/linux-2.4/include/linux/kernel.h:70:
`simple_strtoull_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:72: invalid
suffix on integer constant
/usr/src/linux-2.4/include/linux/kernel.h:72: parse
error before numeric constant
/usr/src/linux-2.4/include/linux/kernel.h:73:
`sprintf_R_ver_str' declared as function returning a
function
/usr/src/linux-2.4/include/linux/kernel.h:73: warning:
function declaration isn't a prototype
/usr/src/linux-2.4/include/linux/kernel.h:74: invalid
suffix on integer constant
/usr/src/linux-2.4/include/linux/kernel.h:74: parse
error before numeric constant
/usr/src/linux-2.4/include/linux/kernel.h:74:
`vsprintf_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: parse
error before numeric constant
/usr/src/linux-2.4/include/linux/kernel.h:76:
`snprintf_R_ver_str' declared as function returning a
function
/usr/src/linux-2.4/include/linux/kernel.h:76: warning:
function declaration isn't a prototype
/usr/src/linux-2.4/include/linux/kernel.h:77: invalid
suffix on integer constant
/usr/src/linux-2.4/include/linux/kernel.h:77: parse
error before numeric constant
/usr/src/linux-2.4/include/linux/kernel.h:77:
`vsnprintf_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:79: invalid
suffix on integer constant
/usr/src/linux-2.4/include/linux/kernel.h:79: parse
error before numeric constant
/usr/src/linux-2.4/include/linux/kernel.h:80:
`sscanf_R_ver_str' declared as function returning a
function
/usr/src/linux-2.4/include/linux/kernel.h:80: warning:
function declaration isn't a prototype
/usr/src/linux-2.4/include/linux/kernel.h:81:
`vsscanf_R_ver_str' declared as function returning a
function
/usr/src/linux-2.4/include/linux/kernel.h:81: warning:
parameter names (without types) in function
declaration
/usr/src/linux-2.4/include/linux/kernel.h:83:
`get_option_R_ver_str' declared as function returning
a function
/usr/src/linux-2.4/include/linux/kernel.h:83: warning:
parameter names (without types) in function
declaration
/usr/src/linux-2.4/include/linux/kernel.h:84: invalid
suffix on integer constant
/usr/src/linux-2.4/include/linux/kernel.h:84: parse
error before numeric constant
/usr/src/linux-2.4/include/linux/kernel.h:84:
`get_options_R_ver_str' declared as function returning
a function
/usr/src/linux-2.4/include/linux/kernel.h:84: warning:
function declaration isn't a prototype
/usr/src/linux-2.4/include/linux/kernel.h:85: invalid
suffix on integer constant
/usr/src/linux-2.4/include/linux/kernel.h:85: parse
error before numeric constant
/usr/src/linux-2.4/include/linux/kernel.h:85:
`memparse_R_ver_str' declared as function returning a
function
/usr/src/linux-2.4/include/linux/kernel.h:85: warning:
function declaration isn't a prototype
/usr/src/linux-2.4/include/linux/kernel.h:91: invalid
suffix on integer constant
/usr/src/linux-2.4/include/linux/kernel.h:91: parse
error before numeric constant
/usr/src/linux-2.4/include/linux/kernel.h:92:
`printk_R_ver_str' declared as function returning a
function
/usr/src/linux-2.4/include/linux/kernel.h:92: warning:
function declaration isn't a prototype
/usr/src/linux-2.4/include/linux/kernel.h:108: parse
error before numeric constant
/usr/src/linux-2.4/include/linux/kernel.h:108:
warning: function declaration isn't a prototype
/usr/src/linux-2.4/include/linux/kernel.h:109:
warning: parameter names (without types) in function
declaration
/usr/src/linux-2.4/include/linux/kernel.h:114: invalid
suffix on integer constant
/usr/src/linux-2.4/include/linux/kernel.h:114: parse
error before numeric constant
/usr/src/linux-2.4/include/linux/kernel.h:114:
`dump_stack_R_ver_str' declared as function returning
a function
/usr/src/linux-2.4/include/linux/kernel.h:114:
warning: function declaration isn't a prototype
/usr/src/linux-2.4/include/linux/kernel.h:191: invalid
suffix on integer constant
/usr/src/linux-2.4/include/linux/kernel.h:191: parse
error before numeric constant
/usr/src/linux-2.4/include/linux/kernel.h:191:
`__out_of_line_bug_R_ver_str' declared as function
returning a function
/usr/src/linux-2.4/include/linux/kernel.h:191:
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:60:
warning: parameter names (without types) in function
declaration
/usr/src/linux-2.4/include/asm/processor.h:60: field
`loops_per_jiffy_R_ver_str' declared as a function
/usr/src/linux-2.4/include/asm/processor.h:82: invalid
suffix on integer constant
/usr/src/linux-2.4/include/asm/processor.h:82: parse
error before numeric constant
/usr/src/linux-2.4/include/asm/processor.h:82:
warning: function declaration isn't a prototype
/usr/src/linux-2.4/include/asm/processor.h:265:
invalid suffix on integer constant
/usr/src/linux-2.4/include/asm/processor.h:265: parse
error before numeric constant
/usr/src/linux-2.4/include/asm/processor.h:265:
warning: function declaration isn't a prototype
/usr/src/linux-2.4/include/asm/processor.h:269:
warning: parameter names (without types) in function
declaration
In file included from tor2.c:32:
/usr/src/linux-2.4/include/linux/module.h:183: invalid
suffix on integer constant
/usr/src/linux-2.4/include/linux/module.h:183: parse
error before numeric constant
/usr/src/linux-2.4/include/linux/module.h:183:
`inter_module_register_R_ver_str' declared as function
returning a function
/usr/src/linux-2.4/include/linux/module.h:183:
warning: function declaration isn't a prototype
/usr/src/linux-2.4/include/linux/module.h:184: invalid
suffix on integer constant
/usr/src/linux-2.4/include/linux/module.h:184: parse
error before numeric constant
/usr/src/linux-2.4/include/linux/module.h:184:
`inter_module_unregister_R_ver_str' declared as
function returning a function
/usr/src/linux-2.4/include/linux/module.h:184:
warning: function declaration isn't a prototype
/usr/src/linux-2.4/include/linux/module.h:185:
`inter_module_get_R_ver_str' declared as function
returning a function
/usr/src/linux-2.4/include/linux/module.h:185:
warning: parameter names (without types) in function
declaration
/usr/src/linux-2.4/include/linux/module.h:186:
`inter_module_get_request_R_ver_str' declared as
function returning a
function/usr/src/linux-2.4/include/linux/module.h:186:
warning: parameter names (without types) in function
declaration
/usr/src/linux-2.4/include/linux/module.h:187: invalid
suffix on integer constant
/usr/src/linux-2.4/include/linux/module.h:187: parse
error before numeric constant
/usr/src/linux-2.4/include/linux/module.h:187:
`inter_module_put_R_ver_str' declared as function
returning a function
/usr/src/linux-2.4/include/linux/module.h:187:
warning: function declaration isn't a prototype
/usr/src/linux-2.4/include/linux/module.h:196:
`try_inc_mod_count_R_ver_str' declared as function
returning a function
/usr/src/linux-2.4/include/linux/module.h:196:
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:32,
from
/usr/src/linux-2.4/include/linux/pci.h:657,
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:215: warning: implicit declaration of function
`printk_R1b7d4074'
tor2.c: In function `init_spans':
tor2.c:283: warning: implicit declaration of function
`sprintf_R1d26aa98'
make: *** [tor2.o] Error 1
i have already try to uninstall and install again the
kernel-source but stiil get this error.. :(
can anybody help me??
__________________________________
Do you Yahoo!?
Make Yahoo! your home page
http://www.yahoo.com/r/hs
More information about the asterisk-users
mailing list