View Single Post
  #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