RPM Community Forums

Mailing List Message of <rpm-devel>

5.0a1 compile problem in Solaris 9

From: David Halik <dhalik@jla.rutgers.edu>
Date: Mon 12 Nov 2007 - 04:26:41 CET
Message-ID: <4737C7F1.5010005@jla.rutgers.edu>

First let me say, congrats on the first 5.0 release! (even if it is 
alpha ;) I was able to take out a bunch of my patches and it seems to 
compile much cleaner in general than 4.4.9.

It looks like I'm running into some kind of internal linking issue, or 
maybe a missing header that needs to be pointed to during the 
rpmconstant portion of the build. Up until that this point it had been 
running smoothly and I thought it might actually go all the way. For 
most Sun Studio issues I usually have a work around up my sleeve, but 
this seems to be something internal since these are all defined within 
the package.

cc -g -xs -D_GNU_SOURCE -D_REENTRANT -D_LARGEFILE64_SOURCE -DNE_LFS -o 
.libs/rpmconstant constant.o  -L/usr/local/lib -L/usr/local/ssl/lib 
./.libs/librpmconstant.so -ldl -lm -lpopt -lbeecrypt -lpthread 
/usr/local/lib/libneon.so -lssl -lcrypto -lnsl -lsocket -lz 
/usr/local/lib/libexpat.so  -R/usr/local/lib -R/usr/local/ssl/lib
Undefined                       first referenced
  symbol                             in file
rpmdsInit                           constant.o
rpmdsNext                           constant.o
rpmdsTagN                           constant.o
rpmHeaderFormats                    constant.o
hdrVec                              constant.o
rpmTagTable                         constant.o
rpmdsSearch                         constant.o
rpmdsResult                         constant.o
rpmTags                             constant.o
rpmdsIx                             constant.o
rpmdsDNEVR                          constant.o
rpmdsSetResult                      constant.o
ld: fatal: Symbol referencing errors. No output written to .libs/rpmconstant

Any thoughts?

Thanks,
-Dave

-- 
================================
David Halik
Systems Programmer
OSS/NBCS - OIT Rutgers
dhalik@jla.rutgers.edu
================================
Received on Mon Nov 12 04:26:45 2007
Driven by Jeff Johnson and the RPM project team.
Hosted by OpenPKG and Ralf S. Engelschall.
Powered by FreeBSD and OpenPKG.