[ http://issues.apache.org/jira/browse/AXISCPP-986?page=comments#action_12423016 ] Adrian Dick commented on AXISCPP-986: -------------------------------------
Hi, I've just done a quick check using VC++ 8 (MS Visual Studio 2005) and see the same problems as those you're seeing. When compiling there are a lot of warnings relating to changes in compiler options (compared to earlier versions of VC++), and quite a lot of deprecation warnings which, at the very least, we should suppress. It should be possible to resolve all these within the ANT scripts, but we will need to find a way of determining which version of VC++ is being used. More seriously, there are a couple of lines in SoapDeSerializer.cpp which fail to compile for this version of Visual C++. I can get past these easy enough by simply modifying these types from "char *" to "const char *". However, I then see a much more cryptic error during linking when building with Ant.. Strangely, when I load the old VC++ 6 project files into the VC++ 8 IDE (and allow it to upgrade the project files), I don't see these linker problems -- so it must be down to some linker flags. Adrian > ANT Build failed > ---------------- > > Key: AXISCPP-986 > URL: http://issues.apache.org/jira/browse/AXISCPP-986 > Project: Axis-C++ > Issue Type: Bug > Components: Build - ANT > Affects Versions: 1.6 Final > Environment: Win XP > Reporter: Manfred Pauli > Attachments: log.txt > > > Hi! > I tried to build Axis c++ for a new platform (windows mobile). But first I > tried to build it for WinXP. But when executing the ant command, I get this > errors: > Buildfile: build.xml > pre-init: > set-platform-specifics: > checkIfDebug: > initialize: > build: > compile: > compileClient: > compileAxisClient: > buildVersionResource: > [delete] Deleting 1 files from C:\Dokumente und > Einstellungen\Manfred\Desktop\Axis Sourc > e\build > [copy] Copying 1 file to C:\Dokumente und > Einstellungen\Manfred\Desktop\Axis Source\bu > ild > BUILD FAILED > C:\Dokumente und Einstellungen\Manfred\Desktop\Axis Source\build.xml:245: The > following err > or occurred while executing this line: > C:\Dokumente und Einstellungen\Manfred\Desktop\Axis Source\build.xml:233: The > following err > or occurred while executing this line: > C:\Dokumente und Einstellungen\Manfred\Desktop\Axis Source\build.xml:96: The > following erro > r occurred while executing this line: > C:\Dokumente und Einstellungen\Manfred\Desktop\Axis > Source\build\buildClient.xml:10: The fo > llowing error occurred while executing this line: > C:\Dokumente und Einstellungen\Manfred\Desktop\Axis Source\build.xml:82: > Execute failed: ja > va.io.IOException: CreateProcess: rc /fo "C:\Dokumente und > Einstellungen\Manfred\Desktop\Ax > is Source/build/version.res" "C:\Dokumente und > Einstellungen\Manfred\Desktop\Axis Source/bu > ild/version.temp.rc" error=2 > Total time: 2 seconds > What's wrong here? > Thanx for help! > Greetings -- 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 --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
