[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: Final test release of rpm-4.0.3
- From: Brian Harvell <harvell aol net>
- To: <rpm-list redhat com>
- Subject: Re: Final test release of rpm-4.0.3
- Date: Fri, 6 Jul 2001 09:49:44 -0400 (EDT)
Looks like it's missing a -lmisc somewhere for Solaris (and I assume other
platforms without stp[n]cpy.
Brian
gcc -DHAVE_CONFIG_H -I. -I. -I. -I. -I/opt/bcs/include -Wall -g -O2 -D_GNU_SOURCE -Wall -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes -Wno-char-subscripts -c popthelp.c -o popthelp.o >/dev/null 2>&1
mv -f .libs/popthelp.lo popthelp.lo
/bin/sh ./libtool --mode=link gcc -Wall -g -O2 -D_GNU_SOURCE -Wall -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes -Wno-char-subscripts -o libpopt.la -rpath /opt/bcs/packages/rpm-4.0.3/lib popt.lo findme.lo poptparse.lo poptconfig.lo popthelp.lo -L/usr/ucblib -R /usr/ucblib
rm -fr .libs/libpopt.la .libs/libpopt.* .libs/libpopt.*
/usr/ccs/bin/ld -G -h libpopt.so.0 -o .libs/libpopt.so.0.0.0 popt.lo findme.lo poptparse.lo poptconfig.lo popthelp.lo -R/usr/ucblib -L/usr/ucblib -lc
(cd .libs && rm -f libpopt.so.0 && ln -s libpopt.so.0.0.0 libpopt.so.0)
(cd .libs && rm -f libpopt.so && ln -s libpopt.so.0.0.0 libpopt.so)
ar cru .libs/libpopt.a popt.o findme.o poptparse.o poptconfig.o popthelp.o
ranlib .libs/libpopt.a
creating libpopt.la
(cd .libs && rm -f libpopt.la && ln -s ../libpopt.la libpopt.la)
gcc -DHAVE_CONFIG_H -I. -I. -I. -I. -I/opt/bcs/include -Wall -g -O2 -D_GNU_SOURCE -Wall -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes -Wno-char-subscripts -c test1.c
/bin/sh ./libtool --mode=link gcc -Wall -g -O2 -D_GNU_SOURCE -Wall -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes -Wno-char-subscripts -o test1 -all-static test1.o libpopt.la -L/usr/ucblib -R /usr/ucblib
gcc -Wall -g -O2 -D_GNU_SOURCE -Wall -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes -Wno-char-subscripts -o test1 -static test1.o ./.libs/libpopt.a -L/usr/ucblib -R/usr/ucblib
Undefined first referenced
symbol in file
stpncpy ./.libs/libpopt.a(popthelp.o)
stpcpy ./.libs/libpopt.a(popthelp.o)
ld: fatal: Symbol referencing errors. No output written to test1
collect2: ld returned 1 exit status
make[4]: *** [test1] Error 1
make[4]: Leaving directory `/data/cvs/web-inf/bcs/BUILD/rpm-4.0.3/popt'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/data/cvs/web-inf/bcs/BUILD/rpm-4.0.3/popt'
make[2]: *** [all-recursive-am] Error 2
make[2]: Leaving directory `/data/cvs/web-inf/bcs/BUILD/rpm-4.0.3/popt'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/data/cvs/web-inf/bcs/BUILD/rpm-4.0.3'
make: *** [all-recursive-am] Error 2
Bad exit status from /tmp/rpm-tmp.21764 (%build)
On Thu, 5 Jul 2001, Jeff Johnson wrote:
> I've put up a final test release for rpm-4.0.3-0.57 at
>
> ftp://ftp.rpm.org/pub/rpm/test-4.0.3
>
> This includes packages for Red Hat 7.x and 6.x for all arches. Packages
> for Red Hat 6.x have a release of "-0.57.6x".
>
> rpm-4.0.3 no longer links against the Berkeley db-1.85 libraries. This
> means that there is limited support for what I call "db1 format", sufficient
> to do an rpm --rebuilddb to convert from db1 to db3 format. Queries that
> access only /var/lib/rpm/packages.rpm will "work", but queries that access
> the db-1.85 hash format indices (e.g. "rpm -q rpm") will return EINVAL.
>
> rpm-4.0.3 uses an internal copy of Berkeley db-3.3.4, and the final release
> of rpm-4.0.3 will probably be soon after the final Berkeley db-3.3.x release,
> as I'd like to use the final version if possible.
>
> There are two main changes necessary to port to rpm-4.0.3:
>
> 1) Add -lrpmdb, remove -ldb-3.1, with associated autoconf tests for existence
> of /usr/lib/librpmdb.*. The order for library linkage in rpm-4.0.3 should
> be
> -lrpmbuild -lrpm -lrpmdb -lrpmio -lpopt
>
--
Brian Harvell harvell@aol.net http://ToolBoy.com/
echo '[q]sa[ln0=aln256%Pln256/snlbx]sb3135071790101768542287578439snlbxq'|dc
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
[]