On 11/23/09 1:10 AM, Philip Guenther wrote:
> On Sun, Nov 22, 2009 at 9:41 PM, Ross Davis <rda...@ffame.org> wrote:
>> I am trying to compile bandwidthd 2.0.1 on OpenBSD 4.3. After installing
>> a few needed ports, I was able to run the ./configure command
>> successfully with:
>>
>> ./configure CFLAGS=-lz -x-libraries=/usr/X11R6/lib
> 
> You should pass linker options like -lz via LDFLAGS instead of CFLAGS,
> or even better, via LIBS if the Makefile supports that variable.
> (That's the source of those "gcc: -lz: linker input file unused
> because linking not done" warnings.)

Replacing CFLAGS with LDFLAGS seemed to cause no problems, and
eliminated the warning messages during make.

>> However, `make` seems to error out with this message: "Graph cycles
>> through conf.l.c"
> 
> The makefile is either buggy or assumes a non-POSIX make.  Try it
> again with 'gmake'.  If you still get errors, yell at the bandwidthd
> authors.

`gmake` worked, thank you!

ross

Reply via email to