compile error on solaris x86

persone at persone at
Fri May 7 10:15:08 EDT 2004

following your input configure breaks with: 
checking for __db185_open in -ldb-4.1... no
checking for __db185_open in -ldb-4.2... no
checking for __db185_open in -ldb... no
configure: error: Your db library is missing db 1.85 compatibility mode

tail -30 config.log
; return 0; }
configure:12422: checking for __db185_open in -ldb
configure:12441: gcc -o conftest -g -O2 -D_nl_domain_bindings=libintl_nl_domain_bindings__  conftest.c -ldb  -lm  -lm 1>&5
Undefined                       first referenced
 symbol                             in file
xdr_double                          /usr/local/lib/gcc-lib/i386-pc-solaris2.10/3.3.3/../../../
clnt_create                         /usr/local/lib/gcc-lib/i386-pc-solaris2.10/3.3.3/../../../
xdr_opaque                          /usr/local/lib/gcc-lib/i386-pc-solaris2.10/3.3.3/../../../
clnt_spcreateerror                  /usr/local/lib/gcc-lib/i386-pc-solaris2.10/3.3.3/../../../
xdr_string                          /usr/local/lib/gcc-lib/i386-pc-solaris2.10/3.3.3/../../../
xdr_array                           /usr/local/lib/gcc-lib/i386-pc-solaris2.10/3.3.3/../../../
xdr_bytes                           /usr/local/lib/gcc-lib/i386-pc-solaris2.10/3.3.3/../../../
xdr_u_int                           /usr/local/lib/gcc-lib/i386-pc-solaris2.10/3.3.3/../../../
xdr_free                            /usr/local/lib/gcc-lib/i386-pc-solaris2.10/3.3.3/../../../
clnt_sperror                        /usr/local/lib/gcc-lib/i386-pc-solaris2.10/3.3.3/../../../
xdr_int                             /usr/local/lib/gcc-lib/i386-pc-solaris2.10/3.3.3/../../../
ld: fatal: Symbol referencing errors. No output written to conftest
collect2: ld returned 1 exit status
configure: failed program was:
#line 12430 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error.  */
/* We use char because int might match the return type of a gcc2
    builtin and then its argument prototype would still apply.  */
char __db185_open();

int main() {
; return 0; }

that's why i had -lnsl


Derek Atkins <warlord at MIT.EDU> schrieb am 07.05.04 15:50:02:
> Hmm.. You shouldn't need to specify your compile against
> -lnsl, nor should you need to compiled against -lucb.
> OTOH, it's possible that solaris/x86 isn't properly
> supported by some of the compile tools.
> FTR, I do:
> CPPFLAGS=-D_nl_domain_bindings=libintl_nl_domain_bindings__ LD=gcc ./configure ...
> -derek

Der WEB.DE Virenschutz schuetzt Ihr Postfach vor dem Wurm Sober.A-F!
Kostenfrei fuer FreeMail Nutzer.

More information about the gnucash-devel mailing list