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$
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
相关阅读 更多
热门阅读
-
office 2019专业增强版最新2021版激活秘钥/序列号/激活码推荐 附激活工具
阅读:74
-
如何安装mysql8.0
阅读:31
-
Word快速设置标题样式步骤详解
阅读:28
-
20+道必知必会的Vue面试题(附答案解析)
阅读:37
-
HTML如何制作表单
阅读:22
-
百词斩可以改天数吗?当然可以,4个步骤轻松修改天数!
阅读:31
-
ET文件格式和XLS格式文件之间如何转化?
阅读:24
-
react和vue的区别及优缺点是什么
阅读:121
-
支付宝人脸识别如何关闭?
阅读:21
-
腾讯微云怎么修改照片或视频备份路径?
阅读:28