[dsc] Trying to build dsc...

Dave Swanger swangdb at auburn.edu
Wed Aug 6 17:49:29 UTC 2008


>>> On 8/6/2008 at 10:54 AM, in message
<20080806155414.GE93394 at morbo.kerna.ie>,
James Raftery <james at now.ie> wrote:
> On Wed, Aug 06, 2008 at 08:23:56AM -0500, Dave Swanger wrote:
>>
>> <20080805235527.O36091 at measurement-factory.com>, Duane Wessels 
> <wessels at measurement-factory.com> wrote:
>> > I made these statfs/statvfs changes to configure and daemon.c and
>> > put dsc-200808052354.tar.gz up for download if anyone wants to
try
>> > it.
> 
> Thanks!
> 
>> It appears that "#if HAVE_STATVFS" fails even though statvfs exists
on the 
> machine.
> 
> Add
> 
>   #include "config.h"

That worked!  But then it crashed on the link.

> to the top of collector/dsc/daemon.c
> 
> I also needed to give the linker some hints to avoid a load of
missing
> symbols:
> 
>   LD_LIBRARY_PATH="/usr/local/lib" LD_OPTIONS="-lresolv -lnsl -lpcap
-lsocket" 
> gmake

How would I put these in the Makefile? 

Dave (Makefile rookie)






More information about the dsc mailing list