Skip site navigation (1)Skip section navigation (2)
Date:      Sat,  6 Jul 2002 06:15:45 -0700
From:      Edwin Culp <eculp@encontacto.net>
To:        1025931093.3d267755d3c67@Mail.EnContacto.Net, Erik Greenwald <erik@smluc.org>
Cc:        freebsd-ports@freebsd.org
Subject:   Re:  undefined reference to `statvfs'
Message-ID:  <1025961345.3d26ed819e1c3@Mail.EnContacto.Net>
In-Reply-To: <20020706054323.GA17086@lazarus.smluc.org>
References:  <20020706054323.GA17086@lazarus.smluc.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Quoting Erik Greenwald <erik@smluc.org>:

 | 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. 
Erik,

Thanks for your replay.  I copied rpm from another machine but will 
definitely give it a try for proftpd.  

 | 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?

Can't find an svr4.ko in lastest kernels:-(  Oh well, that would have been
too easy :-) 

Thanks again,

ed

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?1025961345.3d26ed819e1c3>