[Asterisk-Users] zaptel compilation help!
Ryan Pagquil
rpagquil at philonline.com
Mon Nov 21 02:27:37 MST 2005
Hi,
I'm compiling Zaptel1-1.0.9 in Sparc64/Debian and I'm getting these
errors. I compiled asterisk on the same machine and it went ok. I
want to activate the conference feature of asterisk thats why i'm
compiling zaptel. These are the errors:
sip:/usr/local/src/zaptel-1.0.9.1# 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 -DSTANDALONE_ZAPATA -c zaptel.c
In file included from /usr/include/linux/dcache.h:10,
from /usr/include/linux/fs.h:17,
from /usr/include/linux/proc_fs.h:6,
from zaptel.c:45:
/usr/include/linux/rcupdate.h: In function `rcu_pending':
/usr/include/linux/rcupdate.h:114: error: invalid lvalue in unary `&'
/usr/include/linux/rcupdate.h:116: error: invalid lvalue in unary `&'
/usr/include/linux/rcupdate.h:117: error: invalid lvalue in unary `&'
zaptel.c: In function `zt_register':
zaptel.c:4406: warning: implicit declaration of function
`class_simple_device_add'
zaptel.c: In function `zt_unregister':
zaptel.c:4456: warning: implicit declaration of function
`class_simple_device_remove'
zaptel.c: In function `zt_init':
zaptel.c:6431: warning: implicit declaration of function `class_simple_create'
zaptel.c:6431: warning: assignment makes pointer from integer without a cast
zaptel.c: In function `zt_cleanup':
zaptel.c:6492: warning: implicit declaration of function `class_simple_destroy'
make: *** [zaptel.o] Error 1
please help,
Thanks,
Ryan
More information about the asterisk-users
mailing list