Go Back   ZeroC Forums > Comments

Reply
 
LinkBack Thread Tools Rate Thread Display Modes
  #1 (permalink)  
Old 10-14-2005
zhangzq71's Avatar
zhangzq71 zhangzq71 is offline
Registered User
 
Name: ZhangZQ
Organization: WanYi
Project: Test
 
Join Date: Mar 2005
Location: GuangZhou, GuangDong
Posts: 43
Send a message via ICQ to zhangzq71 Send a message via MSN to zhangzq71 Send a message via Skype™ to zhangzq71
-->
Make the full version of Ice to run in S3C2410.

There are too many limitation in using the IceE, so I decided to port the full version of Ice to my board, now everything are OK except the Frezze service, it is the problem of the porting of BerkeleyDB.

here is the code from BerkeleyDB documentation,

DbEnv myEnv(0);
try {
myEnv.open(envHome.c_str(), env_flags, 0);
} catch(DbException &e) {
std::cerr << "Error opening database environment: " << envHome << std::endl;
std::cerr << e.what() << std::endl;
exit( -1 );
} catch(std::exception &e) {
std::cerr << "Error opening database environment: " << envHome << std::endl;
std::cerr << e.what() << std::endl;
exit( -1 );
}

but got the following error, do you know what is the problem?

Error opening database environment: ./testEnv
My DbEnv:pen: Function not implemented
__________________
Zhang Zhi Qiang
Macrohard Inc.
Testing IceE on my embedded system based on S3C2410 CPU
Reply With Quote
  #2 (permalink)  
Old 10-14-2005
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,

It looks like BerkeleyDB is using a system call which is not implemented (or doesn't support some options) on your system. You could try to track down this system call with the debugger... In any case, note that we don't provide support for BerkeleyDB, I would recommend to check with Sleepycat for information regarding this issue.

Cheers,

Benoit.
Reply With Quote
  #3 (permalink)  
Old 10-14-2005
zhangzq71's Avatar
zhangzq71 zhangzq71 is offline
Registered User
 
Name: ZhangZQ
Organization: WanYi
Project: Test
 
Join Date: Mar 2005
Location: GuangZhou, GuangDong
Posts: 43
Send a message via ICQ to zhangzq71 Send a message via MSN to zhangzq71 Send a message via Skype™ to zhangzq71
-->
The error occurs in env_open.c

/*
* Create/join the environment. We pass in the flags that will be of
* interest to an environment joining later; if we're not the ones to
* do the create, we pull out whatever has been stored.
*/
init_flags = 0;
if (LF_ISSET(DB_INIT_CDB))
FLD_SET(init_flags, DB_INITENV_CDB);
if (LF_ISSET(DB_INIT_LOCK))
FLD_SET(init_flags, DB_INITENV_LOCK);
if (LF_ISSET(DB_INIT_LOG))
FLD_SET(init_flags, DB_INITENV_LOG);
if (LF_ISSET(DB_INIT_MPOOL))
FLD_SET(init_flags, DB_INITENV_MPOOL);
if (LF_ISSET(DB_INIT_REP))
FLD_SET(init_flags, DB_INITENV_REP);
if (LF_ISSET(DB_INIT_TXN))
FLD_SET(init_flags, DB_INITENV_TXN);
if (F_ISSET(dbenv, DB_ENV_CDB_ALLDB))
FLD_SET(init_flags, DB_INITENV_CDB_ALLDB);
if ((ret = __db_e_attach(dbenv, &init_flags)) != 0)
goto err;

__db_e_attach return error.
__________________
Zhang Zhi Qiang
Macrohard Inc.
Testing IceE on my embedded system based on S3C2410 CPU
Reply With Quote
  #4 (permalink)  
Old 10-14-2005
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
I'd recommend to post this question to the comp.databases.berkeley-db newsgroup.

Cheers,
Bernard
__________________
Bernard Normier
ZeroC, Inc.
Reply With Quote
  #5 (permalink)  
Old 10-19-2005
zhangzq71's Avatar
zhangzq71 zhangzq71 is offline
Registered User
 
Name: ZhangZQ
Organization: WanYi
Project: Test
 
Join Date: Mar 2005
Location: GuangZhou, GuangDong
Posts: 43
Send a message via ICQ to zhangzq71 Send a message via MSN to zhangzq71 Send a message via Skype™ to zhangzq71
-->
I got help from the google group to fix this problem, now all of the Ice Full Version can be run in my board NOW!!!
__________________
Zhang Zhi Qiang
Macrohard Inc.
Testing IceE on my embedded system based on S3C2410 CPU
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
MacOS version wants to be in /opt ctennis Bug Reports 4 07-05-2006 09:02 AM
CertificateVerificationException when "make test" after make Ice 3.0.0? richardma Help Center 1 01-06-2006 07:25 AM
How can I get the old version ICE? zqone Help Center 1 04-14-2005 12:24 AM
the different between debug version and release version huaciom Help Center 1 04-05-2005 04:18 AM
Why IceJ is full realization with Java? damingyipai Comments 2 03-08-2004 12:34 AM


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