From owner-freebsd-ports Sat Jul 6 11:30:37 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 C1C7837B400 for ; Sat, 6 Jul 2002 11:30:34 -0700 (PDT) Received: from mail.inka.de (quechua.inka.de [212.227.14.2]) by mx1.FreeBSD.org (Postfix) with ESMTP id 72AAD43E54 for ; Sat, 6 Jul 2002 11:30:33 -0700 (PDT) (envelope-from mailnull@mips.inka.de) Received: from kemoauc.mips.inka.de (uucp@) by mail.inka.de with local-bsmtp id 17QuKF-0001IO-01; Sat, 6 Jul 2002 20:30:31 +0200 Received: from kemoauc.mips.inka.de (localhost [127.0.0.1]) by kemoauc.mips.inka.de (8.12.5/8.12.5) with ESMTP id g66IEGnM001625 for ; Sat, 6 Jul 2002 20:14:17 +0200 (CEST) (envelope-from mailnull@localhost.mips.inka.de) Received: (from mailnull@localhost) by kemoauc.mips.inka.de (8.12.5/8.12.5/Submit) id g66IEGoK001624 for freebsd-ports@freebsd.org; Sat, 6 Jul 2002 20:14:16 +0200 (CEST) From: naddy@mips.inka.de (Christian Weisgerber) Subject: Re: undefined reference to `statvfs' Date: Sat, 6 Jul 2002 18:14:15 +0000 (UTC) Message-ID: References: <20020706054323.GA17086@lazarus.smluc.org> Originator: naddy@mips.inka.de (Christian Weisgerber) To: freebsd-ports@freebsd.org 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 Erik Greenwald <1025931093.3d267755d3c67@Mail.EnContacto.Net> wrote: > 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 :) I don't think we've ever had statvfs() in the first place. statvfs() is SVR4, the corresponding BSD function is statfs(). I see that statvfs() is in SUSv3 now. Also, if you check the commit log of sys/statvfs.h, it seems to imply that the actual implementations are to come later. > 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? Only if you are running an SVR4 executable. -- Christian "naddy" Weisgerber naddy@mips.inka.de To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message