[asterisk-bugs] [Asterisk 0016830]: [patch] Build fails on smsq.c with syntax error

Asterisk Bug Tracker noreply at bugs.digium.com
Tue Feb 16 13:28:13 CST 2010


A NOTE has been added to this issue. 
====================================================================== 
https://issues.asterisk.org/view.php?id=16830 
====================================================================== 
Reported By:                bklang
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   16830
Category:                   Core/BuildSystem
Reproducibility:            have not tried
Severity:                   minor
Priority:                   normal
Status:                     feedback
Asterisk Version:           SVN 
JIRA:                        
Regression:                 Yes 
Reviewboard Link:            
SVN Branch (only for SVN checkouts, not tarball releases): 1.6.2 
SVN Revision (number only!): 246666 
Request Review:              
====================================================================== 
Date Submitted:             2010-02-15 14:08 CST
Last Modified:              2010-02-16 13:28 CST
====================================================================== 
Summary:                    [patch] Build fails on smsq.c with syntax error
Description: 
Some time between revision 242974 and rev 246199 the ability to build on
OpenSolaris broke.

This is the error message I get:

Generating embedded module rules ...
   [CC] smsq.c -> smsq.o
In file included from
/export/home/admin/asterisk-1.6.2.svn/include/asterisk.h:27,
                 from smsq.c:20:
/export/home/admin/asterisk-1.6.2.svn/include/asterisk/compat.h:105:
error: syntax error before "strtoq"
/export/home/admin/asterisk-1.6.2.svn/include/asterisk/compat.h:105:
warning: type defaults to `int' in declaration of `strtoq'
/export/home/admin/asterisk-1.6.2.svn/include/asterisk/compat.h:105:
warning: data definition has no type or storage class
smsq.c: In function `txqcheck':
smsq.c:131: warning: implicit declaration of function `getpid'
smsq.c:180: warning: implicit declaration of function `link'
smsq.c:182: warning: implicit declaration of function `unlink'
smsq.c: In function `rxqcheck':
smsq.c:269: warning: implicit declaration of function `atoi'
smsq.c:402: warning: implicit declaration of function `system'
smsq.c: In function `main':
smsq.c:636: warning: implicit declaration of function `read'
smsq.c:643: warning: implicit declaration of function `close'
smsq.c:671: warning: implicit declaration of function `chdir'
smsq.c:763: warning: implicit declaration of function `sleep'
gmake[1]: *** [smsq.o] Error 1
gmake: *** [utils] Error 2

Checking the svn log for include/asterisk/compat.h shows no changes since
well before r242974.  I tried diffing configure but can't easily because
that file is marked as binary in svn.  I tried manually diffing between
revisions but nothing jumped out at me.

I also noted this output from the end of ./configure, right before the
ascii-art logo is displayed:

Label too long: :defs/$/ /
Label too long: :defs,^\([       #]*\)[^         ]*\([  
]*_FILE_OFFSET_BITS\)[  (].*,\1define\2 64 ,
Label too long: :defs,^\([       #]*\)[^         ]*\([   ]*HAVE_PUTENV\)[ 
      (].*,\1define\2 1 ,
Label too long: :defs,^\([       #]*\)[^         ]*\([   ]*HAVE_SIN\)[  
(].*,\1define\2 1 ,
Label too long: :defs,^\([       #]*\)[^         ]*\([  
]*HAVE_BKTR_VERSION\)[  (].*,\1define\2  ,
====================================================================== 

---------------------------------------------------------------------- 
 (0118117) tilghman (administrator) - 2010-02-16 13:28
 https://issues.asterisk.org/view.php?id=16830#c118117 
---------------------------------------------------------------------- 
That patch doesn't fix any issue whatsoever.  If anything was fixed, then
it was the fact that you regenerated the configure files. 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2010-02-16 13:28 tilghman       Note Added: 0118117                          
======================================================================




More information about the asterisk-bugs mailing list