[Asterisk-Users] Problem Compiling Zaptel 1.2.1

Mojo with Horan & Company, LLC mojo at horanappraisals.com
Mon Jan 9 15:34:06 MST 2006


Are you running a 64-bit CPU or a 32bit one? I'm asking because I see 
the line with "__set_64bit_var" in there.

In addition, are you using an SMP box, or is it just hyperthreading, or 
is this an accident and you're really just using single cpu?

I don't know aything about asterisk and 64-bit compatibility (or SMP 
compatibility) but I thought these details might help someone else help 
you :)

Moj


Leandro Rzezak wrote:
> Removed /usr/include/asterisk, same thing.. Any clue?
> 
> On 1/9/06, *Mojo with Horan & Company, LLC* <mojo at horanappraisals.com 
> <mailto:mojo at horanappraisals.com>> wrote:
> 
>     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 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 <mailto:leandror at gmail.com>
>     <mailto:leandror at gmail.com <mailto:leandror at gmail.com>>
>      >
>      >
>      >
>     ------------------------------------------------------------------------
> 
>      >
>      > _______________________________________________
>      > --Bandwidth and Colocation provided by Easynews.com
>     <http://Easynews.com> --
>      >
>      > Asterisk-Users mailing list
>      > To UNSUBSCRIBE or update options visit:
>      >    http://lists.digium.com/mailman/listinfo/asterisk-users
> 
>     --
>     Mojo <mojo at horanappraisals.com <mailto:mojo at horanappraisals.com>>
>     Office Manger, Horan & Company, LLC
>     (907) 747-6666 x112
>     _______________________________________________
>     --Bandwidth and Colocation provided by Easynews.com
>     <http://Easynews.com> --
> 
>     Asterisk-Users mailing list
>     To UNSUBSCRIBE or update options visit:
>        http://lists.digium.com/mailman/listinfo/asterisk-users
> 
> 
> 
> 
> -- 
> Leandro Rzezak
> leandror at gmail.com <mailto:leandror at 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 at horanappraisals.com>
Office Manger, Horan & Company, LLC
(907) 747-6666 x112



More information about the asterisk-users mailing list