suncrow 发表于 2005-11-29 20:46:18

make错误请教~~~~~~~~~~~~

g++ -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/X11R6/include -I/usr/include/atk-1.0 -I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include   -DLOCALEDIR=\"/usr//share/locale\"    -g -O2 -c TCPTracker.cpp
TCPTracker.cpp:8:28: boost/format.hpp: 没有那个文件或目录
TCPTracker.cpp: In member function `std::string CTCPTracker::makeTrackerUrl(const char*)':
TCPTracker.cpp:219: error: `boost' has not been declared
TCPTracker.cpp:219: error: `format' undeclared (first use this function)
TCPTracker.cpp:219: error: (Each undeclared identifier is reported only once for each function it appears in.)
TCPTracker.cpp:227: error: `str' undeclared (first use this function)
make[2]: *** [TCPTracker.o] 错误 1
make[2]: Leaving directory `/data/software/BitStormLite-0.1d/src'
make[1]: *** [all-recursive] 错误 1
make[1]: Leaving directory `/data/software/BitStormLite-0.1d'
make: *** [all-recursive-am] 错误 2

demonlj 发表于 2005-11-29 22:32:48

bitstorm缺少对boost的configure检验,所以虽然你configure过了。但是在make会出错
解决方案:
安装boost

gxcooo 发表于 2005-11-30 11:32:02

下个版本把boost倚赖去掉

demonlj 发表于 2005-11-30 11:41:28

hoho,不错。
页: [1]
查看完整版本: make错误请教~~~~~~~~~~~~