From owner-freebsd-questions@FreeBSD.ORG Sun Feb 11 19:57:11 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 16EC816A401 for ; Sun, 11 Feb 2007 19:57:11 +0000 (UTC) (envelope-from tomas.holub@gmail.com) Received: from wr-out-0506.google.com (wr-out-0506.google.com [64.233.184.237]) by mx1.freebsd.org (Postfix) with ESMTP id B398F13C48E for ; Sun, 11 Feb 2007 19:57:10 +0000 (UTC) (envelope-from tomas.holub@gmail.com) Received: by wr-out-0506.google.com with SMTP id 69so1540839wra for ; Sun, 11 Feb 2007 11:57:10 -0800 (PST) DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:mime-version:content-type; b=VSl6r9zQwFrwzk2mMPbAgyXf3uW8OWukJMrckFLFMtqZm5L1iyygphUKewZnH5knMd6BmadF4BkCmyM7v3mEez6zzj6LH9CCMDy91xWoDcArgWWXHnB0+tq7GCQRYNpnzOHDueUS/X6P8HfSyK47/C/i3nKbruCnY8y4nx7oYLA= Received: by 10.114.127.1 with SMTP id z1mr5523155wac.1171222290623; Sun, 11 Feb 2007 11:31:30 -0800 (PST) Received: by 10.114.59.11 with HTTP; Sun, 11 Feb 2007 11:31:30 -0800 (PST) Message-ID: <425a1c190702111131iabdcaf3qda4c8f26525849d8@mail.gmail.com> Date: Sun, 11 Feb 2007 20:31:30 +0100 From: "Tomas Holub" To: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Building archivers/rpm4 fails X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 11 Feb 2007 19:57:11 -0000 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.