[asterisk-bugs] [JIRA] (ASTERISK-15640) Incorrect linker flags used on OpenSolaris

Sean Bright (JIRA) noreply at issues.asterisk.org
Thu Sep 3 11:32:43 CDT 2020


    [ https://issues.asterisk.org/jira/browse/ASTERISK-15640?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=251933#comment-251933 ] 

Sean Bright commented on ASTERISK-15640:
----------------------------------------

Suspended due to lack of activity. Please request a bug marshal in #asterisk-bugs on the IRC network irc.freenode.net to reopen the issue should you have the additional information requested. Further information on issue tracker usage can be found in the Asterisk Issue Guidlines [1].

[1] https://wiki.asterisk.org/wiki/display/AST/Asterisk+Issue+Guidelines



> Incorrect linker flags used on OpenSolaris
> ------------------------------------------
>
>                 Key: ASTERISK-15640
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-15640
>             Project: Asterisk
>          Issue Type: Bug
>          Components: Addons/General
>            Reporter: Ben Klang
>            Assignee: Ben Klang
>            Severity: Minor
>
> 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



--
This message was sent by Atlassian JIRA
(v6.2#6252)



More information about the asterisk-bugs mailing list