iometer的官网主页:http://www.iometer.org
源代码下载主页:http://www.iometer.org/doc/downloads.html
The sources as well as prebuild binaries released by the Iometer
project are hosted at Sourceforge - in the file area of the Iometer project. For
stable releases you will find links to that area including MD5 checksums to
verify what you have downloaded. Unstable releases, so development snapshots and
release candidates are not covered here - please move on to the file area at
Sourceforge.
sourceforge网站同时提供源代码和预编译的二进制文件发行版本,可以通过Iometer项目访问获取。通过MD5校验下载的软件版本,本主页不提供不稳定的发行版本。
1.1.0
2006.07.27
2004.07.30
2003.12.16
编译过程一:下载错误的源代码
步骤1:下载iometer-2003.02.15版本源码,进入目录,
cd iometer-2003.02.15/
cat README
没有清楚说明的内容
步骤2:进入源码目录,没有找到configure脚本,同时没有makefile文件,
cd src/
文件不一样的:Makefile-Linux Makefile-Solaris
步骤3: 修改Makefile-Linux文件为Makefile,编译
cp Makefile-Linux Makefile
步骤4:编译
make all
编译错误:
/usr/lib/gcc/x86_64-redhat-linux/4.4.4/../../../../include/c++/4.4.4/bits/ostream.tcc:385: error: template-id ‘ends<>’ for ‘std::wostream& std::ends(std::wostream&)’ does not match any template declaration
/usr/lib/gcc/x86_64-redhat-linux/4.4.4/../../../../include/c++/4.4.4/bits/ostream.tcc:386: error: template-id ‘flush<>’ for ‘std::wostream& std::flush(std::wostream&)’ does not match any template declaration
/usr/lib/gcc/x86_64-redhat-linux/4.4.4/../../../../include/c++/4.4.4/bits/ostream.tcc:387: error: ‘std::wostream& std::operator<<(std::wostream&, wchar_t)’ must have an argument of class or enumerated type
/usr/lib/gcc/x86_64-redhat-linux/4.4.4/../../../../include/c++/4.4.4/bits/ostream.tcc:388: error: ‘std::wostream& std::operator<<(std::wostream&, char)’ must have an argument of class or enumerated type
/usr/lib/gcc/x86_64-redhat-linux/4.4.4/../../../../include/c++/4.4.4/bits/ostream.tcc:389: error: ‘std::wostream& std::operator<<(std::wostream&, const wchar_t*)’ must have an argument of class or enumerated type
/usr/lib/gcc/x86_64-redhat-linux/4.4.4/../../../../include/c++/4.4.4/bits/ostream.tcc:390: error: ‘std::wostream& std::operator<<(std::wostream&, const char*)’ must have an argument of class or enumerated type
/usr/lib/gcc/x86_64-redhat-linux/4.4.4/../../../../include/c++/4.4.4/bits/ostream.tcc:392: error: ‘wostream’ is not a class or namespace
/usr/lib/gcc/x86_64-redhat-linux/4.4.4/../../../../include/c++/4.4.4/bits/ostream.tcc:392: error: ‘_M_insert’ is not a template function
/usr/lib/gcc/x86_64-redhat-linux/4.4.4/../../../../include/c++/4.4.4/bits/ostream.tcc:393: error: ‘wostream’ is not a class or namespace
/usr/lib/gcc/x86_64-redhat-linux/4.4.4/../../../../include/c++/4.4.4/bits/ostream.tcc:393: error: ‘_M_insert’ is not a template function
/usr/lib/gcc/x86_64-redhat-linux/4.4.4/../../../../include/c++/4.4.4/bits/ostream.tcc:394: error: ‘wostream’ is not a class or namespace
/usr/lib/gcc/x86_64-redhat-linux/4.4.4/../../../../include/c++/4.4.4/bits/ostream.tcc:394: error: ‘_M_insert’ is not a template function
/usr/lib/gcc/x86_64-redhat-linux/4.4.4/../../../../include/c++/4.4.4/bits/ostream.tcc:396: error: ‘wostream’ is not a class or namespace
/usr/lib/gcc/x86_64-redhat-linux/4.4.4/../../../../include/c++/4.4.4/bits/ostream.tcc:396: error: ‘_M_insert’ is not a template function
/usr/lib/gcc/x86_64-redhat-linux/4.4.4/../../../../include/c++/4.4.4/bits/ostream.tcc:397: error: ‘wostream’ is not a class or namespace
/usr/lib/gcc/x86_64-redhat-linux/4.4.4/../../../../include/c++/4.4.4/bits/ostream.tcc:397: error: ‘_M_insert’ is not a template function
/usr/lib/gcc/x86_64-redhat-linux/4.4.4/../../../../include/c++/4.4.4/bits/ostream.tcc:399: error: ‘wostream’ is not a class or namespace
/usr/lib/gcc/x86_64-redhat-linux/4.4.4/../../../../include/c++/4.4.4/bits/ostream.tcc:399: error: ‘_M_insert’ is not a template function
/usr/lib/gcc/x86_64-redhat-linux/4.4.4/../../../../include/c++/4.4.4/bits/ostream.tcc:400: error: ‘wostream’ is not a class or namespace
/usr/lib/gcc/x86_64-redhat-linux/4.4.4/../../../../include/c++/4.4.4/bits/ostream.tcc:400: error: ‘_M_insert’ is not a template function
/usr/lib/gcc/x86_64-redhat-linux/4.4.4/../../../../include/c++/4.4.4/bits/ostream.tcc:401: error: ‘wostream’ is not a class or namespace
/usr/lib/gcc/x86_64-redhat-linux/4.4.4/../../../../include/c++/4.4.4/bits/ostream.tcc:401: error: ‘_M_insert’ is not a template function
In file included from /usr/lib/gcc/x86_64-redhat-linux/4.4.4/../../../../include/c++/4.4.4/iostream:41,
from IOCommon.h:155,
from IOGlobals.cpp:54:
/usr/lib/gcc/x86_64-redhat-linux/4.4.4/../../../../include/c++/4.4.4/istream:592: error: template argument 2 is invalid
/usr/lib/gcc/x86_64-redhat-linux/4.4.4/../../../../include/c++/4.4.4/istream:593: error: template argument 2 is invalid
/usr/lib/gcc/x86_64-redhat-linux/4.4.4/../../../../include/c++/4.4.4/istream:594: error: invalid type in declaration before ‘(’ token
/usr/lib/gcc/x86_64-redhat-linux/4.4.4/../../../../include/c++/4.4.4/istream:594: error: ‘char_type’ was not declared in this scope
/usr/lib/gcc/x86_64-redhat-linux/4.4.4/../../../../include/c++/4.4.4/istream:594: error: ‘__s’ was not declared in this scope
/usr/lib/gcc/x86_64-redhat-linux/4.4.4/../../../../include/c++/4.4.4/istream:594: error: expected primary-expression before ‘__n’
/usr/lib/gcc/x86_64-redhat-linux/4.4.4/../../../../include/c++/4.4.4/istream:594: error: ‘char_type’ was not declared in this scope
/usr/lib/gcc/x86_64-redhat-linux/4.4.4/../../../../include/c++/4.4.4/istream:594: error: initializer expression list treated as compound expression
/usr/lib/gcc/x86_64-redhat-linux/4.4.4/../../../../include/c++/4.4.4/istream:597: error: template argument 2 is invalid
/usr/lib/gcc/x86_64-redhat-linux/4.4.4/../../../../include/c++/4.4.4/istream:598: error: template argument 2 is invalid
/usr/lib/gcc/x86_64-redhat-linux/4.4.4/../../../../include/c++/4.4.4/istream:599: error: invalid type in declaration before ‘;’ token
/usr/lib/gcc/x86_64-redhat-linux/4.4.4/../../../../include/c++/4.4.4/istream:599: error: ‘ignore’ is not a template function
/usr/lib/gcc/x86_64-redhat-linux/4.4.4/../../../../include/c++/4.4.4/istream:602: error: template argument 2 is invalid
/usr/lib/gcc/x86_64-redhat-linux/4.4.4/../../../../include/c++/4.4.4/istream:603: error: template argument 2 is invalid
/usr/lib/gcc/x86_64-redhat-linux/4.4.4/../../../../include/c++/4.4.4/istream:604: error: ‘int_type’ has not been declared
/usr/lib/gcc/x86_64-redhat-linux/4.4.4/../../../../include/c++/4.4.4/istream:604: error: invalid type in declaration before ‘;’ token
/usr/lib/gcc/x86_64-redhat-linux/4.4.4/../../../../include/c++/4.4.4/istream:604: error: ‘ignore’ is not a template function
/usr/lib/gcc/x86_64-redhat-linux/4.4.4/../../../../include/c++/4.4.4/istream:608: error: template argument 2 is invalid
/usr/lib/gcc/x86_64-redhat-linux/4.4.4/../../../../include/c++/4.4.4/istream:609: error: template argument 2 is invalid
/usr/lib/gcc/x86_64-redhat-linux/4.4.4/../../../../include/c++/4.4.4/istream:610: error: invalid type in declaration before ‘(’ token
/usr/lib/gcc/x86_64-redhat-linux/4.4.4/../../../../include/c++/4.4.4/istream:610: error: ‘char_type’ was not declared in this scope
/usr/lib/gcc/x86_64-redhat-linux/4.4.4/../../../../include/c++/4.4.4/istream:610: error: ‘__s’ was not declared in this scope
/usr/lib/gcc/x86_64-redhat-linux/4.4.4/../../../../include/c++/4.4.4/istream:610: error: expected primary-expression before ‘__n’
/usr/lib/gcc/x86_64-redhat-linux/4.4.4/../../../../include/c++/4.4.4/istream:610: error: ‘char_type’ was not declared in this scope
/usr/lib/gcc/x86_64-redhat-linux/4.4.4/../../../../include/c++/4.4.4/istream:610: error: initializer expression list treated as compound expression
/usr/lib/gcc/x86_64-redhat-linux/4.4.4/../../../../include/c++/4.4.4/istream:613: error: template argument 2 is invalid
/usr/lib/gcc/x86_64-redhat-linux/4.4.4/../../../../include/c++/4.4.4/istream:614: error: template argument 2 is invalid
/usr/lib/gcc/x86_64-redhat-linux/4.4.4/../../../../include/c++/4.4.4/istream:615: error: invalid type in declaration before ‘;’ token
/usr/lib/gcc/x86_64-redhat-linux/4.4.4/../../../../include/c++/4.4.4/istream:615: error: ‘ignore’ is not a template function
/usr/lib/gcc/x86_64-redhat-linux/4.4.4/../../../../include/c++/4.4.4/istream:618: error: template argument 2 is invalid
/usr/lib/gcc/x86_64-redhat-linux/4.4.4/../../../../include/c++/4.4.4/istream:619: error: template argument 2 is invalid
/usr/lib/gcc/x86_64-redhat-linux/4.4.4/../../../../include/c++/4.4.4/istream:620: error: ‘int_type’ has not been declared
/usr/lib/gcc/x86_64-redhat-linux/4.4.4/../../../../include/c++/4.4.4/istream:620: error: invalid type in declaration before ‘;’ token
/usr/lib/gcc/x86_64-redhat-linux/4.4.4/../../../../include/c++/4.4.4/istream:620: error: ‘ignore’ is not a template function
/usr/lib/gcc/x86_64-redhat-linux/4.4.4/../../../../include/c++/4.4.4/istream:740: error: template argument 2 is invalid
/usr/lib/gcc/x86_64-redhat-linux/4.4.4/../../../../include/c++/4.4.4/istream:741: error: template argument 2 is invalid
/usr/lib/gcc/x86_64-redhat-linux/4.4.4/../../../../include/c++/4.4.4/istream:741: error: invalid type in declaration before ‘;’ token
/usr/lib/gcc/x86_64-redhat-linux/4.4.4/../../../../include/c++/4.4.4/istream:741: error: ‘int& std::operator>>(int&, char*)’ must have an argument of class or enumerated type
In file included from /usr/lib/gcc/x86_64-redhat-linux/4.4.4/../../../../include/c++/4.4.4/istream:830,
from /usr/lib/gcc/x86_64-redhat-linux/4.4.4/../../../../include/c++/4.4.4/iostream:41,
from IOCommon.h:155,
from IOGlobals.cpp:54:
/usr/lib/gcc/x86_64-redhat-linux/4.4.4/../../../../include/c++/4.4.4/bits/istream.tcc:971: error: template argument 2 is invalid
/usr/lib/gcc/x86_64-redhat-linux/4.4.4/../../../../include/c++/4.4.4/bits/istream.tcc:972: error: template-id ‘ws<>’ for ‘std::istream& std::ws(std::istream&)’ does not match any template declaration
/usr/lib/gcc/x86_64-redhat-linux/4.4.4/../../../../include/c++/4.4.4/bits/istream.tcc:973: error: ‘std::istream& std::operator>>(std::istream&, char&)’ must have an argument of class or enumerated type
/usr/lib/gcc/x86_64-redhat-linux/4.4.4/../../../../include/c++/4.4.4/bits/istream.tcc:974: error: ‘std::istream& std::operator>>(std::istream&, char*)’ must have an argument of class or enumerated type
/usr/lib/gcc/x86_64-redhat-linux/4.4.4/../../../../include/c++/4.4.4/bits/istream.tcc:975: error: ‘std::istream& std::operator>>(std::istream&, unsigned char&)’ must have an argument of class or enumerated type
/usr/lib/gcc/x86_64-redhat-linux/4.4.4/../../../../include/c++/4.4.4/bits/istream.tcc:976: error: ‘std::istream& std::operator>>(std::istream&, signed char&)’ must have an argument of class or enumerated type
/usr/lib/gcc/x86_64-redhat-linux/4.4.4/../../../../include/c++/4.4.4/bits/istream.tcc:977: error: ‘std::istream& std::operator>>(std::istream&, unsigned char*)’ must have an argument of class or enumerated type
/usr/lib/gcc/x86_64-redhat-linux/4.4.4/../../../../include/c++/4.4.4/bits/istream.tcc:978: error: ‘std::istream& std::operator>>(std::istream&, signed char*)’ must have an argument of class or enumerated type
/usr/lib/gcc/x86_64-redhat-linux/4.4.4/../../../../include/c++/4.4.4/bits/istream.tcc:980: error: ‘istream’ is not a class or namespace
/usr/lib/gcc/x86_64-redhat-linux/4.4.4/../../../../include/c++/4.4.4/bits/istream.tcc:980: error: ‘_M_extract’ is not a template function
/usr/lib/gcc/x86_64-redhat-linux/4.4.4/../../../../include/c++/4.4.4/bits/istream.tcc:981: error: ‘istream’ is not a class or namespace
/usr/lib/gcc/x86_64-redhat-linux/4.4.4/../../../../include/c++/4.4.4/bits/istream.tcc:981: error: ‘_M_extract’ is not a template function
/usr/lib/gcc/x86_64-redhat-linux/4.4.4/../../../../include/c++/4.4.4/bits/istream.tcc:982: error: ‘istream’ is not a class or namespace
/usr/lib/gcc/x86_64-redhat-linux/4.4.4/../../../../include/c++/4.4.4/bits/istream.tcc:982: error: ‘_M_extract’ is not a template function
/usr/lib/gcc/x86_64-redhat-linux/4.4.4/../../../../include/c++/4.4.4/bits/istream.tcc:983: error: ‘istream’ is not a class or namespace
/usr/lib/gcc/x86_64-redhat-linux/4.4.4/../../../../include/c++/4.4.4/bits/istream.tcc:983: error: ‘_M_extract’ is not a template function
/usr/lib/gcc/x86_64-redhat-linux/4.4.4/../../../../include/c++/4.4.4/bits/istream.tcc:984: error: ‘istream’ is not a class or namespace
/usr/lib/gcc/x86_64-redhat-linux/4.4.4/../../../../include/c++/4.4.4/bits/istream.tcc:984: error: ‘_M_extract’ is not a template function
/usr/lib/gcc/x86_64-redhat-linux/4.4.4/../../../../include/c++/4.4.4/bits/istream.tcc:986: error: ‘istream’ is not a class or namespace
/usr/lib/gcc/x86_64-redhat-linux/4.4.4/../../../../include/c++/4.4.4/bits/istream.tcc:986: error: ‘_M_extract’ is not a template function
/usr/lib/gcc/x86_64-redhat-linux/4.4.4/../../../../include/c++/4.4.4/bits/istream.tcc:987: error: ‘istream’ is not a class or namespace
/usr/lib/gcc/x86_64-redhat-linux/4.4.4/../../../../include/c++/4.4.4/bits/istream.tcc:987: error: ‘_M_extract’ is not a template function
/usr/lib/gcc/x86_64-redhat-linux/4.4.4/../../../../include/c++/4.4.4/bits/istream.tcc:989: error: ‘istream’ is not a class or namespace
/usr/lib/gcc/x86_64-redhat-linux/4.4.4/../../../../include/c++/4.4.4/bits/istream.tcc:989: error: ‘_M_extract’ is not a template function
/usr/lib/gcc/x86_64-redhat-linux/4.4.4/../../../../include/c++/4.4.4/bits/istream.tcc:990: error: ‘istream’ is not a class or namespace
/usr/lib/gcc/x86_64-redhat-linux/4.4.4/../../../../include/c++/4.4.4/bits/istream.tcc:990: error: ‘_M_extract’ is not a template function
/usr/lib/gcc/x86_64-redhat-linux/4.4.4/../../../../include/c++/4.4.4/bits/istream.tcc:991: error: ‘istream’ is not a class or namespace
/usr/lib/gcc/x86_64-redhat-linux/4.4.4/../../../../include/c++/4.4.4/bits/istream.tcc:991: error: ‘_M_extract’ is not a template function
/usr/lib/gcc/x86_64-redhat-linux/4.4.4/../../../../include/c++/4.4.4/bits/istream.tcc:992: error: ‘istream’ is not a class or namespace
/usr/lib/gcc/x86_64-redhat-linux/4.4.4/../../../../include/c++/4.4.4/bits/istream.tcc:992: error: ‘_M_extract’ is not a template function
/usr/lib/gcc/x86_64-redhat-linux/4.4.4/../../../../include/c++/4.4.4/bits/istream.tcc:994: error: template argument 2 is invalid
/usr/lib/gcc/x86_64-redhat-linux/4.4.4/../../../../include/c++/4.4.4/bits/istream.tcc:997: error: template argument 2 is invalid
/usr/lib/gcc/x86_64-redhat-linux/4.4.4/../../../../include/c++/4.4.4/bits/istream.tcc:998: error: template-id ‘ws<>’ for ‘std::wistream& std::ws(std::wistream&)’ does not match any template declaration
/usr/lib/gcc/x86_64-redhat-linux/4.4.4/../../../../include/c++/4.4.4/bits/istream.tcc:999: error: ‘std::wistream& std::operator>>(std::wistream&, wchar_t&)’ must have an argument of class or enumerated type
/usr/lib/gcc/x86_64-redhat-linux/4.4.4/../../../../include/c++/4.4.4/bits/istream.tcc:1000: error: ‘std::wistream& std::operator>>(std::wistream&, wchar_t*)’ must have an argument of class or enumerated type
/usr/lib/gcc/x86_64-redhat-linux/4.4.4/../../../../include/c++/4.4.4/bits/istream.tcc:1002: error: ‘wistream’ is not a class or namespace
/usr/lib/gcc/x86_64-redhat-linux/4.4.4/../../../../include/c++/4.4.4/bits/istream.tcc:1002: error: ‘_M_extract’ is not a template function
/usr/lib/gcc/x86_64-redhat-linux/4.4.4/../../../../include/c++/4.4.4/bits/istream.tcc:1003: error: ‘wistream’ is not a class or namespace
/usr/lib/gcc/x86_64-redhat-linux/4.4.4/../../../../include/c++/4.4.4/bits/istream.tcc:1003: error: ‘_M_extract’ is not a template function
/usr/lib/gcc/x86_64-redhat-linux/4.4.4/../../../../include/c++/4.4.4/bits/istream.tcc:1004: error: ‘wistream’ is not a class or namespace
/usr/lib/gcc/x86_64-redhat-linux/4.4.4/../../../../include/c++/4.4.4/bits/istream.tcc:1004: error: ‘_M_extract’ is not a template function
/usr/lib/gcc/x86_64-redhat-linux/4.4.4/../../../../include/c++/4.4.4/bits/istream.tcc:1005: error: ‘wistream’ is not a class or namespace
/usr/lib/gcc/x86_64-redhat-linux/4.4.4/../../../../include/c++/4.4.4/bits/istream.tcc:1005: error: ‘_M_extract’ is not a template function
/usr/lib/gcc/x86_64-redhat-linux/4.4.4/../../../../include/c++/4.4.4/bits/istream.tcc:1006: error: ‘wistream’ is not a class or namespace
/usr/lib/gcc/x86_64-redhat-linux/4.4.4/../../../../include/c++/4.4.4/bits/istream.tcc:1006: error: ‘_M_extract’ is not a template function
/usr/lib/gcc/x86_64-redhat-linux/4.4.4/../../../../include/c++/4.4.4/bits/istream.tcc:1008: error: ‘wistream’ is not a class or namespace
/usr/lib/gcc/x86_64-redhat-linux/4.4.4/../../../../include/c++/4.4.4/bits/istream.tcc:1008: error: ‘_M_extract’ is not a template function
/usr/lib/gcc/x86_64-redhat-linux/4.4.4/../../../../include/c++/4.4.4/bits/istream.tcc:1009: error: ‘wistream’ is not a class or namespace
/usr/lib/gcc/x86_64-redhat-linux/4.4.4/../../../../include/c++/4.4.4/bits/istream.tcc:1009: error: ‘_M_extract’ is not a template function
/usr/lib/gcc/x86_64-redhat-linux/4.4.4/../../../../include/c++/4.4.4/bits/istream.tcc:1011: error: ‘wistream’ is not a class or namespace
/usr/lib/gcc/x86_64-redhat-linux/4.4.4/../../../../include/c++/4.4.4/bits/istream.tcc:1011: error: ‘_M_extract’ is not a template function
/usr/lib/gcc/x86_64-redhat-linux/4.4.4/../../../../include/c++/4.4.4/bits/istream.tcc:1012: error: ‘wistream’ is not a class or namespace
/usr/lib/gcc/x86_64-redhat-linux/4.4.4/../../../../include/c++/4.4.4/bits/istream.tcc:1012: error: ‘_M_extract’ is not a template function
/usr/lib/gcc/x86_64-redhat-linux/4.4.4/../../../../include/c++/4.4.4/bits/istream.tcc:1013: error: ‘wistream’ is not a class or namespace
/usr/lib/gcc/x86_64-redhat-linux/4.4.4/../../../../include/c++/4.4.4/bits/istream.tcc:1013: error: ‘_M_extract’ is not a template function
/usr/lib/gcc/x86_64-redhat-linux/4.4.4/../../../../include/c++/4.4.4/bits/istream.tcc:1014: error: ‘wistream’ is not a class or namespace
/usr/lib/gcc/x86_64-redhat-linux/4.4.4/../../../../include/c++/4.4.4/bits/istream.tcc:1014: error: ‘_M_extract’ is not a template function
/usr/lib/gcc/x86_64-redhat-linux/4.4.4/../../../../include/c++/4.4.4/bits/istream.tcc:1016: error: template argument 2 is invalid
编译过程2:下载1.1.0正确代码
编译通过