Hello,

I've searched for this in the FAQ and in the newsgroups and have found nothing. Using the current release of OpenPKG on Solaris 8, I get the following error during the rpm build. Included below is the output from uname -a, gcc, make, m4 (because it seems like it might be some kind of token replacement problem).

Is there something I am missing? Should I not bother building the bootstrap and just get the pre-compiled kit?

I am not sure where to look for precursors to the error, either.

Thanks for any help.

Brian

------------------------------------------------------------------------------------------------------------
 $ sh openpkg-*.src.sh             --prefix=/openpkg --tag=openpkg             
--user=openpkg --group=openpkg
.
.
.
.

/usr/local/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 rpmb build.o rpmb.o - L/tmp/openpkg-20071227/zlib-1.2.3 -L/tmp/openpkg-20071227/bzip2-1.0.4 - L/tmp/openpkg-20071227/beecrypt-4.1.2 ./build/.libs/librpmbuild.a -L/ openpkg/lib /tmp/openpkg-20071227/rpm-4.2.1/lib/.libs/librpm.a -L/tmp/ gcc/sparcv9-sun-solaris2.8/libstdc++-v3/src -L/tmp/gcc/sparcv9-sun- solaris2.8/libstdc++-v3/src/.libs -L/tmp/gcc/gcc -L/usr/pkg/gcc/lib/ gcc/sparcv9-sun-solaris2.8/3.4.6 -L/usr/ccs/bin/sparcv9 -L/usr/ccs/bin -L/usr/ccs/lib/sparcv9 -L/usr/ccs/lib -L/usr/pkg/gcc/lib/gcc/sparcv9- sun-solaris2.8/3.4.6/../../../sparcv9 -L/usr/pkg/gcc/lib/gcc/sparcv9- sun-solaris2.8/3.4.6/../../.. -L/lib/sparcv9 -L/usr/lib/sparcv9 -L/usr/ ucblib ./lib/.libs/librpm.a /tmp/openpkg-20071227/rpm-4.2.1/ rpmdb/.libs/librpmdb.a ./rpmdb/.libs/librpmdb.a /tmp/openpkg-20071227/ rpm-4.2.1/rpmio/.libs/librpmio.a /tmp/openpkg-20071227/rpm-4.2.1/ popt/.libs/libpopt.a ./rpmio/.libs/librpmio.a -lm -lgcc_s ./popt/.libs/ libpopt.a -lsocket -lnsl /tmp/openpkg-20071227/beecrypt-4.1.2/.libs/ libbeecrypt.a -lrt -ldl /usr/pkg/gcc/lib/sparcv9/libstdc++.so -lresolv -lz /tmp/openpkg-20071227/bzip2-1.0.4/.libs/libbz2.a -R/usr/pkg/gcc/ lib/sparcv9 -R/usr/pkg/gcc/lib/sparcv9 -R/usr/ucblib
Undefined                       first referenced
 symbol                             in file
_                                   ./build/.libs/librpmbuild.a(rpmfc.o)
ld: fatal: Symbol referencing errors. No output written to rpmb
collect2: ld returned 1 exit status
make[2]: *** [rpmb] Error 1
make[2]: Leaving directory /tmp/openpkg-20071227/rpm-4.2.1'
make: *** [all] Error 2
------------------------------------------------------------------------------------------------------------


$ uname -a

SunOS sun.somedomain.net 5.8 Generic_117350-62 sun4u sparc SUNW,UltraAX


$ gcc -v
Reading specs from /usr/pkg/gcc/lib/gcc/sparcv9-sun-solaris2.8/3.4.6/ specs Configured with: /pkg/src/gcc-3.4.6/configure --enable-languages=c,c+ +,f77 --enable-shared --enable-threads --prefix=/usr/pkg/gcc sparcv9- sun-solaris2.8
Thread model: posix
gcc version 3.4.6


$ make -v
GNU Make 3.81
Copyright (C) 2006  Free Software Foundation, Inc.
This is free software; see the source for copying conditions.
There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE.

This program built for sparc-sun-solaris2.8


$ m4 --version
GNU M4 1.4.8
Copyright (C) 2006 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

Written by Rene' Seindal.


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

Reply via email to