[Home]

Summary:ASTERISK-17032: ast_expr2.y undefined references with DEBUG_FD_LEAKS
Reporter:cmaj (cmaj)Labels:
Date Opened:2010-11-26 19:17:44.000-0600Date Closed:2010-12-16 02:59:28.000-0600
Priority:MinorRegression?No
Status:Closed/CompleteComponents:Utilities/General
Versions:Frequency of
Occurrence
Related
Issues:
Environment:Attachments:
Description:Compile chokes on ast_expr2.y if DEBUG_FD_LEAKS is enabled.

****** ADDITIONAL INFORMATION ******

CC="cc" CXX="" LD="" AR="" RANLIB="" CFLAGS="" make -C menuselect CONFIGURE_SILENT="--silent" makeopts
make[1]: Entering directory `/home/chris/src/asterisk-1.8.0/menuselect'
make[1]: `makeopts' is up to date.
make[1]: Leaving directory `/home/chris/src/asterisk-1.8.0/menuselect'
  [CC] ast_expr2f.c -> ast_expr2fz.o
  [CC] ast_expr2.c -> ast_expr2z.o
  [LD] ast_expr2fz.o ast_expr2z.o  -> check_expr2
ast_expr2z.o: In function `main':
/home/chris/src/asterisk-1.8.0/utils/ast_expr2.y:687: undefined reference to `__ast_fdleak_fopen'
/home/chris/src/asterisk-1.8.0/utils/ast_expr2.y:702: undefined reference to `__ast_fdleak_fclose'
collect2: ld returned 1 exit status
make[1]: *** [check_expr2] Error 1
make: *** [utils] Error 2
Comments:By: Digium Subversion (svnbot) 2010-11-27 03:58:58.000-0600

Repository: asterisk
Revision: 296429

U   branches/1.8/include/asterisk.h

------------------------------------------------------------------------
r296429 | tilghman | 2010-11-27 03:58:57 -0600 (Sat, 27 Nov 2010) | 5 lines

Also don't build DEBUG_FD_LEAKS when STANDALONE2 is defined.

(closes issue ASTERISK-17032)
Reported by: cmaj

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

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

By: Digium Subversion (svnbot) 2010-11-27 04:00:36.000-0600

Repository: asterisk
Revision: 296430

_U  trunk/
U   trunk/include/asterisk.h

------------------------------------------------------------------------
r296430 | tilghman | 2010-11-27 04:00:36 -0600 (Sat, 27 Nov 2010) | 12 lines

Merged revisions 296429 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.8

........
 r296429 | tilghman | 2010-11-27 03:58:57 -0600 (Sat, 27 Nov 2010) | 5 lines
 
 Also don't build DEBUG_FD_LEAKS when STANDALONE2 is defined.
 
 (closes issue ASTERISK-17032)
  Reported by: cmaj
........

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

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

By: cmaj (cmaj) 2010-12-09 10:28:54.000-0600

Same bug found in 1.8.1

By: Tilghman Lesher (tilghman) 2010-12-14 08:43:59.000-0600

Please test 1.8 SVN.  Due to our release candidate process, fixes may not immediately show up in the next scheduled release.

By: cmaj (cmaj) 2010-12-15 19:37:39.000-0600

Fixed in 1.8.2-rc1