Makefile has error
azuryl opened this issue · 2 comments
LDADD = -L. -lspro -lm the -lm should be lcoated at the end
if gcc -g -O2 -o slpc slpc.o gggetopt.o -lm -L. -lspro
/libspro.a(misc.o): In function spf_buf_normalize': /home/jliu/gpt/voiceprint/VoicePrintReco/SPro_5.0/misc.c:280: undefined reference to
sqrt'
/home/jliu/gpt/voiceprint/VoicePrintReco/SPro_5.0/misc.c:189: undefined reference to sqrt' ./libspro.a(misc.o): In function
set_lifter':
/home/jliu/gpt/voiceprint/VoicePrintReco/SPro_5.0/misc.c:410: undefined reference to sin' ./libspro.a(misc.o): In function
sig_normalize':
/home/jliu/gpt/voiceprint/VoicePrintReco/SPro_5.0/misc.c:433: undefined reference to sqrt' ./libspro.a(misc.o): In function
set_sig_win':
/home/jliu/gpt/voiceprint/VoicePrintReco/SPro_5.0/misc.c:466: undefined reference to cos' /home/jliu/gpt/voiceprint/VoicePrintReco/SPro_5.0/misc.c:481: undefined reference to
cos'
/home/jliu/gpt/voiceprint/VoicePrintReco/SPro_5.0/misc.c:481: undefined reference to cos' /home/jliu/gpt/voiceprint/VoicePrintReco/SPro_5.0/misc.c:473: undefined reference to
cos'
configure should ./configure --includedir=/include/sp