[Asterisk-Users] Problem Compiling Zaptel 1.2.1

Leandro Rzezak leandror at gmail.com
Mon Jan 9 12:58:12 MST 2006


[root at 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 at gmail.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20060109/4bf62a59/attachment.htm


More information about the asterisk-users mailing list