[asterisk-bugs] [Asterisk 0011143]: Solaris build issues
noreply at bugs.digium.com
noreply at bugs.digium.com
Mon Nov 5 10:34:18 CST 2007
A NOTE has been added to this issue.
======================================================================
http://bugs.digium.com/view.php?id=11143
======================================================================
Reported By: snuffy
Assigned To: Corydon76
======================================================================
Project: Asterisk
Issue ID: 11143
Category: Core-General
Reproducibility: always
Severity: minor
Priority: normal
Status: closed
Asterisk Version: SVN
SVN Branch (only for SVN checkouts, not tarball releases): trunk
SVN Revision (number only!): 88197
Disclaimer on File?: N/A
Request Review:
Resolution: fixed
Fixed in Version:
======================================================================
Date Submitted: 11-01-2007 23:13 CDT
Last Modified: 11-05-2007 10:34 CST
======================================================================
Summary: Solaris build issues
Description:
I tried to build svn trunk and found solaris compile broken
This appears to be from bug http://bugs.digium.com/view.php?id=11116 or rev
87739
[CC] aelparse.c -> aelparse.o
In file included from
/export/home/bradl/sources/asterisk/include/asterisk/utils.h:38,
from ael.flex:71:
/export/home/bradl/sources/asterisk/include/asterisk/lock.h: In function
`ast_mutex_init':
/export/home/bradl/sources/asterisk/include/asterisk/lock.h:680: error:
syntax error before '{' token
/export/home/bradl/sources/asterisk/include/asterisk/lock.h:675: warning:
unused variable `res'
/export/home/bradl/sources/asterisk/include/asterisk/lock.h:676: warning:
unused variable `attr'
/export/home/bradl/sources/asterisk/include/asterisk/lock.h:680: warning:
no return statement in function returning non-void
/export/home/bradl/sources/asterisk/include/asterisk/lock.h: At top
level:
/export/home/bradl/sources/asterisk/include/asterisk/lock.h:683: error:
syntax error before '&' token
/export/home/bradl/sources/asterisk/include/asterisk/lock.h:683: warning:
type defaults to `int' in declaration of `pthread_mutexattr_init'
/export/home/bradl/sources/asterisk/include/asterisk/lock.h:683: warning:
function declaration isn't a prototype
/export/home/bradl/sources/asterisk/include/asterisk/lock.h:683: warning:
data definition has no type or storage class
/export/home/bradl/sources/asterisk/include/asterisk/lock.h:684: error:
syntax error before '&' token
/export/home/bradl/sources/asterisk/include/asterisk/lock.h:684: warning:
type defaults to `int' in declaration of `pthread_mutexattr_settype'
/export/home/bradl/sources/asterisk/include/asterisk/lock.h:684: warning:
function declaration isn't a prototype
/export/home/bradl/sources/asterisk/include/asterisk/lock.h:684: warning:
data definition has no type or storage class
/export/home/bradl/sources/asterisk/include/asterisk/lock.h:686: warning:
type defaults to `int' in declaration of `res'
/export/home/bradl/sources/asterisk/include/asterisk/lock.h:686: error:
`pmutex' undeclared here (not in a function)
/export/home/bradl/sources/asterisk/include/asterisk/lock.h:686: error:
`attr' undeclared here (not in a function)
/export/home/bradl/sources/asterisk/include/asterisk/lock.h:686: error:
initializer element is not constant
/export/home/bradl/sources/asterisk/include/asterisk/lock.h:686: warning:
data definition has no type or storage class
/export/home/bradl/sources/asterisk/include/asterisk/lock.h:687: error:
syntax error before '&' token
/export/home/bradl/sources/asterisk/include/asterisk/lock.h:687: warning:
type defaults to `int' in declaration of `pthread_mutexattr_destroy'
/export/home/bradl/sources/asterisk/include/asterisk/lock.h:687: warning:
function declaration isn't a prototype
/export/home/bradl/sources/asterisk/include/asterisk/lock.h:687: warning:
data definition has no type or storage class
/export/home/bradl/sources/asterisk/include/asterisk/lock.h: In function
`ast_mutex_unlock':
/export/home/bradl/sources/asterisk/include/asterisk/lock.h:697: error:
syntax error before '{' token
/export/home/bradl/sources/asterisk/include/asterisk/lock.h:697: warning:
no return statement in function returning non-void
/export/home/bradl/sources/asterisk/include/asterisk/lock.h: In function
`ast_mutex_destroy':
/export/home/bradl/sources/asterisk/include/asterisk/lock.h:708: error:
syntax error before '{' token
/export/home/bradl/sources/asterisk/include/asterisk/lock.h:708: warning:
no return statement in function returning non-void
/export/home/bradl/sources/asterisk/include/asterisk/lock.h: In function
`ast_mutex_lock':
/export/home/bradl/sources/asterisk/include/asterisk/lock.h:718: error:
syntax error before '{' token
/export/home/bradl/sources/asterisk/include/asterisk/lock.h:718: warning:
no return statement in function returning non-void
/export/home/bradl/sources/asterisk/include/asterisk/lock.h: At top
level:
/export/home/bradl/sources/asterisk/include/asterisk/lock.h:721: error:
syntax error before numeric constant
/export/home/bradl/sources/asterisk/include/asterisk/lock.h:721: warning:
type defaults to `int' in declaration of `ast_mark'
/export/home/bradl/sources/asterisk/include/asterisk/lock.h:721: warning:
function declaration isn't a prototype
/export/home/bradl/sources/asterisk/include/asterisk/lock.h:721: error:
conflicting types for 'ast_mark'
/export/home/bradl/sources/asterisk/include/asterisk.h:221: error:
previous declaration of 'ast_mark' was here
/export/home/bradl/sources/asterisk/include/asterisk/lock.h:721: error:
conflicting types for 'ast_mark'
/export/home/bradl/sources/asterisk/include/asterisk.h:221: error:
previous declaration of 'ast_mark' was here
/export/home/bradl/sources/asterisk/include/asterisk/lock.h:721: warning:
data definition has no type or storage class
/export/home/bradl/sources/asterisk/include/asterisk/lock.h:721: warning:
type defaults to `int' in declaration of `i'
/export/home/bradl/sources/asterisk/include/asterisk/lock.h:721: error:
initializer element is not constant
/export/home/bradl/sources/asterisk/include/asterisk/lock.h:721: warning:
data definition has no type or storage class
/export/home/bradl/sources/asterisk/include/asterisk/lock.h:721: error:
syntax error before numeric constant
/export/home/bradl/sources/asterisk/include/asterisk/lock.h:721: warning:
type defaults to `int' in declaration of `ast_mark'
/export/home/bradl/sources/asterisk/include/asterisk/lock.h:721: warning:
function declaration isn't a prototype
/export/home/bradl/sources/asterisk/include/asterisk/lock.h:721: warning:
data definition has no type or storage class
/export/home/bradl/sources/asterisk/include/asterisk/lock.h: In function
`ast_mutex_trylock':
/export/home/bradl/sources/asterisk/include/asterisk/lock.h:728: error:
syntax error before '{' token
/export/home/bradl/sources/asterisk/include/asterisk/lock.h:728: warning:
no return statement in function returning non-void
/export/home/bradl/sources/asterisk/include/asterisk/lock.h: In function
`ast_rwlock_init':
/export/home/bradl/sources/asterisk/include/asterisk/lock.h:1042: error:
invalid operands to binary !=
/export/home/bradl/sources/asterisk/include/asterisk/lock.h: In function
`ast_rwlock_destroy':
/export/home/bradl/sources/asterisk/include/asterisk/lock.h:1060: error:
invalid operands to binary ==
/export/home/bradl/sources/asterisk/include/asterisk/lock.h: In function
`ast_rwlock_unlock':
/export/home/bradl/sources/asterisk/include/asterisk/lock.h:1070: error:
invalid operands to binary ==
/export/home/bradl/sources/asterisk/include/asterisk/lock.h: In function
`ast_rwlock_rdlock':
/export/home/bradl/sources/asterisk/include/asterisk/lock.h:1082: error:
invalid operands to binary ==
/export/home/bradl/sources/asterisk/include/asterisk/lock.h: In function
`ast_rwlock_tryrdlock':
/export/home/bradl/sources/asterisk/include/asterisk/lock.h:1093: error:
invalid operands to binary ==
/export/home/bradl/sources/asterisk/include/asterisk/lock.h: In function
`ast_rwlock_wrlock':
/export/home/bradl/sources/asterisk/include/asterisk/lock.h:1104: error:
invalid operands to binary ==
/export/home/bradl/sources/asterisk/include/asterisk/lock.h: In function
`ast_rwlock_trywrlock':
/export/home/bradl/sources/asterisk/include/asterisk/lock.h:1115: error:
invalid operands to binary ==
gmake[1]: *** [aelparse.o] Error 1
gmake: *** [utils] Error 2
(15:07)[bradl at sol-box:asterisk]$
======================================================================
----------------------------------------------------------------------
oej - 11-05-07 10:34
----------------------------------------------------------------------
This patch breaks compilation on OS/X
Issue History
Date Modified Username Field Change
======================================================================
11-05-07 10:34 oej Note Added: 0073106
======================================================================
More information about the asterisk-bugs
mailing list