+ -
当前位置:首页 → 问答吧 → zip乱码求解释

zip乱码求解释

时间:2011-10-18

来源:互联网

安装国外的一个语言处理包,按照包中所给的说明安装,出现如下问题。如果用gcc 编译的或,在后面加上 -lm,但是我是直接用别人的makefile来安装的,请问如何能解决这个问题啊?

gcc -Wall -O3 -o scopy scopy.o gggetopt.o -lm -L. -lspro -L/usr/local/nist/lib -lsp -lutil
./libspro.a(misc.o): In function `spf_buf_normalize':
misc.c:(.text+0xa9d): undefined reference to `sqrt'
misc.c:(.text+0xae1): undefined reference to `sqrt'
./libspro.a(misc.o): In function `set_lifter':
misc.c:(.text+0xe75): undefined reference to `sin'
./libspro.a(misc.o): In function `sig_normalize':
misc.c:(.text+0x1030): undefined reference to `sqrt'
./libspro.a(misc.o): In function `set_sig_win':
misc.c:(.text+0x10e2): undefined reference to `cos'
misc.c:(.text+0x11bb): undefined reference to `cos'
misc.c:(.text+0x11da): undefined reference to `cos'
misc.c:(.text+0x12b2): undefined reference to `cos'
collect2: ld 返回 1
make[2]: *** [scopy] 错误 1
make[2]:正在离开目录 `/home/ywang/Downloads/spro-5.0'
make[1]: *** [all-recursive] 错误 1
make[1]:正在离开目录 `/home/ywang/Downloads/spro-5.0'
make: *** [all] 错误 2
ywang@ywang-vm:~/Downloads/spro-5.0$

作者: amanut   发布时间: 2011-10-18