compile error on solaris x86
Derek Atkins
warlord at MIT.EDU
Fri May 7 11:15:53 EDT 2004
Hmm, ok.. So add -lnsl back in.. Where does that get you?
-derek
<persone at web.de> writes:
> 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
> __db185_open()
> ; 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/../../../libdb.so
> clnt_create /usr/local/lib/gcc-lib/i386-pc-solaris2.10/3.3.3/../../../libdb.so
> xdr_opaque /usr/local/lib/gcc-lib/i386-pc-solaris2.10/3.3.3/../../../libdb.so
> clnt_spcreateerror /usr/local/lib/gcc-lib/i386-pc-solaris2.10/3.3.3/../../../libdb.so
> xdr_string /usr/local/lib/gcc-lib/i386-pc-solaris2.10/3.3.3/../../../libdb.so
> xdr_array /usr/local/lib/gcc-lib/i386-pc-solaris2.10/3.3.3/../../../libdb.so
> xdr_bytes /usr/local/lib/gcc-lib/i386-pc-solaris2.10/3.3.3/../../../libdb.so
> xdr_u_int /usr/local/lib/gcc-lib/i386-pc-solaris2.10/3.3.3/../../../libdb.so
> xdr_free /usr/local/lib/gcc-lib/i386-pc-solaris2.10/3.3.3/../../../libdb.so
> clnt_sperror /usr/local/lib/gcc-lib/i386-pc-solaris2.10/3.3.3/../../../libdb.so
> xdr_int /usr/local/lib/gcc-lib/i386-pc-solaris2.10/3.3.3/../../../libdb.so
> 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() {
> __db185_open()
> ; return 0; }
>
>
> that's why i had -lnsl
>
>
> regards
> benjamin
>
> 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. http://f.web.de/?mc=021158
>
>
>
--
Derek Atkins, SB '93 MIT EE, SM '95 MIT Media Laboratory
Member, MIT Student Information Processing Board (SIPB)
URL: http://web.mit.edu/warlord/ PP-ASEL-IA N1NWH
warlord at MIT.EDU PGP key available
More information about the gnucash-devel
mailing list