Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 26 Jun 2002 02:40:55 -0700
From:      Bill Huey <billh@gnuppy.monkey.org>
To:        freebsd-current@freebsd.org
Cc:        Bill Huey <billh@gnuppy.monkey.org>
Subject:   statvfs() undefined ?(linux_base build problems)
Message-ID:  <20020626094055.GA4526@gnuppy.monkey.org>

next in thread | raw e-mail | index | archive | help

Hello,

I run into when building linux_base under the most recent -current:

====================

gmake[2]: Entering directory `/usr/ports/archivers/rpm/work/rpm-3.0.6/tools'
/bin/sh ../libtool --mode=link cc  -O -pipe  -D_GNU_SOURCE -Wall -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes -Wno-char-subscripts -L../build -L../lib -o dump  dump.o ../build/librpmbuild.la 	../lib/librpm.la 	-lpopt 	 ../misc/libmisc.a -L/usr/local/lib -lintl -liconv -L/usr/local/lib  -lz -lbz2
cc -O -pipe -D_GNU_SOURCE -Wall -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes -Wno-char-subscripts -L../build -L../lib -o .libs/dump dump.o ../build/.libs/librpmbuild.so -L/usr/local/lib -lintl -liconv -lz -lbz2 ../lib/.libs/librpm.so -lintl -liconv -lz -lbz2 -lpopt ../misc/libmisc.a -L/usr/local/lib -lintl -liconv -L/usr/local/lib -lz -lbz2  -Wl,--rpath -Wl,/usr/local/lib
../lib/.libs/librpm.so: warning: tempnam() possibly used unsafely; consider using mkstemp()
../lib/.libs/librpm.so: warning: mktemp() possibly used unsafely; consider using mkstemp()
../lib/.libs/librpm.so: undefined reference to `statvfs'
gmake[2]: *** [dump] Error 1
gmake[2]: Leaving directory `/usr/ports/archivers/rpm/work/rpm-3.0.6/tools'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/usr/ports/archivers/rpm/work/rpm-3.0.6'
gmake: *** [all-recursive-am] Error 2
*** Error code 2

Stop in /usr/ports/archivers/rpm.
*** Error code 1

Stop in /usr/ports/emulators/linux_base.

====================

Grepping through /usr/src/ didn't reveal that these functions were defined. Are they
in an external package or is this broken ?

bill


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message




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