Go Back   ZeroC Forums > Bug Reports

Reply
 
LinkBack Thread Tools Rate Thread Display Modes
  #1 (permalink)  
Old 05-19-2008
sattursa sattursa is offline
Registered User
 
Name: Sandeep Sattur
Organization: UBS
Project: Trader Desk Top
 
Join Date: May 2008
Posts: 8
Unable to run icegridnode

Hi,

I downloaded the ice source code for Linux and used make to build.

When I tried to execute icegridnode built by make, I got an
exception:

icegridnode --Ice.Config=./node2.cfg

05/19/08 17:02:41.750 error: service caught unhandled Ice exception:
ThreadPool.cpp:64: Ice::SocketException:
socket exception: Function not implemented
libgcc_s.so.1 must be installed for pthread_cancel to work


Appreciate any input on resolving this issue.

Thanks,
Sandeep
Reply With Quote
  #2 (permalink)  
Old 05-19-2008
bernard's Avatar
bernard bernard is offline
ZeroC Staff
 
Name: Bernard Normier
Organization: ZeroC, Inc.
Project: Ice
 
Join Date: Feb 2003
Location: Palm Beach Gardens, FL
Posts: 813
Hi Sandeep,

Could you describe your environment? Linux distribution, processor architecture, C++ compiler version, Ice version, etc.

Thanks,
Bernard
__________________
Bernard Normier
ZeroC, Inc.
Reply With Quote
  #3 (permalink)  
Old 05-20-2008
sattursa sattursa is offline
Registered User
 
Name: Sandeep Sattur
Organization: UBS
Project: Trader Desk Top
 
Join Date: May 2008
Posts: 8
Environment info

Linux distribution - Red Hat Enterprise Linux AS release 3 (Taroon Update 6)
processor i686
C++ compiler version - GCC 3.3.4(32 bit)
Ice version - 3.2.1
Reply With Quote
  #4 (permalink)  
Old 05-20-2008
benoit's Avatar
benoit benoit is offline
ZeroC Staff
 
Name: Benoit Foucher
Organization: ZeroC, Inc.
Project: Ice
 
Join Date: Feb 2003
Location: Rennes, France
Posts: 1,535
Hi,

Note that we don't officially support this Red Hat distribution (see this page for a list of supported platforms). It looks like epoll is not supported on your system. You should recompile Ice from sources to use poll() instead. Edit the config/Make.rules.Linux file from your Ice source distribution and add -DICE_NO_EPOLL to the CXXFLAGS macro definition at line 86:

Code:
   CXXFLAGS		= $(CXXARCHFLAGS) -ftemplate-depth-128 -Wall -D_REENTRANT -DICE_NO_EPOLL
Once you rebuilt Ice following the instructions from INSTALL.LINUX, you can run the test suite with "make test" to make sure it works.

Cheers,
Benoit.
Reply With Quote
  #5 (permalink)  
Old 05-20-2008
sattursa sattursa is offline
Registered User
 
Name: Sandeep Sattur
Organization: UBS
Project: Trader Desk Top
 
Join Date: May 2008
Posts: 8
Icegridnode issue

Hi Benoit,

The issue has been resolved with the CXXFLAG. Thanks very much.
All tests run ok.

Also, noted the platform support disclaimer.

I found two issues in the source files while doing make on Freeze:

1. SharedDbEnv.cpp uses a constant DB_LOG_AUTOREMOVE which is not declared
2. Util.cpp uses a constant DB_BUFFER_SMALL which is not declared

Can the constants be removed from the source distribution? I have commented out their references in order to build successfully.

Thanks,
Sandeep
Reply With Quote
  #6 (permalink)  
Old 05-20-2008
benoit's Avatar
benoit benoit is offline
ZeroC Staff
 
Name: Benoit Foucher
Organization: ZeroC, Inc.
Project: Ice
 
Join Date: Feb 2003
Location: Rennes, France
Posts: 1,535
Which BerkeleyDB version do you use?

I recommend to install and use the BerkeleyDB version supported by Ice 3.2.1: BerkeleyDB 4.5.20. You can download it from the Oracle web site or from the "Source Code for Third-Party Software" section of our download page.

Once installed, you can either set DB_HOME in your envionment or edit config/Make.rules to specify the location of the BerkeleyDB 4.5.20 installation before building Ice. See INSTALL.LINUX for more information.

Cheers,
Benoit.
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
Unable to override LocatorCacheTimeout zhi Help Center 5 12-14-2006 10:14 PM
Unable to publish messge on IceStorm jaggu Help Center 4 07-26-2005 04:05 PM
Unable to register object in icepack registry annekat Help Center 2 11-26-2004 07:01 PM
Unable to run icepackadmin -e command vsonnathi Bug Reports 1 11-04-2004 09:20 AM
unable to load certificate authorities xdm Help Center 3 11-24-2003 04:52 PM


All times are GMT -4. The time now is 07:46 PM.


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.