Quote:
Originally Posted by knudfl
The Redhat 9 based EL3 / AS 3 has end of life this year.
Origin = year 2002. Not all modern software will work.
Please try an older version.
Example : Polygraph 2.8.1 compiles OK. ( CentOS 3.9 ).
http://www.web-polygraph.org/downloads/releases.html
'krb5-devel' is required.
And the following temporary links ..
cd /usr/include
ln -s /usr/kerberos/include/krb5.h
ln -s /usr/kerberos/include/com_err.h
ln -s /usr/kerberos/include/profile.h
.....
|
Hi,
Thank you for the advise. I have managed to compile GCC 4.3.3 onto the box and able to pass thru the following error. However halfway thru make, the following error appear. Kindly advise on how to have the following error resolved. Regards.
mv -f .deps/MembershipGroupIterator.Tpo .deps/MembershipGroupIterator.Po
g++ -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../src -I/usr/local/include -g -O1 -Wall -Wwrite-strings -Woverloaded-virtual -MT BodyParser.o -MD -MP -MF .deps/BodyParser.Tpo -c -o BodyParser.o BodyParser.cc
mv -f .deps/BodyParser.Tpo .deps/BodyParser.Po
g++ -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../src -I/usr/local/include -g -O1 -Wall -Wwrite-strings -Woverloaded-virtual -MT MarkupBodyParser.o -MD -MP -MF .deps/MarkupBodyParser.Tpo -c -o MarkupBodyParser.o MarkupBodyParser.cc
mv -f .deps/MarkupBodyParser.Tpo .deps/MarkupBodyParser.Po
g++ -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../src -I/usr/local/include -g -O1 -Wall -Wwrite-strings -Woverloaded-virtual -MT UriBodyParser.o -MD -MP -MF .deps/UriBodyParser.Tpo -c -o UriBodyParser.o UriBodyParser.cc
mv -f .deps/UriBodyParser.Tpo .deps/UriBodyParser.Po
g++ -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../src -I/usr/local/include -g -O1 -Wall -Wwrite-strings -Woverloaded-virtual -MT UriScriptBodyParser.o -MD -MP -MF .deps/UriScriptBodyParser.Tpo -c -o UriScriptBodyParser.o UriScriptBodyParser.cc
mv -f .deps/UriScriptBodyParser.Tpo .deps/UriScriptBodyParser.Po
g++ -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../src -I/usr/local/include -g -O1 -Wall -Wwrite-strings -Woverloaded-virtual -MT ChunkedCodingParser.o -MD -MP -MF .deps/ChunkedCodingParser.Tpo -c -o ChunkedCodingParser.o ChunkedCodingParser.cc
mv -f .deps/ChunkedCodingParser.Tpo .deps/ChunkedCodingParser.Po
g++ -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../src -I/usr/local/include -g -O1 -Wall -Wwrite-strings -Woverloaded-virtual -MT AnyBodyParser.o -MD -MP -MF .deps/AnyBodyParser.Tpo -c -o AnyBodyParser.o AnyBodyParser.cc
mv -f .deps/AnyBodyParser.Tpo .deps/AnyBodyParser.Po
g++ -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../src -I/usr/local/include -g -O1 -Wall -Wwrite-strings -Woverloaded-virtual -MT UserCred.o -MD -MP -MF .deps/UserCred.Tpo -c -o UserCred.o UserCred.cc
mv -f .deps/UserCred.Tpo .deps/UserCred.Po
g++ -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../src -I/usr/local/include -g -O1 -Wall -Wwrite-strings -Woverloaded-virtual -MT SpnegoCodec.o -MD -MP -MF .deps/SpnegoCodec.Tpo -c -o SpnegoCodec.o SpnegoCodec.cc
mv -f .deps/SpnegoCodec.Tpo .deps/SpnegoCodec.Po
g++ -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../src -I/usr/local/include -g -O1 -Wall -Wwrite-strings -Woverloaded-virtual -MT NtlmAuth.o -MD -MP -MF .deps/NtlmAuth.Tpo -c -o NtlmAuth.o NtlmAuth.cc
NtlmAuth.cc: In function 'bool ParseT2(unsigned int&, unsigned char*, const char*, unsigned int)':
NtlmAuth.cc:219: error: 'memcmp' was not declared in this scope
NtlmAuth.cc:226: error: 'memcpy' was not declared in this scope
NtlmAuth.cc: In function 'void mk_lm_hash(const char*, unsigned char*)':
NtlmAuth.cc:287: error: 'strlen' was not declared in this scope
NtlmAuth.cc:311: error: 'memset' was not declared in this scope
NtlmAuth.cc: In function 'void mk_nt_hash(const char*, unsigned char*)':
NtlmAuth.cc:330: error: 'strlen' was not declared in this scope
NtlmAuth.cc:343: error: 'memset' was not declared in this scope
NtlmAuth.cc: In function 'bool NegoNtlmAuthPrintT3(std:
stream&, const char*, const char*, const char*, bool)':
NtlmAuth.cc:452: error: 'strlen' was not declared in this scope
NtlmAuth.cc:524: error: 'strchr' was not declared in this scope
NtlmAuth.cc:545: error: 'strrchr' was not declared in this scope
NtlmAuth.cc:546: error: 'strncpy' was not declared in this scope
NtlmAuth.cc:582: error: 'memcpy' was not declared in this scope
NtlmAuth.cc:584: error: 'memset' was not declared in this scope
NtlmAuth.cc:717: error: 'memcpy' was not declared in this scope
NtlmAuth.cc:724: error: 'memcpy' was not declared in this scope
NtlmAuth.cc:738: error: 'memcpy' was not declared in this scope
NtlmAuth.cc: In function 'bool isSpnegoNtlm(const char*)':
NtlmAuth.cc:786: error: 'strlen' was not declared in this scope
make[3]: *** [NtlmAuth.o] Error 1
make[3]: Leaving directory `/home/andy/polygraph-4.0.9/src/client'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/andy/polygraph-4.0.9/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/andy/polygraph-4.0.9'
make: *** [all] Error 2