[asterisk-dev] Fwd: aelparse won't link on 64bit x86
Steve Murphy
murf at parsetree.com
Mon Aug 20 12:47:45 CDT 2007
On Mon, 2007-08-20 at 08:35 +0200, Stephen Davies wrote:
> Further to the post below (which didn't seem to get to the list??),
> then fix is simple:
>
> in utils/extconf.c and include/asterisk/lock.h, change the "#elif
> defined(__386__)" to read
>
> #elif defined (__i386__) || defined(__x86_64__)
>
> Steve
>
OK, seems reasonable to me... I added that mod to trunk in r80075.
murf
>
> ---------- Forwarded message ----------
> From: Stephen Davies <stephen.l.davies at gmail.com>
> Date: 19-Aug-2007 19:23
> Subject: aelparse won't link on 64bit x86
> To: Asterisk Developers Mailing List <asterisk-dev at lists.digium.com>
>
>
> Hi,
>
> Trying to build current SVN trunk on a 64bit Gentoo environment fails
> as follows:
>
> voipconnect_2 asterisk # make
> menuselect/menuselect --check-deps menuselect.makeopts
> Generating embedded module rules ...
> [LD] aelparse.o aelbison.o pbx_ael.o ael_main.o ast_expr2f.o
> ast_expr2.o strcompat.o pval.o extconf.o -> aelparse
> extconf.o: In function `ast_atomic_fetchadd_int':
> /usr/local/src/asterisk/trunk/asterisk/utils/extconf.c:1584: undefined
> reference to `ast_atomic_fetchadd_int_slow'
> collect2: ld returned 1 exit status
> make[1]: *** [aelparse] Error 1
> make: *** [utils] Error 2
>
> Looking in utils/extconf.c, there seems to be two issues:
>
> 1) The "fast" assembler fetchadd_int isn't selected for this arch. I
> suppose __i386__ isn't defined
>
> 2) ast_atomic_fetchadd_int_slow is is main/utils.c, which isn't
> included in the link for aelparse.
>
> Regards,
> Steve
>
> _______________________________________________
> --Bandwidth and Colocation Provided by http://www.api-digital.com--
>
> asterisk-dev mailing list
> To UNSUBSCRIBE or update options visit:
> http://lists.digium.com/mailman/listinfo/asterisk-dev
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 3239 bytes
Desc: not available
Url : http://lists.digium.com/pipermail/asterisk-dev/attachments/20070820/ea992a3f/attachment.bin
More information about the asterisk-dev
mailing list