From owner-freebsd-ports Fri Jul 5 22:38:46 2002 Delivered-To: freebsd-ports@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2818A37B400 for ; Fri, 5 Jul 2002 22:38:42 -0700 (PDT) Received: from www.smluc.org (smluc.org [206.138.44.17]) by mx1.FreeBSD.org (Postfix) with SMTP id 56E5943E42 for ; Fri, 5 Jul 2002 22:38:41 -0700 (PDT) (envelope-from erik@www.smluc.org) Received: (qmail 17126 invoked by uid 1000); 6 Jul 2002 05:43:23 -0000 Date: Sat, 6 Jul 2002 00:43:23 -0500 From: Erik Greenwald To: freebsd-ports@freebsd.org Subject: Re: undefined reference to `statvfs' Message-ID: <20020706054323.GA17086@lazarus.smluc.org> Reply-To: 1025931093.3d267755d3c67@Mail.EnContacto.Net Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.3.28i Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Edwin Culp said: > > I have just had two ports, proftpd and rpm, give me an > "undefined reference to `statvfs'" error when trying > to compile them. > > Has anyone else seen this? Could I be missing a library? > I really don't know where to start. actually, yes I got it on 'rpm', my crude ugly hack solution was to gzip /usr/include/sys/statvfs.h during the make configure portion, which caused it to ignore the include. I believe this is more of a -current issue than a -ports issue, however, as the header seems to define functions that no longer exist in -current :) The only place I see it in the kernel stuff is in compat/svr4, which has me thinking that you may be able to kldload svr4.ko and have it working, tho? > > Thanks, > > ed > > I'm running current on an intel platform. > # uname -a > FreeBSD worldinternet.org 5.0-CURRENT FreeBSD 5.0-CURRENT #47: Thu Jul > 4 > 08:37:00 PDT 2002 > root@worldinternet.org:/usr/obj/usr/src/sys/PIII850N i386 > > -- > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-ports" in the body of the message > -- -Erik [http://math.smsu.edu/~erik] The opinions expressed by me are not necessarily opinions. In all probability, they are random rambling, and to be ignored. Failure to ignore may result in severe boredom or confusion. Shake well before opening. Keep Refrigerated. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message