Tim,
Thanks for your patience on this. As you suspected, my environment was at
fault because I wasn't exporting my variables. Sorry, total novice mistake
I know!!!
Anyway I reconfigured, and it seems to have got a bit further, but now I
get:
gmake[3]: Entering directory `/tmp/rpm-4.4.7/rpmdb'
/bin/bash ../libtool --mode=link --tag=CC cc -Xa -xstrconst -xs -g -mt
-KPIC -D__FUNCTION__=__func__ -I/usr/local/include/beecrypt
-I/usr/local/include/neon -D__FUNCTION__=__func__
-I/usr/local/include/beecrypt -I/usr/local/include/neon -L/opt/rpm/lib
-L/opt/rpm/lib -o rpmdb_archive ../db3/db_archive.o ../db3/util_sig.o
librpmdb.la
cc -Xa -xstrconst -xs -g -mt -KPIC -D__FUNCTION__=__func__
-I/usr/local/include/beecrypt -I/usr/local/include/neon
-D__FUNCTION__=__func__ -I/usr/local/include/beecrypt
-I/usr/local/include/neon -o .libs/rpmdb_archive ../db3/db_archive.o
.../db3/util_sig.o -L/opt/rpm/lib ./.libs/librpmdb.so
/tmp/rpm-4.4.7/rpmio/.libs/librpmio.so -L/usr/local/lib -lm -ldl -lresolv
-lbz2 /tmp/rpm-4.4.7/popt/.libs/libpopt.so -L/usr/ucblib -lpthread -lnsl
-lsocket -lrt -R/opt/rpm/lib
Undefined first referenced
symbol in file
ne_path_compare /tmp/rpm-4.4.7/rpmio/.libs/librpmio.so
sha512Update /tmp/rpm-4.4.7/rpmio/.libs/librpmio.so
ne_begin_request /tmp/rpm-4.4.7/rpmio/.libs/librpmio.so
mpadd /tmp/rpm-4.4.7/rpmio/.libs/librpmio.so
ne_get_session_private /tmp/rpm-4.4.7/rpmio/.libs/librpmio.so
ne_version_pre_http11 /tmp/rpm-4.4.7/rpmio/.libs/librpmio.so
sha512Digest /tmp/rpm-4.4.7/rpmio/.libs/librpmio.so
ne_propfind_named /tmp/rpm-4.4.7/rpmio/.libs/librpmio.so
ne_set_status /tmp/rpm-4.4.7/rpmio/.libs/librpmio.so
ne_path_unescape /tmp/rpm-4.4.7/rpmio/.libs/librpmio.so
ne_get_session /tmp/rpm-4.4.7/rpmio/.libs/librpmio.so
ne_httpdate_parse /tmp/rpm-4.4.7/rpmio/.libs/librpmio.so
ne_get_request_private /tmp/rpm-4.4.7/rpmio/.libs/librpmio.so
b64encode_chars_per_line /tmp/rpm-4.4.7/rpmio/.libs/librpmio.so
ne_end_request /tmp/rpm-4.4.7/rpmio/.libs/librpmio.so
ne_lockstore_create /tmp/rpm-4.4.7/rpmio/.libs/librpmio.so
sha512Reset /tmp/rpm-4.4.7/rpmio/.libs/librpmio.so
ne_hook_destroy_request /tmp/rpm-4.4.7/rpmio/.libs/librpmio.so
ne_propfind_current_private /tmp/rpm-4.4.7/rpmio/.libs/librpmio.so
sha1Reset /tmp/rpm-4.4.7/rpmio/.libs/librpmio.so
mpbfree /tmp/rpm-4.4.7/rpmio/.libs/librpmio.so
mpnfree /tmp/rpm-4.4.7/rpmio/.libs/librpmio.so
ne_propfind_create /tmp/rpm-4.4.7/rpmio/.libs/librpmio.so
ne_move /tmp/rpm-4.4.7/rpmio/.libs/librpmio.so
ne_set_session_private /tmp/rpm-4.4.7/rpmio/.libs/librpmio.so
ne_request_destroy /tmp/rpm-4.4.7/rpmio/.libs/librpmio.so
ne_hook_destroy_session /tmp/rpm-4.4.7/rpmio/.libs/librpmio.so
ne_set_useragent /tmp/rpm-4.4.7/rpmio/.libs/librpmio.so
ne_propfind_get_parser /tmp/rpm-4.4.7/rpmio/.libs/librpmio.so
ne_calloc /tmp/rpm-4.4.7/rpmio/.libs/librpmio.so
mpnsethex /tmp/rpm-4.4.7/rpmio/.libs/librpmio.so
sha1Digest /tmp/rpm-4.4.7/rpmio/.libs/librpmio.so
ne_delete /tmp/rpm-4.4.7/rpmio/.libs/librpmio.so
b64crc /tmp/rpm-4.4.7/rpmio/.libs/librpmio.so
ne_options /tmp/rpm-4.4.7/rpmio/.libs/librpmio.so
ne_lockstore_register /tmp/rpm-4.4.7/rpmio/.libs/librpmio.so
ne_strdup /tmp/rpm-4.4.7/rpmio/.libs/librpmio.so
sha1Update /tmp/rpm-4.4.7/rpmio/.libs/librpmio.so
ne_propset_private /tmp/rpm-4.4.7/rpmio/.libs/librpmio.so
ne_set_request_private /tmp/rpm-4.4.7/rpmio/.libs/librpmio.so
ne_propfind_set_private /tmp/rpm-4.4.7/rpmio/.libs/librpmio.so
ne_session_destroy /tmp/rpm-4.4.7/rpmio/.libs/librpmio.so
ne_xml_mapid /tmp/rpm-4.4.7/rpmio/.libs/librpmio.so
mplshift /tmp/rpm-4.4.7/rpmio/.libs/librpmio.so
mpsetw /tmp/rpm-4.4.7/rpmio/.libs/librpmio.so
mpzero /tmp/rpm-4.4.7/rpmio/.libs/librpmio.so
mpfprintln /tmp/rpm-4.4.7/rpmio/.libs/librpmio.so
md5Reset /tmp/rpm-4.4.7/rpmio/.libs/librpmio.so
ne_hook_pre_send /tmp/rpm-4.4.7/rpmio/.libs/librpmio.so
rsapkFree /tmp/rpm-4.4.7/rpmio/.libs/librpmio.so
ne_propfind_destroy /tmp/rpm-4.4.7/rpmio/.libs/librpmio.so
sha256Reset /tmp/rpm-4.4.7/rpmio/.libs/librpmio.so
ne_set_read_timeout /tmp/rpm-4.4.7/rpmio/.libs/librpmio.so
ne_request_create /tmp/rpm-4.4.7/rpmio/.libs/librpmio.so
ne_session_create /tmp/rpm-4.4.7/rpmio/.libs/librpmio.so
ne_add_response_header_catcher /tmp/rpm-4.4.7/rpmio/.libs/librpmio.so
mpbsethex /tmp/rpm-4.4.7/rpmio/.libs/librpmio.so
md5Digest /tmp/rpm-4.4.7/rpmio/.libs/librpmio.so
b64encode_eolstr /tmp/rpm-4.4.7/rpmio/.libs/librpmio.so
b64decode /tmp/rpm-4.4.7/rpmio/.libs/librpmio.so
ne_strndup /tmp/rpm-4.4.7/rpmio/.libs/librpmio.so
b64encode /tmp/rpm-4.4.7/rpmio/.libs/librpmio.so
md5Update /tmp/rpm-4.4.7/rpmio/.libs/librpmio.so
ne_lockstore_destroy /tmp/rpm-4.4.7/rpmio/.libs/librpmio.so
ne_mkcol /tmp/rpm-4.4.7/rpmio/.libs/librpmio.so
ne_session_proxy /tmp/rpm-4.4.7/rpmio/.libs/librpmio.so
sha384Reset /tmp/rpm-4.4.7/rpmio/.libs/librpmio.so
sha256Update /tmp/rpm-4.4.7/rpmio/.libs/librpmio.so
ne_hook_post_send /tmp/rpm-4.4.7/rpmio/.libs/librpmio.so
ne_ssl_set_verify /tmp/rpm-4.4.7/rpmio/.libs/librpmio.so
ne_xml_push_handler /tmp/rpm-4.4.7/rpmio/.libs/librpmio.so
sha256Digest /tmp/rpm-4.4.7/rpmio/.libs/librpmio.so
sha384Update /tmp/rpm-4.4.7/rpmio/.libs/librpmio.so
ne_add_response_header_handler /tmp/rpm-4.4.7/rpmio/.libs/librpmio.so
ne_hook_create_request /tmp/rpm-4.4.7/rpmio/.libs/librpmio.so
ne_get_error /tmp/rpm-4.4.7/rpmio/.libs/librpmio.so
sha384Digest /tmp/rpm-4.4.7/rpmio/.libs/librpmio.so
ne_read_response_block /tmp/rpm-4.4.7/rpmio/.libs/librpmio.so
ne_sock_init /tmp/rpm-4.4.7/rpmio/.libs/librpmio.so
ne_debug_init /tmp/rpm-4.4.7/rpmio/.libs/librpmio.so
ne_propset_status /tmp/rpm-4.4.7/rpmio/.libs/librpmio.so
ne_set_progress /tmp/rpm-4.4.7/rpmio/.libs/librpmio.so
ne_propset_value /tmp/rpm-4.4.7/rpmio/.libs/librpmio.so
ld: fatal: Symbol referencing errors. No output written to
..libs/rpmdb_archive
gmake[3]: *** [rpmdb_archive] Error 1
gmake[3]: Leaving directory `/tmp/rpm-4.4.7/rpmdb'
gmake[2]: *** [all] Error 2
gmake[2]: Leaving directory `/tmp/rpm-4.4.7/rpmdb'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/tmp/rpm-4.4.7'
gmake: *** [all] Error 2
smpd328>export
CC=cc
CFLAGS='-Xa -xstrconst -xs -g -mt -KPIC -D__FUNCTION__=__func__
-I/usr/local/include/beecrypt -I/usr/local/include/neon
-D__FUNCTION__=__func__ -I/usr/local/include/beecrypt
-I/usr/local/include/neon'
CPPFLAGS=' -D__FUNCTION__=__func__ -I/usr/local/include/beecrypt
-I/usr/local/include/neon -D__FUNCTION__=__func__
-I/usr/local/include/beecrypt -I/usr/local/include/neon'
CXX=CC
CXXFLAGS='-xs -g -mt -D__FUNCTION__=__func__ -I/usr/local/include/beecrypt
-I/usr/local/include/neon -D__FUNCTION__=__func__
-I/usr/local/include/beecrypt -I/usr/local/include/neon'
LDFLAGS=-L/usr/local/lib
PATH=/opt/SUNWspro/bin:/usr/ccs/bin:/opt/SUNWspro/bin:/usr/ccs/bin:/opt/perl-5.8.3/bin:/bin:/usr/bin:/opt/local/bin:/usr/openwin/bin:/opt/SUNWspro/bin:/usr/ccs/bin:/mnt/bin:/usr/local/bin:/usr/local/bin
...
...
I added the -lneon flag to the LIBS and some of the messages went away. I
also tracked the sha512Update function to the md5
library, but adding -lmd5 didn't make any difference.
Sorry about this.
Ed.
I got a bit further, by setting the LIBS to /opt/local/lib/libneon.a
/opt/local/lib/libbeecrypt.a /opt/local/lib/libxml2.a -lz but it's still
falling over:
smpd328>gmake
gmake all-am
gmake[1]: Entering directory `/tmp/rpm-4.4.7/rpmdb'
/bin/bash ../libtool --mode=link --tag=CC cc -Xa -xstrconst -xs -g -mt
-KPIC -D__FUNCTION__=__func__ -I/usr/local/include/beecrypt
-I/usr/local/include/neon -D__FUNCTION__=__func__
-I/usr/local/include/beecrypt -I/usr/local/include/neon -L/opt/rpm/lib
-L/opt/rpm/lib -o rpmdb_archive ../db3/db_archive.o ../db3/util_sig.o
librpmdb.la /opt/local/lib/libneon.a /opt/local/lib/libbeecrypt.a
/opt/local/lib/libxml2.a -lz
cc -Xa -xstrconst -xs -g -mt -KPIC -D__FUNCTION__=__func__
-I/usr/local/include/beecrypt -I/usr/local/include/neon
-D__FUNCTION__=__func__ -I/usr/local/include/beecrypt
-I/usr/local/include/neon -o .libs/rpmdb_archive ../db3/db_archive.o
.../db3/util_sig.o -L/opt/rpm/lib ./.libs/librpmdb.so
/tmp/rpm-4.4.7/rpmio/.libs/librpmio.so -L/usr/local/lib -lm -ldl -lresolv
-lbz2 /tmp/rpm-4.4.7/popt/.libs/libpopt.so -L/usr/ucblib -lpthread -lnsl
-lsocket -lrt /opt/local/lib/libneon.a /opt/local/lib/libbeecrypt.a
/opt/local/lib/libxml2.a -lz -R/opt/rpm/lib
Undefined first referenced
symbol in file
ne_add_response_header_catcher /tmp/rpm-4.4.7/rpmio/.libs/librpmio.so
ne_add_response_header_handler /tmp/rpm-4.4.7/rpmio/.libs/librpmio.so
ld: fatal: Symbol referencing errors. No output written to
..libs/rpmdb_archive
gmake[1]: *** [rpmdb_archive] Error 1
gmake[1]: Leaving directory `/tmp/rpm-4.4.7/rpmdb'
gmake: *** [all] Error 2
_________________________________________________________________
Be the first to hear what's new at MSN - sign up to our free newsletters!
http://www.msn.co.uk/newsletters
_______________________________________________
Rpm-list mailing list
Rpm-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/rpm-list