Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Data Bases > Berkely DB > BerkeleyDB on V...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 1 of 1 Topic 1772 of 1800
Post > Topic >>

BerkeleyDB on VxWorks6.3 and Workbench2.5

by xiaohei <likun.navipal@[EMAIL PROTECTED] > Oct 24, 2007 at 03:34 AM

There are some problems in building berleley db applications,  pls
give me some helps, thanks very much.

The environment is:
WinXp sp2
Workbench 2.5, VxWorks 6.3
Berkeley DB 4.5.20

First, I import the berkeley db project like this:
choose "Import" item in the right menu of the Project Navigator;
choose "Migrate Tornado VxWorks 5.x project to VxWorks 6.x";
choose "db-4.5.20\build_vxworks\BerkeleyDB22.wpj" as the projec file.

Second, I create some other projects to coperate with the berkeley db
project, the projects structure is:
VxWorks Image Project
==ROMFS File System Project
====Real Time Process Project
======Shared Library Project (Berkeley DB)
e.g., the ROMFS File System Project is a subproject of the VxWorks
Image Project.

At last, compiling berkeley db is succesffully done, but errors occur
during linking the berkeley db .so file with the real time
process .vxe file, error messages are:
C:/WindRiver/workspace/BerkeleyDB22/SIMPENTIUMgnu_RTP_DEBUG/
BerkeleyDB22.so: undefined reference to `taskLock'
C:/WindRiver/workspace/BerkeleyDB22/SIMPENTIUMgnu_RTP_DEBUG/
BerkeleyDB22.so: undefined reference to `taskUnlock'
C:/WindRiver/workspace/BerkeleyDB22/SIMPENTIUMgnu_RTP_DEBUG/
BerkeleyDB22.so: undefined reference to `iosDevFind'

After reading the Workbench 2.5 user guide and some other documents, I
know that,
1) only real time process can use shared library in romfs.
2) taskLock and taskUnlock are kernel apis, can't be used in real time
process; but i find taskRtpLock and taskRtpUnlock intead.
3) iosDevFind is a kernel api too, but i can't find another api to use
in real time process.




 1 Posts in Topic:
BerkeleyDB on VxWorks6.3 and Workbench2.5
xiaohei <likun.navipal  2007-10-24 03:34:13 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan13V112 Fri Jul 4 23:13:46 CDT 2008.