[asterisk-bugs] [Asterisk 0012289]: [patch] Cannot compile asterisk with DONT_OPTIMIZE on a 2.4 kernel and an old version of Slackware

noreply at bugs.digium.com noreply at bugs.digium.com
Fri May 23 07:32:01 CDT 2008


A NOTE has been added to this issue. 
====================================================================== 
http://bugs.digium.com/view.php?id=12289 
====================================================================== 
Reported By:                francesco_r
Assigned To:                russell
====================================================================== 
Project:                    Asterisk
Issue ID:                   12289
Category:                   Utilities/General
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     closed
Asterisk Version:           SVN 
SVN Branch (only for SVN checkouts, not tarball releases):  1.4  
SVN Revision (number only!): 110395 
Disclaimer on File?:        N/A 
Request Review:              
Resolution:                 fixed
Fixed in Version:           
====================================================================== 
Date Submitted:             03-24-2008 11:11 CDT
Last Modified:              05-23-2008 07:31 CDT
====================================================================== 
Summary:                    [patch] Cannot compile asterisk with DONT_OPTIMIZE
on a 2.4 kernel and an old version of Slackware
Description: 
I use Slackware 11 (gcc 3.4.6)

   [CC] chan_phone.c -> chan_phone.o
In file included from /usr/src/asterisk-1.4/include/asterisk/cdr.h:49,
                 from
/usr/src/asterisk-1.4/include/asterisk/channel.h:115,
                 from chan_phone.c:57:
/usr/src/asterisk-1.4/include/asterisk/utils.h: In function
`_ast_asprintf':
/usr/src/asterisk-1.4/include/asterisk/utils.h:476: sorry, unimplemented:
functi               on '_ast_asprintf' can never be inlined because it
uses variable argument lists
make[1]: *** [chan_phone.o] Error 1

====================================================================== 

---------------------------------------------------------------------- 
 svnbot - 05-23-08 07:31  
---------------------------------------------------------------------- 
Repository: asterisk
Revision: 118050

_U  branches/1.6.0/
U   branches/1.6.0/include/asterisk/utils.h
U   branches/1.6.0/main/utils.c

------------------------------------------------------------------------
r118050 | russell | 2008-05-23 07:31:56 -0500 (Fri, 23 May 2008) | 25
lines

Merged revisions 118049 via svnmerge from 
https://origsvn.digium.com/svn/asterisk/trunk

................
r118049 | russell | 2008-05-23 07:37:31 -0500 (Fri, 23 May 2008) | 17
lines

Merged revisions 118048 via svnmerge from 
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r118048 | russell | 2008-05-23 07:30:53 -0500 (Fri, 23 May 2008) | 9 lines

Don't declare a function that takes variable arguments as inline, because
it's
not valid, and on some compilers, will emit a warning.

http://gcc.gnu.org/onlinedocs/gcc/Inline.html#Inline

(closes issue http://bugs.digium.com/view.php?id=12289)
Reported by: francesco_r
Patches by Tilghman, final patch by me

........

................

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

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

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
05-23-08 07:31  svnbot         Checkin                                      
05-23-08 07:31  svnbot         Note Added: 0087250                          
======================================================================




More information about the asterisk-bugs mailing list