[asterisk-bugs] [Asterisk 0016845]: Incorrect linker flags used on OpenSolaris

Asterisk Bug Tracker noreply at bugs.digium.com
Wed Feb 17 14:39:16 CST 2010


The following issue has been UPDATED. 
====================================================================== 
https://issues.asterisk.org/view.php?id=16845 
====================================================================== 
Reported By:                bklang
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   16845
Category:                   Addons/General
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     acknowledged
Asterisk Version:           SVN 
JIRA:                        
Regression:                 No 
Reviewboard Link:            
SVN Branch (only for SVN checkouts, not tarball releases): 1.6.2 
SVN Revision (number only!): 1091 
Request Review:              
====================================================================== 
Date Submitted:             2010-02-16 13:15 CST
Last Modified:              2010-02-17 14:39 CST
====================================================================== 
Summary:                    Incorrect linker flags used on OpenSolaris
Description: 
While Asterisk itself builds cleanly on OpenSolaris, asterisk-addons does
not due to invalid linker flags.

gmake[1]: Entering directory
`/export/home/admin/asterisk-addons-1.6.2.svn/cdr'
   [CC] cdr_addon_mysql.c -> cdr_addon_mysql.o
   [LD] cdr_addon_mysql.o -> cdr_addon_mysql.so
usage: ld [-6:abc:d:e:f:h:il:mo:p:rstu:z:B:CD:F:GI:L:M:N:P:Q:R:S:VW:Y:?]
file(s)
<...ld usage output removed...>

I can still manually link the objects with the following commands:
gcc -pg -shared -o cdr_addon_mysql.so -L/opt/SUNWspro/lib -lCrun -lrt
-L/usr/mysql/5.0/lib/mysql -R/usr/mysql/5.0/lib/mysql -lmysqlclient -lz
-lgen -lsocket -lnsl -lm cdr_addon_mysql.o
====================================================================== 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2010-02-17 14:39 lmadsen        Description Updated                          
======================================================================




More information about the asterisk-bugs mailing list