|
楼主 |
发表于 2004-9-16 15:12:10
|
显示全部楼层
能编译了,可是好像还却些什么。我是新手,能指点一下吗?
$ make
cd src && make depend
make[1]: Entering directory `/home/akic/libbt-1.02/src'
makedepend -- -g -Wall -I../include -I../include - benc.c bts.c types.c random.c strbuf.c stream.c peer.c segmenter.c util.c bitset.c context.c bterror.c
makedepend: warning: /usr/include/gnu/stubs.h: non-portable whitespace encountered at line 7
makedepend: warning: random.c, line 19: cannot find include file "openssl/sha.h"
not in ../include/openssl/sha.h
not in ../include/openssl/sha.h
not in /usr/local/lib/gcc-include/openssl/sha.h
not in /usr/include/openssl/sha.h
not in /usr/lib/gcc-lib/i486-linux/3.3.4/include/openssl/sha.h
makedepend: warning: peer.c (reading ../include/segmenter.h, line 3): cannot find include file "openssl/sha.h"
not in ../include/openssl/sha.h
not in ../include/openssl/sha.h
not in /usr/local/lib/gcc-include/openssl/sha.h
not in /usr/include/openssl/sha.h
not in /usr/lib/gcc-lib/i486-linux/3.3.4/include/openssl/sha.h
makedepend: warning: peer.c (reading ../include/context.h, line 3): cannot find include file "openssl/sha.h"
not in ../include/openssl/sha.h
not in ../include/openssl/sha.h
not in /usr/local/lib/gcc-include/openssl/sha.h
not in /usr/include/openssl/sha.h
not in /usr/lib/gcc-lib/i486-linux/3.3.4/include/openssl/sha.h
makedepend: warning: segmenter.c, line 4: cannot find include file "openssl/sha.h"
not in ../include/openssl/sha.h
not in ../include/openssl/sha.h
not in /usr/local/lib/gcc-include/openssl/sha.h
not in /usr/include/openssl/sha.h
not in /usr/lib/gcc-lib/i486-linux/3.3.4/include/openssl/sha.h
makedepend: warning: context.c, line 4: cannot find include file "curl/curl.h"
not in ../include/curl/curl.h
not in ../include/curl/curl.h
not in /usr/local/lib/gcc-include/curl/curl.h
not in /usr/include/curl/curl.h
not in /usr/lib/gcc-lib/i486-linux/3.3.4/include/curl/curl.h
makedepend: warning: context.c, line 5: cannot find include file "curl/easy.h"
not in ../include/curl/easy.h
not in ../include/curl/easy.h
not in /usr/local/lib/gcc-include/curl/easy.h
not in /usr/include/curl/easy.h
not in /usr/lib/gcc-lib/i486-linux/3.3.4/include/curl/easy.h
makedepend: warning: context.c, line 6: cannot find include file "openssl/sha.h"
not in ../include/openssl/sha.h
not in ../include/openssl/sha.h
not in /usr/local/lib/gcc-include/openssl/sha.h
not in /usr/include/openssl/sha.h
not in /usr/lib/gcc-lib/i486-linux/3.3.4/include/openssl/sha.h
make[1]: Leaving directory `/home/akic/libbt-1.02/src'
cd src && make
make[1]: Entering directory `/home/akic/libbt-1.02/src'
gcc -c -g -Wall -I../include -I../include random.c -o random.o
random.c:19:25: openssl/sha.h: 没有那个文件或目录
random.c: In function `seed_rnd':
random.c:25: error: `SHA_DIGEST_LENGTH' undeclared (first use in this function)
random.c:25: error: (Each undeclared identifier is reported only once
random.c:25: error: for each function it appears in.)
random.c:26: warning: implicit declaration of function `SHA1'
random.c:25: warning: unused variable `dg'
make[1]: *** [random.o] 错误 1
make[1]: Leaving directory `/home/akic/libbt-1.02/src'
make: *** [compile] 错误 2 |
|