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

However, `make` seems to error out with this message: "Graph cycles
through conf.l.c"

Before I try digging into the source code, has anyone run into this before?

For reference, here is the full make output:

gcc -Wall -lz  -I/usr/local/include -DHAVE_CONFIG_H
-DINSTALL_DIR="\"/usr/local/bandwidthd\""  -c bandwidthd.c
bandwidthd.c: In function `StoreIPDataInCDF':
bandwidthd.c:897: warning: long unsigned int format, time_t arg (arg 4)
bandwidthd.c: In function `RCDF_Test':
bandwidthd.c:1093: warning: long unsigned int format, time_t arg (arg 4)
bandwidthd.c: In function `RCDF_PositionStream':
bandwidthd.c:1126: warning: long unsigned int format, time_t arg (arg 4)
bandwidthd.c: In function `RCDF_Load':
bandwidthd.c:1148: warning: long unsigned int format, time_t arg (arg 4)
gcc: -lz: linker input file unused because linking not done
gcc -Wall -lz  -I/usr/local/include -DHAVE_CONFIG_H
-DINSTALL_DIR="\"/usr/local/bandwidthd\""  -c graph.c
gcc: -lz: linker input file unused because linking not done
gcc -Wall -lz  -I/usr/local/include -DHAVE_CONFIG_H
-DINSTALL_DIR="\"/usr/local/bandwidthd\""  -c conf.tab.c
gcc: -lz: linker input file unused because linking not done
Graph cycles through conf.l.c

`all' not remade because of errors.

Thanks,
Ross

Reply via email to