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

Sean Bright (JIRA) noreply at issues.asterisk.org
Tue Jan 14 12:08:25 CST 2020


     [ https://issues.asterisk.org/jira/browse/ASTERISK-15640?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Sean Bright updated ASTERISK-15640:
-----------------------------------

    Assignee: Ben Klang
      Status: Waiting for Feedback  (was: Open)

Are you still experiencing this problem? It looks like OpenSolaris no longer exists, is this still reproducible on one of the derivatives/forks?

> 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