Zintis wrote:

I'm trying to port Direct Connect Text Client for Broadcom 2.4 kernel. It needs Berkeley DB. Although there is a package in repository, it doesn't work -- I'm getting error: "unable to initialize mutex: Function not implemented"

This might imply that the package was configured in a different environment
than you are running. Did you build the package yourself ?
At configure time, the bdb build detects what mutex
implementation is available. If it is built somewhere where it finds for example pthread mutexes, but those are not available at runtime, you will get this error.
The same error also happens if you configure on a machine with linuxthreads,
but run on one with ntpl (not saying that this is your problem, but I've seen
this specific bdb error many times in my travels).

Berkeley homepage http://www.oracle.com/technology/products/berkeley-db/faq/db_faq.html#12 says: "To avoid this error, explicitly specify the mutex implementation DB should use, with the --with-mutex=MUTEX configuration flag"

Does anybody can give a hint what I should write there? While googling, I found (http://fs-prisms.blogspot.com/2007/08/dtn-additional-notes.html) that for DTN it is possible to use "--with-mutex=ARM/gcc-assembly"

I'd recommend that you build the bdb package and examine the output from
configure when it's run. Feel free to post it here. I wrote some of the bdb mutex
implementations way back, so I'm reasonably familiar with the space.








_______________________________________________
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
http://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel

Reply via email to