Closed hatahet closed 10 years ago
Try:
make distclean
./configure LIBS="-lm"
make
in case it is missing -lm
.
I ended up installing ibctl-3.2.1, which installed successfully. I then re-downloaded v3.2.2, and the installation went fine! I checked the Makefile
after running configure
, and -lm
was part of LIBS
:
LIBS = -pthread -lguile -lltdl -lgmp -lcrypt -lm -lltdl
Though I can't confirm if this were the case previously. Any reason why installing 3.2.1 might have changed things?
Closing issue since this seems to have been resolved. Thanks for the help.
I'm not sure why that would make a difference...
Maybe Circular dependencies, see http://stackoverflow.com/q/19901934
Confirmed adding LIBS="-lm" on configure line took care of it for me on Ubunto. Thx.
In one of MakeFile I changed below things, it just works (add -lm
at specified position)
from
$(PLUGIN): $(OBJECTS)
$(CC) $(CFLAGS) -o $@ $^ $(LIBS)
to
$(PLUGIN): $(OBJECTS)
$(CC) $(CFLAGS) -o $@ $^ $(LIBS) -lm
I've updated the configure script so that in the next libctl release this will be added by default.
Edit the lines as shown below in the makefile and it should compile:
FLAGS = -L /lib64 LIBS = -lusb-1.0 -l pthread
I am getting the following error when running
make
:Running Kubuntu 13.10 x86_64: