[Asterisk-Users] Make error installing bristuff-0.2.0-rc2b

Remco Barende asterisk at barendse.to
Mon Dec 27 06:13:58 MST 2004


On Mon, 27 Dec 2004, Remco Barende wrote:

> Hi list!
>
> I'm trying to install bristuff on a newly installed box. The box is running a 
> rebuild of RedHat Enterprise linux with the latest kernel. The architecture 
> of the box is x86_64 (Athlon 64), the os is 64 bit with 32 bit compat libs 
> installed. Also the kernel source is installed as well as the (kernel) 
> development tools.
>
> The bristuff install.sh script downloads asterisk+zaptel 1.0.2 but I get an 
> error on make zaptel:
>
>> 6295: unknown field `fasync' specified in initializer
>> 6295: warning: excess elements in struct initializer
>> 6295: warning: (near initialization for `zt_fops')
>> In function `zt_init':
>> 6385: warning: implicit declaration of function `register_chrdev'
>> 6386: `KERN_ERR' undeclared (first use in this function)
>> 6386: syntax error before string constant
>> 6391: `KERN_INFO' undeclared (first use in this function)
>> 6391: syntax error before string constant
>> 6396: warning: implicit declaration of function `rwlock_init'
>> In function `zt_cleanup':
>> 6410: `KERN_INFO' undeclared (first use in this function)
>> 6410: syntax error before string constant
>> 6429: warning: implicit declaration of function 
> `unregister_chrdev'
>> At top level:
>> 6283: storage size of `zt_fops' isn't known
> /usr/include/linux/proc_fs.h:193: warning: `create_proc_read_entry' declared 
> `static' but never defined
> make: *** [zaptel.o] Error 1
>
> Any ideas what could be wrong?


Sorry for replying to my own message. In /usr/src I only had a link 
/usr/src/linux-2.4 pointing to the real kernel 
/usr/src/linux-2.4.21-27

I added another link /usr/src/linux and compile seems to get 2 lines 
further but I get another cryptic error (adding another link linux-2.6 
didn't help):

/usr/src/linux/include/asm/processor.h:386: `kernel_thread_R_ver_str' 
declared as function returning a function
/usr/src/linux/include/asm/processor.h:386: warning: function declaration 
isn't a prototype
In file included from tor2.c:32:
/usr/src/linux/include/linux/module.h:190: invalid suffix on integer 
constant
/usr/src/linux/include/linux/module.h:190: syntax error before numeric 
constant
/usr/src/linux/include/linux/module.h:190: 
`inter_module_register_R_ver_str' declared as function returning a 
function
/usr/src/linux/include/linux/module.h:190: warning: function declaration 
isn't a prototype
/usr/src/linux/include/linux/module.h:191: invalid suffix on integer 
constant
/usr/src/linux/include/linux/module.h:191: syntax error before numeric 
constant
/usr/src/linux/include/linux/module.h:191: 
`inter_module_unregister_R_ver_str' declared as function returning a 
function
/usr/src/linux/include/linux/module.h:191: warning: function declaration 
isn't a prototype
/usr/src/linux/include/linux/module.h:192: `inter_module_get_R_ver_str' 
declared as function returning a function
/usr/src/linux/include/linux/module.h:192: warning: parameter names 
(without types) in function declaration
/usr/src/linux/include/linux/module.h:193: 
`inter_module_get_request_R_ver_str' declared as function returning a 
function
/usr/src/linux/include/linux/module.h:193: warning: parameter names 
(without types) in function declaration
/usr/src/linux/include/linux/module.h:194: invalid suffix on integer 
constant
/usr/src/linux/include/linux/module.h:194: syntax error before numeric 
constant
/usr/src/linux/include/linux/module.h:194: `inter_module_put_R_ver_str' 
declared as function returning a function
/usr/src/linux/include/linux/module.h:194: warning: function declaration 
isn't a prototype
/usr/src/linux/include/linux/module.h:203: `try_inc_mod_count_R_ver_str' 
declared as function returning a function
/usr/src/linux/include/linux/module.h:203: warning: parameter names 
(without types) in function declaration
In file included from /usr/src/linux/include/linux/fs.h:19,
                  from /usr/src/linux/include/linux/capability.h:17,
                  from /usr/src/linux/include/linux/binfmts.h:4,
                  from /usr/src/linux/include/linux/sched.h:10,
                  from /usr/src/linux/include/linux/vmalloc.h:4,
                  from /usr/src/linux/include/asm/io.h:110,
                  from /usr/src/linux/include/asm/pci.h:5,
                  from /usr/src/linux/include/linux/pci.h:671,
                  from tor2.c:33:
/usr/src/linux/include/linux/dcache.h: In function `dget':
/usr/src/linux/include/linux/dcache.h:254: warning: implicit declaration 
of function `__out_of_line_bug_R8b0fd3c5'
tor2.c: In function `tor2_spanconfig':
tor2.c:206: warning: implicit declaration of function `printk_Rdd132261'
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