You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@trafficserver.apache.org by "James Peach (JIRA)" <ji...@apache.org> on 2013/03/19 19:09:17 UTC

[jira] [Updated] (TS-1717) static library build fails with duplicate symbols

     [ https://issues.apache.org/jira/browse/TS-1717?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

James Peach updated TS-1717:
----------------------------

    Fix Version/s: 3.3.2
    
> static library build fails with duplicate symbols
> -------------------------------------------------
>
>                 Key: TS-1717
>                 URL: https://issues.apache.org/jira/browse/TS-1717
>             Project: Traffic Server
>          Issue Type: Bug
>          Components: Build
>            Reporter: James Peach
>             Fix For: 3.3.2
>
>
> fish:trafficserver.git jpeach$ ./config.nice --disable-shared --enable-static && make -j && sudo make install
> ...
>   CXXLD    traffic_manager
>   AR       libmgmt_p.a
> duplicate symbol _diags in:
>     Main.o
>     ../lib/ts/.libs/libtsutil.a(Diags.o)
> ld: 1 duplicate symbol for architecture x86_64
> example/app-template/app-template.cc://Diags *diags = NULL;
> iocore/aio/test_AIO.i:Diags *diags;
> iocore/cluster/test_I_Cluster.cc:Diags *diags;
> iocore/cluster/test_P_Cluster.cc:Diags *diags;
> iocore/dns/test_I_DNS.cc:Diags *diags;
> iocore/dns/test_P_DNS.cc:Diags *diags;
> iocore/eventsystem/test_Buffer.cc:Diags *diags;
> iocore/eventsystem/test_Event.i:Diags *diags;
> iocore/hostdb/test_I_HostDB.cc:Diags *diags;
> iocore/hostdb/test_P_HostDB.cc:Diags *diags;
> iocore/net/test_I_Net.cc:Diags *diags;
> iocore/net/test_I_UDPNet.cc:Diags *diags;
> iocore/net/test_P_Net.cc:Diags *diags;
> iocore/net/test_P_UDPNet.cc:Diags *diags;
> iocore/utils/diags.i://Diags *diags;
> lib/records/I_RecCore.h:int RecSetDiags(Diags * diags);
> lib/records/I_RecLocal.h:int RecLocalInit(Diags * diags = NULL);
> lib/records/I_RecProcess.h:int RecProcessInit(RecModeT mode_type, Diags * diags = NULL);
> lib/records/P_RecCore.h:int RecCoreInit(RecModeT mode_type, Diags * diags);
> lib/records/RecCore.cc:Diags *g_diags = NULL;
> lib/records/RecCore.cc:RecCoreInit(RecModeT mode_type, Diags *_diags)
> lib/records/RecCore.cc:RecSetDiags(Diags * _diags)
> lib/records/RecLocal.cc:RecLocalInit(Diags * _diags)
> lib/records/RecProcess.cc:RecProcessInit(RecModeT mode_type, Diags *_diags)
> lib/records/RecUtils.cc:extern Diags *g_diags;
> lib/records/test_I_RecLocal.cc:Diags *diags = NULL;
> lib/records/test_RecProcess.i:Diags *diags = NULL;
> lib/ts/Diags.cc:inkcoreapi Diags *diags = NULL;
> lib/ts/Diags.h:extern inkcoreapi Diags *diags;
> mgmt/Main.cc:inkcoreapi Diags *diags;
> proxy/DiagsConfig.h:  Diags *diags;
> proxy/Initialize.h:extern Diags *diags;
> proxy/Main.cc://inkcoreapi Diags *diags = NULL;
> proxy/hdrs/load_http_hdr.cc://Diags *diags;
> proxy/logging/LogStandalone.cc:Diags *diags = NULL;
> Additionally, AFAICT diags.i is not used and can be removed.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira