On Sep 20, 2009, at 9:02 AM, Stefan Palm wrote:

Am Samstag, den 19.09.2009, 20:18 +0200 schrieb Ralf S. Engelschall:
[...]
The NAME_MAX simple is not available under your Solaris 10 as it seems.
I've applied a patch for this to 4.0b82 and above now.

Fine, looks like your patch worked, I can get beyond this point now.
But I'm up to the next error: there's no "mkdtemp" in Solaris 10 (Sparc)
and although "configure" detected that (according to config.log) it
still tries to use it:

libtool: link: /usr/sfw/bin/gcc -D_GNU_SOURCE -D_REENTRANT -o rpmdigest
rpmdigest.o  -L/root/tmp/openpkg-4.0b82/uuid-1.6.2/.libs
-L/root/tmp/openpkg-4.0b82/pcre-7.9/.libs
-L/root/tmp/openpkg-4.0b82/sqlite-3.6.17/.libs
-L/root/tmp/openpkg-4.0b82/beecrypt-4.2.1/.libs
-L/root/tmp/openpkg-4.0b82/bzip2-1.0.5/.libs
-L/root/tmp/openpkg-4.0b82/popt-1.15/.libs
-L/root/tmp/openpkg-4.0b82/popt-1.15
-L/root/tmp/openpkg-4.0b82/zlib-1.2.3
-L/root/tmp/openpkg-4.0b82/bzip2-1.0.5
-L/root/tmp/openpkg-4.0b82/beecrypt-4.2.1
-L/root/tmp/openpkg-4.0b82/openssl-0.9.8k/lib
-L/root/tmp/openpkg-4.0b82/sqlite-3.6.17
-L/root/tmp/openpkg-4.0b82/pcre-7.9
-L/root/tmp/openpkg-4.0b82/uuid-1.6.2 ./.libs/librpmio.a ../ misc/.libs/librpmmisc.a -L/root/tmp/openpkg-4.0b82/rpm-5.1.9/db3 -L/ root/tmp/openpkg-4.0b82/rpm-5.1.9/lua -lresolv /root/tmp/ openpkg-4.0b82/uuid-1.6.2/.libs/libuuid.a /root/tmp/openpkg-4.0b82/ pcre-7.9/.libs/libpcreposix.a /root/tmp/openpkg-4.0b82/ pcre-7.9/.libs/libpcre.a -ldl /root/tmp/openpkg-4.0b82/ sqlite-3.6.17/.libs/libsqlite3.a -lcrypto /root/tmp/openpkg-4.0b82/ beecrypt-4.2.1/.libs/libbeecrypt.a /root/tmp/openpkg-4.0b82/ bzip2-1.0.5/.libs/libbz2.a -lz /root/tmp/openpkg-4.0b82/ popt-1.15/.libs/libpopt.a -lrt -lsocket -lnsl -lm
Undefined                       first referenced
symbol                             in file
mkdtemp ../misc/.libs/librpmmisc.a (liblua_la-lposix.o)
ld: fatal: Symbol referencing errors. No output written to rpmdigest
collect2: ld returned 1 exit status
make[4]: *** [rpmdigest] Error 1


Hmm, I thought I'd fixed this in rpm.

Checking ... yes, there's a misc/mkdtemp.c in cvs head. All that's
needed is to put the symbol into -lrpmmisc.

73 de Jeff
______________________________________________________________________
OpenPKG                                             http://openpkg.org
User Communication List                      openpkg-users@openpkg.org

Reply via email to