Go Back   ZeroC Forums > Help Center

Reply
 
LinkBack Thread Tools Rate Thread Display Modes
  #1 (permalink)  
Old 09-30-2004
v2004 v2004 is offline
Registered User
 
 
Join Date: Sep 2004
Posts: 2
Ice-1.5.1 for C++ compiling err on Redhat9.0

when compiling Ice-1.5.1 on Redhat9.0 ,

$cd /opt/Ice-1.5.1
$make

....
....
c++ -c -I.. -I../../include -DFREEZE_API_EXPORTS -g -ftemplate-depth-128 -fPIC -Wall -D_REENTRANT TransactionI.cpp
TransactionI.cpp: In member function `virtual void
Freeze::TransactionI::commit()':
TransactionI.cpp:24: parse error before `&' token
TransactionI.cpp:28: `dx' undeclared (first use this function)
TransactionI.cpp:28: (Each undeclared identifier is reported only once for each
function it appears in.)
TransactionI.cpp: At global scope:
TransactionI.cpp:31: parse error before `catch'
TransactionI.cpp:34: 'DatabaseException' is used as a type, but is not defined
as a type.
TransactionI.cpp:35: syntax error before `.' token
TransactionI.cpp:38: ISO C++ forbids declaration of `cleanup' with no type
TransactionI.cpp:39: parse error before `}' token
TransactionI.cpp: In member function `virtual void
Freeze::TransactionI::rollback()':
TransactionI.cpp:51: parse error before `&' token
TransactionI.cpp: At global scope:
TransactionI.cpp:58: parse error before `catch'
TransactionI.cpp:61: 'DatabaseException' is used as a type, but is not defined
as a type.
TransactionI.cpp:62: syntax error before `.' token
TransactionI.cpp:65: ISO C++ forbids declaration of `cleanup' with no type
TransactionI.cpp:66: parse error before `}' token
make[2]: *** [TransactionI.o] Error 1
make[2]: Leaving directory `/root/Ice-1.5.1/src/Freeze'
make[1]: *** [all] Error 1
make[1]: Leaving directory `/root/Ice-1.5.1/src'
make: *** [all] Error 1

what is wrong ? Do me a favour .
Reply With Quote
  #2 (permalink)  
Old 09-30-2004
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,781
Do you use a version of Berkeley DB that has been configured with --enable-cxx?
Reply With Quote
  #3 (permalink)  
Old 10-04-2004
v2004 v2004 is offline
Registered User
 
 
Join Date: Sep 2004
Posts: 2
I make it!

you are right .thanks a lots!
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
Compiling Ice with distcc timberwolf Help Center 4 02-18-2007 03:55 AM
HELP compiling !! akdess Help Center 1 04-07-2005 09:37 AM
Compiling Ice 1.2.0 on RH 9.0 Jan_Holst Help Center 2 02-02-2004 12:38 PM
Compiling ICE 1.2.0 catalin Help Center 7 01-16-2004 06:40 AM
Compiling ICE with VC 6.0 jpm Help Center 2 05-30-2003 06:51 PM


All times are GMT -4. The time now is 08:44 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.