You are viewing a plain text version of this content. The canonical link for it is here.
Posted to c-dev@axis.apache.org by "Dushshantha Chandradasa (JIRA)" <ax...@ws.apache.org> on 2005/06/16 05:36:46 UTC
[jira] Created: (AXISCPP-698) cvs build fails due to an error in AttachmentHelper.cpp
cvs build fails due to an error in AttachmentHelper.cpp
-------------------------------------------------------
Key: AXISCPP-698
URL: http://issues.apache.org/jira/browse/AXISCPP-698
Project: Axis-C++
Type: Bug
Components: Server - Engine
Environment: All
Reporter: Dushshantha Chandradasa
CVS build fails with following error messages.
Suspicious library name starting with "lib": libapr
Suspicious library name starting with "lib": libhttpd
[cc] Starting dependency analysis for 2 files.
[cc] 2 files are up to date.
[cc] 0 files to be recompiled from dependency analysis.
[cc] 1 total files to be compiled.
[cc] AttachmentHelper.cpp
[cc] C:\axiscpp\ws-axis\c\src\server\apache2\AttachmentHelper.cpp(54) : e
rror C2512: 'SoapAttachment' : no appropriate default constructor available
BUILD FAILED
C:\axiscpp\ws-axis\c\build.xml:213: The following error occurred while executing
this line:
C:\axiscpp\ws-axis\c\build.xml:205: The following error occurred while executing
this line:
C:\axiscpp\ws-axis\c\build.xml:120: The following error occurred while executing
this line:
C:\axiscpp\ws-axis\c\build\buildApache20Module.xml:27: cl failed with return cod
e 2
--
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
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira
[jira] Commented: (AXISCPP-698) cvs build fails due to an error in AttachmentHelper.cpp
Posted by "Samisa Abeysinghe (JIRA)" <ax...@ws.apache.org>.
[ http://issues.apache.org/jira/browse/AXISCPP-698?page=comments#action_12313804 ]
Samisa Abeysinghe commented on AXISCPP-698:
-------------------------------------------
Apparently my fix only works on Linux. There is some platform specific linking problem on Windows :-( I have no clue how to fix this linking problem. However, on Linux I could run samples with this fix
> cvs build fails due to an error in AttachmentHelper.cpp
> -------------------------------------------------------
>
> Key: AXISCPP-698
> URL: http://issues.apache.org/jira/browse/AXISCPP-698
> Project: Axis-C++
> Type: Bug
> Components: Server - Engine
> Environment: All
> Reporter: Dushshantha Chandradasa
>
> CVS build fails with following error messages.
> Suspicious library name starting with "lib": libapr
> Suspicious library name starting with "lib": libhttpd
> [cc] Starting dependency analysis for 2 files.
> [cc] 2 files are up to date.
> [cc] 0 files to be recompiled from dependency analysis.
> [cc] 1 total files to be compiled.
> [cc] AttachmentHelper.cpp
> [cc] C:\axiscpp\ws-axis\c\src\server\apache2\AttachmentHelper.cpp(54) : e
> rror C2512: 'SoapAttachment' : no appropriate default constructor available
> BUILD FAILED
> C:\axiscpp\ws-axis\c\build.xml:213: The following error occurred while executing
> this line:
> C:\axiscpp\ws-axis\c\build.xml:205: The following error occurred while executing
> this line:
> C:\axiscpp\ws-axis\c\build.xml:120: The following error occurred while executing
> this line:
> C:\axiscpp\ws-axis\c\build\buildApache20Module.xml:27: cl failed with return cod
> e 2
--
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
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira
[jira] Commented: (AXISCPP-698) cvs build fails due to an error in AttachmentHelper.cpp
Posted by "Samisa Abeysinghe (JIRA)" <ax...@ws.apache.org>.
[ http://issues.apache.org/jira/browse/AXISCPP-698?page=comments#action_12313787 ]
Samisa Abeysinghe commented on AXISCPP-698:
-------------------------------------------
I added a temporyry fix to AttachmentHelper class to solve the build problems caused due to changes to SoapAttachment class
> cvs build fails due to an error in AttachmentHelper.cpp
> -------------------------------------------------------
>
> Key: AXISCPP-698
> URL: http://issues.apache.org/jira/browse/AXISCPP-698
> Project: Axis-C++
> Type: Bug
> Components: Server - Engine
> Environment: All
> Reporter: Dushshantha Chandradasa
>
> CVS build fails with following error messages.
> Suspicious library name starting with "lib": libapr
> Suspicious library name starting with "lib": libhttpd
> [cc] Starting dependency analysis for 2 files.
> [cc] 2 files are up to date.
> [cc] 0 files to be recompiled from dependency analysis.
> [cc] 1 total files to be compiled.
> [cc] AttachmentHelper.cpp
> [cc] C:\axiscpp\ws-axis\c\src\server\apache2\AttachmentHelper.cpp(54) : e
> rror C2512: 'SoapAttachment' : no appropriate default constructor available
> BUILD FAILED
> C:\axiscpp\ws-axis\c\build.xml:213: The following error occurred while executing
> this line:
> C:\axiscpp\ws-axis\c\build.xml:205: The following error occurred while executing
> this line:
> C:\axiscpp\ws-axis\c\build.xml:120: The following error occurred while executing
> this line:
> C:\axiscpp\ws-axis\c\build\buildApache20Module.xml:27: cl failed with return cod
> e 2
--
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
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira
[jira] Closed: (AXISCPP-698) cvs build fails due to an error in AttachmentHelper.cpp
Posted by "Chinthana Danapala (JIRA)" <ax...@ws.apache.org>.
[ http://issues.apache.org/jira/browse/AXISCPP-698?page=all ]
Chinthana Danapala closed AXISCPP-698:
--------------------------------------
Resolution: Fixed
(Visible to axiscpp-developers)
> cvs build fails due to an error in AttachmentHelper.cpp
> -------------------------------------------------------
>
> Key: AXISCPP-698
> URL: http://issues.apache.org/jira/browse/AXISCPP-698
> Project: Axis-C++
> Type: Bug
> Components: Server - Engine
> Environment: All
> Reporter: Dushshantha Chandradasa
>
> CVS build fails with following error messages.
> Suspicious library name starting with "lib": libapr
> Suspicious library name starting with "lib": libhttpd
> [cc] Starting dependency analysis for 2 files.
> [cc] 2 files are up to date.
> [cc] 0 files to be recompiled from dependency analysis.
> [cc] 1 total files to be compiled.
> [cc] AttachmentHelper.cpp
> [cc] C:\axiscpp\ws-axis\c\src\server\apache2\AttachmentHelper.cpp(54) : e
> rror C2512: 'SoapAttachment' : no appropriate default constructor available
> BUILD FAILED
> C:\axiscpp\ws-axis\c\build.xml:213: The following error occurred while executing
> this line:
> C:\axiscpp\ws-axis\c\build.xml:205: The following error occurred while executing
> this line:
> C:\axiscpp\ws-axis\c\build.xml:120: The following error occurred while executing
> this line:
> C:\axiscpp\ws-axis\c\build\buildApache20Module.xml:27: cl failed with return cod
> e 2
--
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
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira
[jira] Commented: (AXISCPP-698) cvs build fails due to an error in AttachmentHelper.cpp
Posted by "Dushshantha Chandradasa (JIRA)" <ax...@ws.apache.org>.
[ http://issues.apache.org/jira/browse/AXISCPP-698?page=comments#action_12313793 ]
Dushshantha Chandradasa commented on AXISCPP-698:
-------------------------------------------------
The fix added by samisa is working fine for Linux, but in Windows (XP) it gives a linking error as follows.
[cc] 0 total files to be compiled.
[cc] Starting link
[cc] Creating library mod_axis2.lib and object mod_axis2.exp
[cc] AttachmentHelper.obj : error LNK2001: unresolved external symbol "pu
blic: __thiscall axiscpp::ContentIdSet::ContentIdSet(void)" (??0ContentIdSet@axi
scpp@@QAE@XZ)
[cc] mod_axis2.dll : fatal error LNK1120: 1 unresolved externals
BUILD FAILED
C:\axiscpp\ws-axis\c\build.xml:213: The following error occurred while executing
this line:
C:\axiscpp\ws-axis\c\build.xml:205: The following error occurred while executing
this line:
C:\axiscpp\ws-axis\c\build.xml:120: The following error occurred while executing
this line:
C:\axiscpp\ws-axis\c\build\buildApache20Module.xml:27: link failed with return c
ode 1120
Total time: 2 minutes 47 seconds
> cvs build fails due to an error in AttachmentHelper.cpp
> -------------------------------------------------------
>
> Key: AXISCPP-698
> URL: http://issues.apache.org/jira/browse/AXISCPP-698
> Project: Axis-C++
> Type: Bug
> Components: Server - Engine
> Environment: All
> Reporter: Dushshantha Chandradasa
>
> CVS build fails with following error messages.
> Suspicious library name starting with "lib": libapr
> Suspicious library name starting with "lib": libhttpd
> [cc] Starting dependency analysis for 2 files.
> [cc] 2 files are up to date.
> [cc] 0 files to be recompiled from dependency analysis.
> [cc] 1 total files to be compiled.
> [cc] AttachmentHelper.cpp
> [cc] C:\axiscpp\ws-axis\c\src\server\apache2\AttachmentHelper.cpp(54) : e
> rror C2512: 'SoapAttachment' : no appropriate default constructor available
> BUILD FAILED
> C:\axiscpp\ws-axis\c\build.xml:213: The following error occurred while executing
> this line:
> C:\axiscpp\ws-axis\c\build.xml:205: The following error occurred while executing
> this line:
> C:\axiscpp\ws-axis\c\build.xml:120: The following error occurred while executing
> this line:
> C:\axiscpp\ws-axis\c\build\buildApache20Module.xml:27: cl failed with return cod
> e 2
--
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
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira