From: Didier G. <ld...@ul...> - 2008-06-22 12:56:04
|
Compiling 2.4.1.2 on Tru64 v5.1b, g++ 4.0.2 and the native tru64 cc. ar: Warning: ignoring second definition of _ZN8SecBlockItED1Ev defined in archive ar: Warning: ignoring second definition of _ZN8SecBlockIN8CodeTree7ct_dataEED1Ev defined in archive ln -f libcryptlib.a ../../lib/libcryptlib.a Making all in core g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I.. -I/usr/local/ssl/include -I/usr/local/iconv/include -I/usr/opt/TWWfsw/gcc402/include/c++ -g -D_ALPHA -c -o file_unix.o file_unix.cpp g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I.. -I/usr/local/ssl/include -I/usr/local/iconv/include -I/usr/opt/TWWfsw/gcc402/include/c++ -g -D_ALPHA -c -o unixfsservices.o unixfsservices.cpp unixfsservices.cpp: In member function 'virtual void cUnixFSServices::GetHostID(TSTRING&) const': unixfsservices.cpp:167: error: 'gethostid' was not declared in this scope *** Exit 1 Stop. I have the environment variables set as follows: CC="cc" CFLAGS="-O4" CPPFLAGS="-I/usr/local/iconv/include" CXXFLAGS="-I/usr/opt/TWWfsw/gcc402/include/c++" I have iconv in its own directory, so that's why the flag is there, and gcc is installed in its own directory not in the path, so I do have the PATH variable also poiting to the gcc bin folder. I include a couple of the lines starting with "ar: Warning" above, but there are also many. I know those have nothing to do with the error, but maybe there is a small detail to fix there, maybe a porting issue. If I need to supply more troubleshooting info, let me know... Thanks for any help fixing this, -- Didier Godefroy mailto:dg...@ul... |