Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 11 Feb 2007 20:31:30 +0100
From:      "Tomas Holub" <tomas.holub@gmail.com>
To:        freebsd-questions@freebsd.org
Subject:   Building archivers/rpm4 fails
Message-ID:  <425a1c190702111131iabdcaf3qda4c8f26525849d8@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
Hi,
building rpm4 fails with this error:


cc -O2 -fno-strict-aliasing -pipe -D_GNU_SOURCE -D_REENTRANT -Wall
-Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes
-Wno-char-subscripts -o .libs/dump dump.o -L/usr/local/lib
/usr/local/lib/libpopt.so ../build/.libs/librpmbuild.so
../lib/.libs/librpm.so ../rpmdb/.libs/librpmdb.so /usr/local/lib/libdb3.so
../rpmio/.libs/librpmio.so -lz -lbz2 /usr/local/lib/libintl.so
/usr/local/lib/libiconv.so -Wl,--rpath -Wl,/usr/local/lib
../lib/.libs/librpm.so: warning: warning: mktemp() possibly used unsafely;
consider using mkstemp()
../rpmio/.libs/librpmio.so: undefined reference to `__h_errno'
gmake[2]: *** [dump] Error 1
gmake[2]: Leaving directory `/usr/ports/archivers/rpm4/work/rpm-4.0.4/tools'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/usr/ports/archivers/rpm4/work/rpm-4.0.4'
gmake: *** [all-recursive-am] Error 2
*** Error code 2

Stop in /usr/ports/archivers/rpm4.


My system is FreeBSD 6.2-RELEASE.
How can I solve it?

Regards
Holub T.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?425a1c190702111131iabdcaf3qda4c8f26525849d8>