According to Stefan Luetz: > I'm trying to compile htdig 3.2.0b3 on Solaris 8 with gcc 3.01 > (sunfreeware.com).
Well, we've had a lot of complaints about htdig (3.1.x and 3.2.x) not compiling with gcc 3.0x, but now it seems we might be getting somewhere... > it fails while compiling htfuzzy: ... > c++ -DHAVE_CONFIG_H -I. -I. -I../include > "-DDEFAULT_CONFIG_FILE=\"/opt/htdig/conf/htdig.conf\"" -I../include > -I../htlib -I../htnet -I../htcommon -I../htword -I../db -I../db > "-DMV=\"/usr/bin/mv\"" -I/usr/local/include -g -O2 -Wall -fno-rtti > -fno-exceptions -Wp,-MD,.deps/Accents.pp -c Accents.cc -fPIC -DPIC -o > .libs/Accents.lo > In file included from ../htword/WordList.h:82, > from ../htcommon/HtWordList.h:23, > from Fuzzy.h:32, > from Accents.h:20, > from Accents.cc:23: > ../htword/WordDB.h: In member function `int WordDB::Stat(void*, > void*(*)(unsigned int), int)': > ../htword/WordDB.h:103: no matching function for call to `__db::stat64(DB*&, > void*&, void*(*&)(unsigned int), u_int32_t&)' It may be that gcc 3.0x is stickier about the order of declarations in WordDB.h, i.e. that "db" is used before it's declared, so it doesn't know what type it should be. However, I'm also puzzled about this reference to stat64, when the call on line 103 is actually db->stat(...). It may be that one of the gcc 3.0x header files is redefining stat() as stat64(), and that #define is affecting this call as well. Maybe we need to rename this DB::stat() method to something else, but right now I'm having trouble finding it. -- Gilles R. Detillieux E-mail: <[EMAIL PROTECTED]> Spinal Cord Research Centre WWW: http://www.scrc.umanitoba.ca/~grdetil Dept. Physiology, U. of Manitoba Phone: (204)789-3766 Winnipeg, MB R3E 3J7 (Canada) Fax: (204)789-3930 _______________________________________________ htdig-general mailing list <[EMAIL PROTECTED]> To unsubscribe, send a message to <[EMAIL PROTECTED]> with a subject of unsubscribe FAQ: http://htdig.sourceforge.net/FAQ.html

