[asterisk-bugs] [Asterisk 0011703]: Error on utils/extconf.c when buiding aelparse

noreply at bugs.digium.com noreply at bugs.digium.com
Tue Jan 8 09:23:09 CST 2008


The following issue has been ASSIGNED. 
====================================================================== 
http://bugs.digium.com/view.php?id=11703 
====================================================================== 
Reported By:                dmartin
Assigned To:                file
====================================================================== 
Project:                    Asterisk
Issue ID:                   11703
Category:                   Core/BuildSystem
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     assigned
Asterisk Version:           SVN 
SVN Branch (only for SVN checkouts, not tarball releases):  trunk 
SVN Revision (number only!): 96743 
Disclaimer on File?:        N/A 
Request Review:              
====================================================================== 
Date Submitted:             01-07-2008 13:38 CST
Last Modified:              01-08-2008 09:23 CST
====================================================================== 
Summary:                    Error on utils/extconf.c when buiding aelparse
Description: 
I know that this is a recurrent bug, but I didn't read any report of
happening on Debian. The linking fails, as usual, on:

   [CC] extconf.c -> extconf.o
   [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/src/asterisk-trunk/utils/extconf.c:1808: undefined reference to
`ast_atomic_fetchadd_int_slow'
/usr/src/asterisk-trunk/utils/extconf.c:1808: undefined reference to
`ast_atomic_fetchadd_int_slow'
collect2: ld devolvió el estado de salida 1
make[1]: *** [aelparse] Error 1

and I have to add the function ast_atomic_fetchadd_int_slow() to
utils/extconf.c by hand (stolen from utils/utils.c) to link properly.

I'm using gcc 4.3.0 from Debian Sid (Sparc)
====================================================================== 

---------------------------------------------------------------------- 
 svnbot - 01-08-08 09:23  
---------------------------------------------------------------------- 
Repository: asterisk
Revision: 97041

U   trunk/utils/extconf.c

------------------------------------------------------------------------
r97041 | file | 2008-01-08 09:23:03 -0600 (Tue, 08 Jan 2008) | 4 lines

Make ast_atomic_fetchadd_int_slow magically appear in extconf.
(closes issue http://bugs.digium.com/view.php?id=11703)
Reported by: dmartin

------------------------------------------------------------------------

http://svn.digium.com/view/asterisk?view=rev&revision=97041 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
01-08-08 09:23  svnbot         Note Added: 0076492                          
01-08-08 09:23  svnbot         Status                   new => assigned     
01-08-08 09:23  svnbot         Assigned To               => file            
======================================================================




More information about the asterisk-bugs mailing list