[Asterisk-Users] zaptel wont compile

AJ Grinnell agrinnell at crt.net
Thu Aug 12 06:50:21 MST 2004


Trying to update to the latest cvs, but Asterisk complained that zaptel was
too old. Updating zaptel gives me this during the make. Any ideas, the
searches and Wiki gives me no hints.


cc -I. -O4 -g -Wall -DBUILDING_TONEZONE    -DSTANDALONE_ZAPATA   -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-point
er -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
 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-point
er -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:61: `panic_R_ver_str' declared as
function returning a function
/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:67: parse error before numeric
constant
/usr/src/linux-2.4/include/linux/kernel.h:67: `simple_strtoul_R_ver_str'
declared as function returning a function
/usr/src/linux-2.4/include/linux/kernel.h:67: warning: function declaration
isn't a prototype
/usr/src/linux-2.4/include/linux/kernel.h:68: invalid suffix on integer
constant
/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_strtol_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_strtoull_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:71: invalid suffix on integer
constant
/usr/src/linux-2.4/include/linux/kernel.h:71: parse error before numeric
constant
/usr/src/linux-2.4/include/linux/kernel.h:72: `sprintf_R_ver_str' declared
as function returning a function
/usr/src/linux-2.4/include/linux/kernel.h:72: 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: parse error before numeric
constant
/usr/src/linux-2.4/include/linux/kernel.h:73: `vsprintf_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:75: `snprintf_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: parse error before numeric
constant
/usr/src/linux-2.4/include/linux/kernel.h:76: `vsnprintf_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:78: invalid suffix on integer
constant
/usr/src/linux-2.4/include/linux/kernel.h:78: parse error before numeric
constant
/usr/src/linux-2.4/include/linux/kernel.h:79: `sscanf_R_ver_str' declared as
function returning a function
/usr/src/linux-2.4/include/linux/kernel.h:79: warning: function declaration
isn't a prototype
/usr/src/linux-2.4/include/linux/kernel.h:80: `vsscanf_R_ver_str' declared
as function returning a function
/usr/src/linux-2.4/include/linux/kernel.h:80: warning: parameter names
(without types) in function declaration
/usr/src/linux-2.4/include/linux/kernel.h:82: `get_option_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:83: invalid suffix on integer
constant
/usr/src/linux-2.4/include/linux/kernel.h:83: parse error before numeric
constant
/usr/src/linux-2.4/include/linux/kernel.h:83: `get_options_R_ver_str'
declared as function returning a function
/usr/src/linux-2.4/include/linux/kernel.h:83: warning: function declaration
isn't a prototype
/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: `memparse_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:90: invalid suffix on integer
constant
/usr/src/linux-2.4/include/linux/kernel.h:90: parse error before numeric
constant
/usr/src/linux-2.4/include/linux/kernel.h:91: `printk_R_ver_str' declared as
function returning a function
/usr/src/linux-2.4/include/linux/kernel.h:91: warning: function declaration
isn't a prototype
/usr/src/linux-2.4/include/linux/kernel.h:107: parse error before numeric
constant
/usr/src/linux-2.4/include/linux/kernel.h:107: warning: function declaration
isn't a prototype
/usr/src/linux-2.4/include/linux/kernel.h:108: warning: parameter names
(without types) in function declaration
/usr/src/linux-2.4/include/linux/kernel.h:170: invalid suffix on integer
constant
/usr/src/linux-2.4/include/linux/kernel.h:170: parse error before numeric
constant
/usr/src/linux-2.4/include/linux/kernel.h:170: `__out_of_line_bug_R_ver_str'
declared as function returning a function
/usr/src/linux-2.4/include/linux/kernel.h:170: 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:51: warning: parameter names
(without types) in function declaration
/usr/src/linux-2.4/include/asm/processor.h:51: field
`loops_per_jiffy_R_ver_str' declared as a function
/usr/src/linux-2.4/include/asm/processor.h:73: invalid suffix on integer
constant
/usr/src/linux-2.4/include/asm/processor.h:73: parse error before numeric
constant
/usr/src/linux-2.4/include/asm/processor.h:73: warning: function declaration
isn't a prototype
/usr/src/linux-2.4/include/asm/processor.h:256: invalid suffix on integer
constant
/usr/src/linux-2.4/include/asm/processor.h:256: parse error before numeric
constant
/usr/src/linux-2.4/include/asm/processor.h:256: warning: function
declaration isn't a prototype
/usr/src/linux-2.4/include/asm/processor.h:260: warning: parameter names
(without types) in function declaration
/usr/src/linux-2.4/include/asm/processor.h:436: invalid suffix on floating
constant
/usr/src/linux-2.4/include/asm/processor.h:436: parse error before numeric
constant
/usr/src/linux-2.4/include/asm/processor.h:436: `kernel_thread_R_ver_str'
declared as function returning a function
/usr/src/linux-2.4/include/asm/processor.h:436: warning: function
declaration isn't a prototype
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:5,
                 from /usr/src/linux-2.4/include/linux/sched.h:9,
                 from /usr/src/linux-2.4/include/linux/mm.h:4,
                 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:617,
                 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:249: warning: implicit declaration
of function `__out_of_line_bug_R8b0fd3c5'
In file included from /usr/src/linux-2.4/include/asm/io.h:47,
                 from /usr/src/linux-2.4/include/asm/pci.h:35,
                 from /usr/src/linux-2.4/include/linux/pci.h:617,
                 from tor2.c:33:
/usr/src/linux-2.4/include/linux/vmalloc.h: In function `vmalloc':
/usr/src/linux-2.4/include/linux/vmalloc.h:35: `boot_cpu_data_R0657d037'
undeclared (first use in this function)
/usr/src/linux-2.4/include/linux/vmalloc.h:35: (Each undeclared identifier
is reported only once
/usr/src/linux-2.4/include/linux/vmalloc.h:35: for each function it appears
in.)
/usr/src/linux-2.4/include/linux/vmalloc.h: In function `vmalloc_dma':
/usr/src/linux-2.4/include/linux/vmalloc.h:44: `boot_cpu_data_R0657d037'
undeclared (first use in this function)
/usr/src/linux-2.4/include/linux/vmalloc.h: In function `vmalloc_32':
/usr/src/linux-2.4/include/linux/vmalloc.h:53: `boot_cpu_data_R0657d037'
undeclared (first use in this function)
tor2.c: In function `tor2_spanconfig':
tor2.c:206: warning: implicit declaration of function `printk_R1b7d4074'
tor2.c: In function `init_spans':
tor2.c:274: warning: implicit declaration of function `sprintf_R1d26aa98'
make: *** [tor2.o] Error 1






More information about the asterisk-users mailing list