im a green hand in BerkeleyDB, i used mingw to compile the program in c++. i link the lib successful.
but when it run to the line which is open the db. it show me an error: BDB0588 At least one secondary cursor must be specified to DB->join.
i can't find the reason in google.
i think the error occurs by the lib. i release bdb by vs2010, but the app i test comple in mingw.