Building archivers/rpm4 fails

Tomas Holub tomas.holub at
Sun Feb 11 19:57:11 UTC 2007

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/ ../build/.libs/
../lib/.libs/ ../rpmdb/.libs/ /usr/local/lib/
../rpmio/.libs/ -lz -lbz2 /usr/local/lib/
/usr/local/lib/ -Wl,--rpath -Wl,/usr/local/lib
../lib/.libs/ warning: warning: mktemp() possibly used unsafely;
consider using mkstemp()
../rpmio/.libs/ 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?

Holub T.

More information about the freebsd-questions mailing list