[Home]

Summary:ASTERISK-02970: utils/smsq.c compile errors on FreeBSD 4.10
Reporter:Olle Johansson (oej)Labels:
Date Opened:2004-12-12 03:40:03.000-0600Date Closed:2008-01-15 15:16:29.000-0600
Priority:MajorRegression?No
Status:Closed/CompleteComponents:Core/General
Versions:Frequency of
Occurrence
Related
Issues:
Environment:Attachments:
Description:The smsq utility can't compile on FreeBSD, see below.

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

In file included from smsq.c:6:
/usr/include/malloc.h:2: warning: #warning "this file includes <malloc.h> which is deprecated, use <stdlib.h> instead"
smsq.c: In function `rxqcheck':
smsq.c:183: `NAME_MAX' undeclared (first use in this function)
smsq.c:183: (Each undeclared identifier is reported only once
smsq.c:183: for each function it appears in.)
smsq.c:183: size of array `filename' has non-integer type
gmake[1]: *** [smsq.o] Error 1
gmake[1]: Leaving directory `/usr/local/src/asterisk.dev/asterisk.head/utils'
gmake: *** [subdirs] Error 1
Comments:By: Olle Johansson (oej) 2004-12-12 03:40:48.000-0600

...and should all the utils compile by default, really?

By: Mark Spencer (markster) 2004-12-12 18:32:48.000-0600

Fixed in CVS

By: Digium Subversion (svnbot) 2008-01-15 15:16:29.000-0600

Repository: asterisk
Revision: 4439

U   trunk/utils/smsq.c

------------------------------------------------------------------------
r4439 | markster | 2008-01-15 15:16:28 -0600 (Tue, 15 Jan 2008) | 2 lines

smsq issues (bug ASTERISK-2970)

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

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