exp@@glibc_2.2.5 정의되지 않은 참조

exp@@glibc_2.2.5 정의되지 않은 참조

저는 tfinley.net에서 제공하는 SVM-python 구현을 사용하려고 노력해 왔습니다.

추출된 디렉토리에서 make 명령을 사용하면,

/usr/bin/ld: svm_light/svm_common.o: undefined reference to symbol 'exp@@GLIBC_2.2.5'
/lib/x86_64-linux-gnu/libm.so.6: error adding symbols: DSO missing from command line
collect2: error: ld returned 1 exit status
Makefile:92: recipe for target 'svm_python_learn_hideo' failed
make: *** [svm_python_learn_hideo] Error 1

이것이 나타납니다.이것내가 사용하려는 구현입니다.

답변1

내보낸 후 MakeFile 상단에 추가하면 LIBS=-lm수학 라이브러리와 연동됩니다.

관련 정보