Return-Path: Delivered-To: apmail-ws-axis-c-dev-archive@www.apache.org Received: (qmail 74990 invoked from network); 27 Sep 2004 11:35:44 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 27 Sep 2004 11:35:44 -0000 Received: (qmail 51897 invoked by uid 500); 27 Sep 2004 11:35:43 -0000 Delivered-To: apmail-ws-axis-c-dev-archive@ws.apache.org Received: (qmail 51874 invoked by uid 500); 27 Sep 2004 11:35:42 -0000 Mailing-List: contact axis-c-dev-help@ws.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: list-post: List-Id: "Apache AXIS C Developers List" Reply-To: "Apache AXIS C Developers List" Delivered-To: mailing list axis-c-dev@ws.apache.org Received: (qmail 51859 invoked by uid 99); 27 Sep 2004 11:35:42 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=NO_REAL_NAME X-Spam-Check-By: apache.org Received: from [192.18.33.10] (HELO exchange.sun.com) (192.18.33.10) by apache.org (qpsmtpd/0.28) with SMTP; Mon, 27 Sep 2004 04:35:41 -0700 Received: (qmail 12533 invoked from network); 27 Sep 2004 11:37:32 -0000 Received: from localhost (HELO nagoya) (127.0.0.1) by nagoya.betaversion.org with SMTP; 27 Sep 2004 11:37:32 -0000 Message-ID: <1455077415.1096285052761.JavaMail.apache@nagoya> Date: Mon, 27 Sep 2004 04:37:32 -0700 (PDT) From: axis-c-dev@ws.apache.org To: axis-c-dev@ws.apache.org Subject: [jira] Commented: (AXISCPP-162) Unable to link Transport library when trace is enabled In-Reply-To: <2058014705.1095768157561.JavaMail.apache@nagoya> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N The following comment has been added to this issue: Author: sanjaya singharage Created: Mon, 27 Sep 2004 4:36 AM Body: The cause of this problems seems to be that none of the files included in the AxisTransport project declare the global pointer AxisTrace * g_pAT. It't not going to do any good by declaring this variable in one of the files of the transport project since there is some initialization done in Axis.cpp done to the AxisTrace object. So the solution would be to pass this pointer to the transport dll when it is loaded with the state of AxisTrace object preserved. --------------------------------------------------------------------- View this comment: http://issues.apache.org/jira/browse/AXISCPP-162?page=comments#action_53433 --------------------------------------------------------------------- View the issue: http://issues.apache.org/jira/browse/AXISCPP-162 Here is an overview of the issue: --------------------------------------------------------------------- Key: AXISCPP-162 Summary: Unable to link Transport library when trace is enabled Type: Bug Status: Unassigned Priority: Major Project: Axis-C++ Components: Transport (Client) Assignee: Reporter: Adrian Dick Created: Tue, 21 Sep 2004 5:01 AM Updated: Mon, 27 Sep 2004 4:36 AM Environment: Windows - Microsoft Visual C++ v6 Using ANT script to build Description: When specifying the ENABLE_AXISTRACE compile flag, the transport library fails to link: Error as seen on Windows: .... Starting link Creating library libaxis_transport.lib and object libaxis_transport.exp HttpTransport.obj : error LNK2001: unresolved external symbol "public: int __thiscall axiscpp::AxisTrace::logaxis(char const *,int,char *,int)" (?logaxis@AxisTrace@axiscpp@@QAEHPBDHPADH@Z) HttpTransport.obj : error LNK2001: unresolved external symbol "class axiscpp::AxisTrace * g_pAT" (?g_pAT@@3PAVAxisTrace@axiscpp@@A) libaxis_transport.dll : fatal error LNK1120: 2 unresolved externals link failed with return code 1120 ... --------------------------------------------------------------------- JIRA INFORMATION: This message is automatically generated by JIRA. If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa If you want more information on JIRA, or have a bug to report see: http://www.atlassian.com/software/jira