Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 6 Jul 2002 00:43:23 -0500
From:      Erik Greenwald <erik@smluc.org>
To:        freebsd-ports@freebsd.org
Subject:   Re:  undefined reference to `statvfs'
Message-ID:  <20020706054323.GA17086@lazarus.smluc.org>

next in thread | raw e-mail | index | archive | help
Edwin Culp <eculp@encontacto.net> 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 <erik@smluc.org> [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




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