vincenzo / LIBSVM-Plus

Enhanced version of LIBSVM project (C++ version)
http://neminis.org/software/libsvm-plus/
BSD 3-Clause "New" or "Revised" License
19 stars 11 forks source link

make failed due to absence of -lm #4

Open lambday opened 10 years ago

lambday commented 10 years ago

Hi, I have been trying to install LibSVM-Plus because I need SVDD. When trying to install using

# from libsvm+ root directory
$ ./autogen.sh
$ mkdir build && cd build && ../configure && make -j4

I ran into errors like

/usr/bin/ld: svm.o: undefined reference to symbol 'exp@@GLIBC_2.2.5'

Using configure LIBS=-lm fixed the problem. Also, the README seems outdated. Shall I just update it and send a PR?

Great work by the way :)

vincenzo commented 10 years ago

@lambday Feel free to send in a PR. I officially don't maintain this project anymore, but I am happy to merge a fix.