SPIKE使用_英语学习_外语学习_教育专区

上传人:gg****m 文档编号:213909945 上传时间:2021-11-22 格式:DOCX 页数:5 大小:60.72KB
返回 下载 相关 举报
SPIKE使用_英语学习_外语学习_教育专区_第1页
第1页 / 共5页
SPIKE使用_英语学习_外语学习_教育专区_第2页
第2页 / 共5页
SPIKE使用_英语学习_外语学习_教育专区_第3页
第3页 / 共5页
SPIKE使用_英语学习_外语学习_教育专区_第4页
第4页 / 共5页
SPIKE使用_英语学习_外语学习_教育专区_第5页
第5页 / 共5页
亲,该文档总共5页,全部预览完了,如果喜欢就下载吧!
资源描述

《SPIKE使用_英语学习_外语学习_教育专区》由会员分享,可在线阅读,更多相关《SPIKE使用_英语学习_外语学习_教育专区(5页珍藏版)》请在金锄头文库上搜索。

1、1解压缩到新建的文件夹/usr/local/src下syzubuntu:/usr/local/src$ sudo tar zxfv /Desktop/SPIKE2.9.tgz -C /usr/local/src2、解压后进入/usr/local/src/SPIKE/SPIKE/src 目录syzubuntu:/usr/local/src/SPIKE/SPIKE$ cd srcMl羽卜彳匸aclocal 命令-,-3clocal 是个 perl脚本稈-序,一用丰Linux 系统的-C 语右它的定 jGu:-aciocalcreatG aclocal.md by scanning-H4figurG

2、aGj-autoconf 丿kconfigure.in 这勺编 译彳矣件U士所需要的各种参数的模板文件中创建-configure3utoconf需要-GNU 玄处/卑器来 处理aclocal.m4,以生成-configure 脚木s*ubuntu:/SPIKE/SPIKE/SPIKE/src$ sudomclocal3、检查configure支持参数syzubuntu:/usr/local/src/SPIKE/SPIKE/src$sudo ./configure -help | morecon figure* con figures this package to adapt to many

3、kinds of systems Usage: ./configure OPTION. VAR=VALUE.To assign environment variables (e.g., CC, CFLAGS.), specify them asVAR=VALUE. See below for descript!ons of some of the useful variables.Defaults for the options are specified in bracketsConfiguration:-h, -help一 help 二 short-help=recursive -V, -

4、versiondisplay this help and exitdisplay options specific to this packagedisplay the short help of all the included packagesdisplay version information and exit-q, quiet, -silentdo not print checking.J messages-cache-file=FILE-C, -c on fig-cache-n, -no-create-srcdir=DIRcache test results in FILE dis

5、abledalias for、一 cache-file二c on fig.cache1 do not create output filesfind the sources in DIR configure dir or .1Installation directories:一prefix二PREFIXinstall architecture-independent files in PREFIX/usr/local -More其-prefix后面接的路径表示这个软件将來要安装到哪个目录去4、执行./configure,实际生成makefile规则文件 syzubuntu:/usr/local

6、/src/SPIKE/SPIKE/src$ sudo ./configure prefix=/usr/local/SPIKE checki ng for a BSD-compatible in stall. /usr/bi n/in stall -c checking whether build environment is saneyes /usr/local/src/SPIKE/SPIKE/src/missing: Unknown -run option Try 7usr/local/src/SPIKE/SPIKE/src/missing -help1 for more informati

7、on con figure: WARNING: missi ng script is too old or missingchecking for gawk. nochecking for mawk. mawkchecking whether make sets $(MAKE). yeschecking for gcc. gccchecking for C compiler default output. a.outchecking whether the C compiler works. yeschecking whether we are cross compilingnocheckin

8、g for suffix of executables.checking for suffix of object files. ochecking whether we are using the GNU C compiler. yeschecking whether gcc accepts -g. yeschecking for gcc option to accept ANSI Cnone neededchecki ng for style of in elude used by make. GNUchecking dependency style of gccnonechecki ng

9、 for a BSD-compatible in stall. /usr/bi n/in stall -cchecking whether make sets $(MAKE). (cached) yeschecki ng for ran lib. ra nlibchecking for main in -lc. yeschecking for main in -Issl. nochecking for dlopen in -Idlyeschecking how to run the C preprocessor. gcc -Echecking for egrep. grep -Echeckin

10、g for ANSI C header files. yeschecking for sys/wait.h that is POSIX.1 compatible. yeschecking for sys/types.h. yeschecking for sys/stat.h. yeschecking for stdlib.h. yeschecking for stringh yeschecking for memory.h. yeschecking for strings.hyeschecking for inttypes.h. yeschecking for stdint.h. yesche

11、cking for unistd.h. yescheckingfentl.h usability. yescheckingfcntl.h preseneeyeschecking for fentl.h. yescheckingmalloc.h usability. yescheckingmalloc.h presence. yeschecking for malloc.h. yeschecking sys/time.h usability. yeschecking sys/time.h preseneeyeschecking for sys/time.h. yeschecking for un

12、istd.h. (cached) yeschecking for an ANSI C-conforming const. yeschecking for pid_t. yeschecking for size_t. yeschecki ng whether time.h and sys/time.h may both be in eluded. yeschecking for working mememp. yeschecking return type of signal handlers. voidchecking for vprintfyeschecking for _doprnt. n

13、ochecking for select. yeschecking for socket. yeschecking for strdup. yeschecking for strstr. yeschecking for strtoul. yescon figure: creati ng ./con fig.statuscon fig.status: creating Makefilecon fig.status: executi ng depfiles comma nds4、编译少安装syzubuntu:/usr/local/src/SPIKE/SPIKE/src$ sudo make cle

14、an;make 报错:Assembler messages:Fatal error: cant create spike.o: Permission deniedmake: * spike.o Error 1提权:syzubuntu:/usr/local/src$ sudochmod -R 777 SPIKEsyzubuntu:/usr/local/src/SPIKE/SPIKE/src$ makeMake报错:Id-sharedson amelibdlrpc.so-olibdlrpc.so-lcdlrpc.odlargs.ospike.olistener.ohdebug.otcpstuff.

15、ospike_dcerpc.obase64.oudpstuff.ospike_ on crpc.odlrpc.o: Infunction、s_parse_buffer:/usr/local/src/SPIKE/SPIKE/src/dlrpc.c:670: undefined reference to _sta c k_ch k_f a i l_l oca I dlrpc.o: In function s_parse,:/usr/local/src/SPIKE/SPIKE/src/dlrpc.c:718: undefined reference to、_sta c k_ch k_f a i l_l oca I1 spike.o: In function xclose_a_size:/usr/local/src/SPIKE/SPIKE/src/spike.c:914: undefined

展开阅读全文
相关资源
相关搜索

当前位置:首页 > 办公文档 > 其它办公文档

电脑版 |金锄头文库版权所有
经营许可证:蜀ICP备13022795号 | 川公网安备 51140202000112号