Hi!

I'm fiddling with the bootstrap on OpenSolaris 2008.11. Sadly the build
process stops in building rpm: After inspecting /usr/include/dirent.h,
it seems that osol now defines dirfd. Therefore I have removed for
testing the #define dirfd(dirp) -1

Now the build stops at building rpmdb_archive with some missing symbols:

make  all-am
cd .. && \
  true --foreign  rpmdb/Makefile
/bin/sh ../libtool --mode=link /usr/bin/gcc  -DOPENPKG -DOPENPKG_SUNOS
-I/tmp/openpkg-20071227/zlib-1.2.3 -I/tmp/openpkg-20071227/bzip2-1.0.4
-I/tmp/openpkg-20071227/beecrypt-4.1.2 -O2 -D_GNU_SOURCE -D_REENTRANT  
-L/sw/lib -o rpmdb_archive   ../db3/db_archive.lo  ../db3/util_sig.lo 
librpmdb.la
/usr/bin/gcc -DOPENPKG -DOPENPKG_SUNOS
-I/tmp/openpkg-20071227/zlib-1.2.3 -I/tmp/openpkg-20071227/bzip2-1.0.4
-I/tmp/openpkg-20071227/beecrypt-4.1.2 -O2 -D_GNU_SOURCE -D_REENTRANT -o
rpmdb_archive ../db3/db_archive.o ../db3/util_sig.o  -L/sw/lib
./.libs/librpmdb.a
/tmp/openpkg-20071227/rpm-4.2.1/rpmio/.libs/librpmio.a
-L/tmp/openpkg-20071227/zlib-1.2.3 -L/tmp/openpkg-20071227/bzip2-1.0.4
-L/tmp/openpkg-20071227/beecrypt-4.1.2 -L/usr/sfw/lib -lgcc_s -lm
-lsocket -lnsl /tmp/openpkg-20071227/beecrypt-4.1.2/.libs/libbeecrypt.a
/usr/sfw/lib/libstdc++.so -lresolv -lz
/tmp/openpkg-20071227/bzip2-1.0.4/.libs/libbz2.a
/tmp/openpkg-20071227/rpm-4.2.1/popt/.libs/libpopt.a  -R/usr/sfw/lib
-R/usr/sfw/lib
Undefined                       first referenced
 symbol                             in file
db_version_rpmdb                    ../db3/db_archive.o
db_env_create_rpmdb                 ../db3/db_archive.o
db_strerror_rpmdb                   ../db3/db_archive.o
ld: fatal: Symbol referencing errors. No output written to rpmdb_archive
collect2: ld returned 1 exit status
*** Error code 1
make: Fatal error: Command failed for target `rpmdb_archive'
Current working directory /tmp/openpkg-20071227/rpm-4.2.1/rpmdb
*** Error code 1
make: Fatal error: Command failed for target `all'

Does someone have an idea where to fiddle next?!?

cheerio
   Steve


Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to