[root@iw-asterisk zaptel-1.2.1]# make
gcc -I/lib/modules/2.4.21-4.ELsmp/build/include -O6 -DMODULE -D__KERNEL__
-DEXPORT_SYMTAB -I/lib/modules/2.4.21-4.ELsmp/build/drivers/net -Wall -I.
-Wstrict-prototypes -fomit-frame-pointer
-I/lib/modules/2.4.21-4.ELsmp/build/drivers/net/wan
-I/lib/modules/2.4.21-4.ELsmp/build/include/net -DMODVERSIONS -include
/lib/modules/2.4.21-4.ELsmp/build/include/linux/modversions.h
-DSTANDALONE_ZAPATA -o zaptel.o -c zaptel.c
In file included from /lib/modules/2.4.21-4.ELsmp
/build/include/linux/tqueue.h:19,
from /lib/modules/2.4.21-4.ELsmp
/build/include/linux/aio.h:4,
from /lib/modules/2.4.21-4.ELsmp
/build/include/linux/net.h:88,
from /lib/modules/2.4.21-4.ELsmp
/build/include/linux/fs.h:15,
from /lib/modules/2.4.21-4.ELsmp
/build/include/linux/capability.h:17,
from /lib/modules/2.4.21-4.ELsmp
/build/include/linux/binfmts.h:4,
from /lib/modules/2.4.21-4.ELsmp
/build/include/linux/sched.h:10,
from /lib/modules/2.4.21-4.ELsmp
/build/include/linux/mm.h:22,
from /lib/modules/2.4.21-4.ELsmp
/build/include/linux/slab.h:14,
from /lib/modules/2.4.21-4.ELsmp
/build/include/linux/proc_fs.h:5,
from zaptel.c:45:
/lib/modules/2.4.21-4.ELsmp/build/include/asm/system.h: In function
`__set_64bit_var':
/lib/modules/2.4.21-4.ELsmp/build/include/asm/system.h:189: warning:
dereferencing type-punned pointer will break strict-aliasing rules
/lib/modules/2.4.21-4.ELsmp/build/include/asm/system.h:189: warning:
dereferencing type-punned pointer will break strict-aliasing rules
In file included from /lib/modules/2.4.21-4.ELsmp
/build/include/linux/sched.h:24,
from /lib/modules/2.4.21-4.ELsmp
/build/include/linux/mm.h:22,
from /lib/modules/2.4.21-4.ELsmp
/build/include/linux/slab.h:14,
from /lib/modules/2.4.21-4.ELsmp
/build/include/linux/proc_fs.h:5,
from zaptel.c:45:
/lib/modules/2.4.21-4.ELsmp/build/include/linux/smp.h: At top level:
/lib/modules/2.4.21-4.ELsmp/build/include/linux/smp.h:31: error: conflicting
types for 'smp_send_reschedule'
/lib/modules/2.4.21-4.ELsmp/build/include/asm/smp.h:41: error: previous
declaration of 'smp_send_reschedule' was here
/lib/modules/2.4.21-4.ELsmp/build/include/linux/smp.h:31: error: conflicting
types for 'smp_send_reschedule'
/lib/modules/2.4.21-4.ELsmp/build/include/asm/smp.h:41: error: previous
declaration of 'smp_send_reschedule' was here
make: *** [zaptel.o] Error 1
What could I be missing? :) Thank you
--
Leandro Rzezak
leandror@gmail.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
http://lists.digium.com/pipermail/asterisk-users/attachments/20060109/4bf62a59/attachment.htm
Mojo with Horan & Company, LLC
2006-Jan-09 13:01 UTC
[Asterisk-Users] Problem Compiling Zaptel 1.2.1
If you've ever compiled and installed an older version of * on this box, specifically from the 1.0 era, it's possible you need to try removing /usr/include/asterisk and see if that helps. Moj Leandro Rzezak wrote:> [root@iw-asterisk zaptel-1.2.1]# make > gcc -I/lib/modules/2.4.21-4.ELsmp/build/include -O6 -DMODULE > -D__KERNEL__ -DEXPORT_SYMTAB > -I/lib/modules/2.4.21-4.ELsmp/build/drivers/net -Wall -I. > -Wstrict-prototypes -fomit-frame-pointer > -I/lib/modules/2.4.21-4.ELsmp/build/drivers/net/wan > -I/lib/modules/2.4.21-4.ELsmp/build/include/net -DMODVERSIONS -include > /lib/modules/2.4.21-4.ELsmp/build/include/linux/modversions.h > -DSTANDALONE_ZAPATA -o zaptel.o -c zaptel.c > In file included from > /lib/modules/2.4.21-4.ELsmp/build/include/linux/tqueue.h:19, > from > /lib/modules/2.4.21-4.ELsmp/build/include/linux/aio.h:4, > from > /lib/modules/2.4.21-4.ELsmp/build/include/linux/net.h:88, > from > /lib/modules/2.4.21-4.ELsmp/build/include/linux/fs.h:15, > from > /lib/modules/2.4.21-4.ELsmp/build/include/linux/capability.h:17, > from > /lib/modules/2.4.21-4.ELsmp/build/include/linux/binfmts.h:4, > from > /lib/modules/2.4.21-4.ELsmp/build/include/linux/sched.h:10, > from > /lib/modules/2.4.21-4.ELsmp/build/include/linux/mm.h:22, > from > /lib/modules/2.4.21-4.ELsmp/build/include/linux/slab.h:14, > from > /lib/modules/2.4.21-4.ELsmp/build/include/linux/proc_fs.h:5, > from zaptel.c:45: > /lib/modules/2.4.21-4.ELsmp/build/include/asm/system.h: In function > `__set_64bit_var': > /lib/modules/2.4.21-4.ELsmp/build/include/asm/system.h:189: warning: > dereferencing type-punned pointer will break strict-aliasing rules > /lib/modules/2.4.21-4.ELsmp/build/include/asm/system.h:189: warning: > dereferencing type-punned pointer will break strict-aliasing rules > In file included from > /lib/modules/2.4.21-4.ELsmp/build/include/linux/sched.h:24, > from > /lib/modules/2.4.21-4.ELsmp/build/include/linux/mm.h:22, > from > /lib/modules/2.4.21-4.ELsmp/build/include/linux/slab.h:14, > from > /lib/modules/2.4.21-4.ELsmp/build/include/linux/proc_fs.h:5, > from zaptel.c:45: > /lib/modules/2.4.21-4.ELsmp/build/include/linux/smp.h: At top level: > /lib/modules/2.4.21-4.ELsmp/build/include/linux/smp.h:31: error: > conflicting types for 'smp_send_reschedule' > /lib/modules/2.4.21-4.ELsmp/build/include/asm/smp.h:41: error: previous > declaration of 'smp_send_reschedule' was here > /lib/modules/2.4.21-4.ELsmp/build/include/linux/smp.h:31: error: > conflicting types for 'smp_send_reschedule' > /lib/modules/2.4.21-4.ELsmp/build/include/asm/smp.h:41: error: previous > declaration of 'smp_send_reschedule' was here > make: *** [zaptel.o] Error 1 > > > What could I be missing? :) Thank you > > -- > Leandro Rzezak > leandror@gmail.com <mailto:leandror@gmail.com> > > > ------------------------------------------------------------------------ > > _______________________________________________ > --Bandwidth and Colocation provided by Easynews.com -- > > Asterisk-Users mailing list > To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-users-- Mojo <mojo@horanappraisals.com> Office Manger, Horan & Company, LLC (907) 747-6666 x112
I just upgraded to Asterisk 1.2.1 and Asterisk fails to start with the error below. Jan 9 21:25:38 NOTICE[1339]: cdr.c:1171 do_reload: CDR simple logging enabled. Jan 9 21:25:38 WARNING[1339]: loader.c:326 __load_resource: /usr/lib/asterisk/modules/chan_zap.so: undefined symbol: pri_restart Jan 9 21:25:38 WARNING[1339]: loader.c:555 load_modules: Loading module chan_zap.so failed! Can Anyone tell me whats wrong. A. Izukanne Atani Communications ___________________________________________________________ To help you stay safe and secure online, we've developed the all new Yahoo! Security Centre. http://uk.security.yahoo.com
On 01/10/06 04:32 Arinze Izukanne said the following:> I just upgraded to Asterisk 1.2.1 and Asterisk fails > to start with the error below. > > Jan 9 21:25:38 NOTICE[1339]: cdr.c:1171 do_reload: > CDR simple logging enabled. > Jan 9 21:25:38 WARNING[1339]: loader.c:326 > __load_resource: > /usr/lib/asterisk/modules/chan_zap.so: undefined > symbol: pri_restartlibpri seems to be missing from your library search path. -- Regards, /\_/\ "All dogs go to heaven." dinesh@alphaque.com (0 0) http://www.alphaque.com/ +==========================----oOO--(_)--OOo----==========================+ | for a in past present future; do | | for b in clients employers associates relatives neighbours pets; do | | echo "The opinions here in no way reflect the opinions of my $a $b." | | done; done | +=========================================================================+