Go Back   ZeroC Forums > Bug Reports

Reply
 
LinkBack Thread Tools Rate Thread Display Modes
  #1 (permalink)  
Old 02-20-2003
marlowa marlowa is offline
Registered User
 
 
Join Date: Feb 2003
Location: London
Posts: 64
misc build problems on Suse 8.1

changes to Ice when building under Linux

Validator failed to compile due to missing include for XMLException.
This was when building against Xercesc-2.2.

src/slice2xsd/Validate.cpp
Added #include <xercesc/util/XMLException.hpp>
Also added XERCES_CPP_NAMESPACE_USE after 'using namespace std;'

src/IceSSL/ConfigParser.h
Added XERCES_CPP_NAMESPACE_USE after last #include
Note: it is not good to do this in a header file!

src/IceSSL/ConfigParserErrorReporter.h
Ditto

src/IceXML/StreamI.cpp
Also added XERCES_CPP_NAMESPACE_USE after last 'using namespace ...;'

src/IceStorm/Admin.cpp
Also added XERCES_CPP_NAMESPACE_USE after last 'using namespace ...;'

src/IceStorm/WeightedGraph.cpp
Also added XERCES_CPP_NAMESPACE_USE after last 'using namespace ...;'

src/IceStorm/Makefile
src/IcePack/Makefile
demo/Freeze/phonebook/Makefile
demo/Freeze/library/Makefile
There is a dependency on the curses library in the build of
icestormadmin, icepackadmin, phonebook/{client,server},
library/{client,server}.
curses does not seem to exist in Suse 8.1. I changed the Makefiles to
refer to ncurses (which is open source curses so should be portable,
even though it creates a dependency).

src/IcePack/ComponentBuilder.h
Added XERCES_CPP_NAMESPACE_USE after last #include
Note: it is not good to do this in a header file!

src/IcePack/IcePackNode.cpp
Also added XERCES_CPP_NAMESPACE_USE after last 'using namespace ...;'

src/IcePack/IcePackRegistry.cpp
Also added XERCES_CPP_NAMESPACE_USE after last 'using namespace ...;'

src/XMLTransform/ErrorReporter.h
Added XERCES_CPP_NAMESPACE_USE after last #include
Note: it is not good to do this in a header file!

include/XMLTransform/XMLTransform.h
Added XERCES_CPP_NAMESPACE_USE after last #include
Note: it is not good to do this in a header file!

include/Ice/Outgoing.h
The enum at line 81 has a trailing comma. This is legal (sigh)
but you get a warning when you compile with -Wall --pedantic.
I changed this so that there is a leading comma instead (except
on the first enumeration).

test/IceUtil/inputUtil/Client.cpp
lines 81,88,95 have a long long constant. When compiling with -Wall --pedantic
it issues a warning that this constant will not fit into an unsigned long.
I added 'LL' to the constant to make this warning go away.
The warning about 'long long' being forbidden by ISO C89 is unavoidable.

test/Ice/operations/{Twoways, TwowaysAMI}.cpp
same as above but on lines 519, 523, 532, 533
and lines 619, 626, 627-629, 958, 962 respectively.

(the warning when compiling demo/Freeze/PhoneBookI.cpp, that the 'll'
printf length is non-standard, is unavoidable).

Regards

Andrew M.
__________________
You are in a maze of twisty little passages, all different.
Reply With Quote
  #2 (permalink)  
Old 02-20-2003
marc's Avatar
marc marc is offline
ZeroC Staff
 
Name: Marc Laukien
Organization: ZeroC, Inc.
Project: The Internet Communications Engine
 
Join Date: Feb 2003
Location: Florida
Posts: 1,780
Thanks a lot for the detailed feedback!

We decided to install all kinds of different Linux distributions at ZeroC. So expect the pain of using a non-RedHat distribution to go away soon.
Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Failing tests; Ice 3.1.0 on SUSE Linux 10.1 pchapin Help Center 8 08-29-2006 07:52 AM
problems while build Ice-3.0.1with intel cc 9.0 on Itanium Yunqiao Yin Help Center 2 02-22-2006 08:56 AM
Installing (or building) Ice on Suse 9.3 lancepw Help Center 6 09-22-2005 07:23 PM
Unable to build demoj using supplied build.xml files vsonnathi Bug Reports 1 10-21-2004 12:34 PM
pthread_sigmask() on suse 9 amd64 garry Bug Reports 1 08-27-2004 06:29 PM


All times are GMT -4. The time now is 01:25 AM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.0.0
(c) 2008 ZeroC, Inc.