I took an other look at compiling DB Berkeley. I realized it did not compile under Linux... giving a lot of C errors.
Looking at Makefile, int_db.h and db.h that are generated by autoconf tools.... I come to the conclusion that they contains @somevariables@ in M4 that should have been substituted. I tried to cd dist, autoupdate to update the configure file (with autoreconf)... Did get some error... anyway got a new configure. But cd ing to build_unix and: ../dist/configure checking for mutexes... UNIX/fcntl configure: error: Support for FCNTL mutexes was removed in BDB 4.8. So basically... I think the autoconf tools are using old versions... and have not been updated to new versions. And so my guess it would need very old tools to rebuild. For libtool... I used LIBTOOL=libtool --tag=CC And that's an other problem... the Makefile was having rules making .lo files (libtools object files) rather than .o files. libtools "is a generic library support script that hides the complexity of using shared libraries behind a consistent, portable interface. " And when cross-compiling for DJGPP, make was removing -fpic because it was not supported on that platform... Briefly, Berkeley DB seems very linked to libtool... and it is a bit unclear how DJGPP that does not support shared libs (I think) would have to go around that. _______________________________________________ Freedos-user mailing list Freedos-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/freedos-user