(~/eth-1.0-0) gordon@zenix $ make
test -f et-linux-2.60-sdk.x86.run || wget ftp://ftp.mirror.nl/pub/mirror/idsoftware/idstuff/et/sdk/et-linux-2.60-sdk.x86.run
mkdir sdk
/bin/sh et-linux-2.60-sdk.x86.run --tar xfC sdk
find sdk -not -name "q_math.c" -not -iname "*.h" -exec rm -f {} \; 2> /dev/null || /bin/true
find sdk -type d -exec rmdir -p {} \; 2> /dev/null || /bin/true
rm -rf sdk/src/botai
sed -e "s/Window/eth_Window/" sdk/src/ui/ui_shared.h -i
tar xzf ghf-0.4-1.tar.gz
make -C ghf clean all
make[1]: Entering directory `/home/gordon/eth-1.0-0/ghf'
rm -rf asm.o elf.o utils.o vfunction.o libghf.a ghf-test.o ghf-test ghf-0.4-1.tar.gz ghf
gcc -Wall -pipe -march=i686 -I/usr/local/include/libelf -ggdb -c -o asm.o asm.c
gcc -Wall -pipe -march=i686 -I/usr/local/include/libelf -ggdb -c -o elf.o elf.c
gcc -Wall -pipe -march=i686 -I/usr/local/include/libelf -ggdb -c -o utils.o utils.c
g++ -Wall -pipe -march=i686 -I/usr/local/include/libelf -ggdb -c -o vfunction.o vfunction.cpp
ar r libghf.a asm.o elf.o utils.o vfunction.o
ar: creating libghf.a
ranlib libghf.a
g++ -Wall -pipe -march=i686 -I/usr/local/include/libelf -ggdb -c -o ghf-test.o ghf-test.cpp
ghf-test.cpp:5:39: cppunit/CompilerOutputter.h: No such file or directory
ghf-test.cpp:6:45: cppunit/extensions/HelperMacros.h: No such file or directory
ghf-test.cpp:7:52: cppunit/extensions/TestFactoryRegistry.h: No such file or directory
ghf-test.cpp:8:40: cppunit/ui/text/TestRunner.h: No such file or directory
In file included from ghf-test.cpp:11:
ghf-test.h:8: error: `CppUnit' has not been declared
ghf-test.h:8: error: expected class-name before '{' token
ghf-test.h:9: error: ISO C++ forbids declaration of `CPPUNIT_TEST_SUITE' with no type
ghf-test.h:10: error: `testGetSymbolAddr' has not been declared
ghf-test.h:10: error: ISO C++ forbids declaration of `CPPUNIT_TEST' with no type
ghf-test.h:10: error: ISO C++ forbids declaration of `parameter' with no type
ghf-test.h:11: error: `testPltHook' has not been declared
ghf-test.h:11: error: ISO C++ forbids declaration of `CPPUNIT_TEST' with no type
ghf-test.h:11: error: ISO C++ forbids declaration of `parameter' with no type
ghf-test.h:11: error: `int GhfTest::CPPUNIT_TEST(int)' and `int GhfTest::CPPUNIT_TEST(int)' cannot be overloaded
ghf-test.h:12: error: `testDetourUndetour' has not been declared
ghf-test.h:12: error: ISO C++ forbids declaration of `CPPUNIT_TEST' with no type
ghf-test.h:12: error: ISO C++ forbids declaration of `parameter' with no type
ghf-test.h:12: error: `int GhfTest::CPPUNIT_TEST(int)' and `int GhfTest::CPPUNIT_TEST(int)' cannot be overloaded
ghf-test.h:13: error: ISO C++ forbids declaration of `CPPUNIT_TEST_SUITE_END' with no type
ghf-test.cpp:13: error: expected constructor, destructor, or type conversion before ';' token
ghf-test.cpp: In member function `void GhfTest::testGetSymbolAddr()':
ghf-test.cpp:21: error: `NULL' was not declared in this scope
ghf-test.cpp:21: error: `CPPUNIT_ASSERT_EQUAL' was not declared in this scope
ghf-test.cpp: In member function `void GhfTest::testPltHook()':
ghf-test.cpp:29: error: `malloc' was not declared in this scope
ghf-test.cpp:29: error: `CPPUNIT_ASSERT_EQUAL' was not declared in this scope
ghf-test.cpp:33: error: `CPPUNIT_ASSERT' was not declared in this scope
ghf-test.cpp:34: error: `NULL' was not declared in this scope
ghf-test.cpp:35: error: `free' was not declared in this scope
ghf-test.cpp:29: warning: unused variable 'CPPUNIT_ASSERT_EQUAL'
ghf-test.cpp:34: warning: unused variable 'NULL'
ghf-test.cpp:35: warning: unused variable 'free'
ghf-test.cpp: In function `void* my_malloc(size_t)':
ghf-test.cpp:40: error: `NULL' was not declared in this scope
ghf-test.cpp:46: error: `CPPUNIT_FAIL' was not declared in this scope
ghf-test.cpp:46: warning: unused variable 'CPPUNIT_FAIL'
ghf-test.cpp:40: warning: unused variable 'NULL'
ghf-test.cpp: In member function `void GhfTest::testDetourUndetour()':
ghf-test.cpp:62: error: `CPPUNIT_ASSERT_EQUAL' was not declared in this scope
ghf-test.cpp: In function `int main(int, char**)':
ghf-test.cpp:80: error: `CppUnit' has not been declared
ghf-test.cpp:80: error: `Test' was not declared in this scope
ghf-test.cpp:80: error: `suite' was not declared in this scope
ghf-test.cpp:80: error: `CppUnit' has not been declared
ghf-test.cpp:80: error: `getRegistry' was not declared in this scope
ghf-test.cpp:83: error: `CppUnit' has not been declared
ghf-test.cpp:83: error: `TestRunner' was not declared in this scope
ghf-test.cpp:83: error: expected `;' before "runner"
ghf-test.cpp:84: error: `runner' was not declared in this scope
ghf-test.cpp:87: error: `CppUnit' has not been declared
ghf-test.cpp:87: error: `CompilerOutputter' has not been declared
ghf-test.cpp:87: error: `cerr' is not a member of `std'
ghf-test.cpp:80: warning: unused variable 'Test'
ghf-test.cpp:80: warning: unused variable 'getRegistry'
ghf-test.cpp:83: warning: unused variable 'TestRunner'
make[1]: *** [ghf-test.o] Error 1
make[1]: Leaving directory `/home/gordon/eth-1.0-0/ghf'
make: *** [ghf/libghf.a] Error 2