Hello, I'm guessing that neither libgdbm or libndbm are installed or available to your cross-compiler environment or the path to the libs is not where the compiler/linker is expecting them.
If gdbm is installed it should have gdbm_open. I would make sure that either of those libraries are installed as they are not typically part of most embedded distributions. Even though the configure script is not complaining about the libs being missing in its output, it does not necessarily mean they are not there. You may find more details in the config.log file as well. If it turns out that you do need to installed one of the dbm libs to get it to build, and you use the shared lib, then you will need to make sure that that lib is listed as a dependency for the package as it will need to be available on any target devices. Or, you can statically link the non-shared lib for these (which will make the executable larger, but precludes the need for the dependency on that particular lib). Fwknop used the dbm lib to maintain a dbm file of previously received fwknop packet signatures and meta-data for purposes of replay detection and some stats. It allows for keeping the data indefinitely. However, since the SPA protocol incorporates a timeout (or better time-to-live as valid) parameter, I am looking at removing the dbm dependencies in a near future version of fwknop that can keep a short-term cache in memory. This will allow for making the DBM cache optional. Unfortunately, I cannot provide an ETA on when this will be added... I hope this helps... Regards, -Damien On Mar 20, 2011, at 8:41 AM, Daniele wrote: > Hi all, > > I'm trying to crosscompile fwknop for MIPS platform. The goal is to run > fwknop on a DLink router powered by Routertech firmware (an opensource > linux busybox based firmware). > I'm crosscompiling under Ubuntu 10 with hardhat toolchain > (http://doomed.profusehost.net/files/cross_gcc-mipsel.tar.bz2). > > I have some issues with libraries, these are the errors at compile time: > > checking for gdbm_open in -lgdbm... no > checking for dbm_open in -lndbm... no > > apparently there are issues with libgdbm.. libraries are there otherwise > i'd get some "cannot find lgdbm" message, but some functions apparently > are not present... do you have any hint about this? > > thanks > daniele > > ------------------------------------------------------------------------------ > Colocation vs. Managed Hosting > A question and answer guide to determining the best fit > for your organization - today and in the future. > http://p.sf.net/sfu/internap-sfd2d > _______________________________________________ > Fwknop-discuss mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/fwknop-discuss > ------------------------------------------------------------------------------ Colocation vs. Managed Hosting A question and answer guide to determining the best fit for your organization - today and in the future. http://p.sf.net/sfu/internap-sfd2d _______________________________________________ Fwknop-discuss mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/fwknop-discuss
