On Sunday 02 November 2003 17:06, Jamin W. Collins wrote: > Anyone had any luck compiling the latest CVS? I've tried with g++ > versions 2.95.4, 3.2.3, and 3.3.2 each fails.
I have ;) > - 2.95.4 > Toolbar.cc: In function `long int aMinuteFromNow()': > Toolbar.cc:142: `gettimeofday' undeclared (first use this function) > Toolbar.cc:142: (Each undeclared identifier is reported only once > Toolbar.cc:142: for each function it appears in.) > make[2]: *** [Toolbar.o] Error 1 > make[2]: Leaving directory `/home/jcollins/src/blackbox/src' > make[1]: *** [all-recursive] Error 1 > make[1]: Leaving directory `/home/jcollins/src/blackbox' > make: *** [all-recursive-am] Error 2 Hmm... seems gettimeofday isn't declared in sys/time.h like it should be. Can you see where it's defined? > - 3.2.3 > Texture.cc: In member function `void > bt::Texture::setDescription(const std::string&)': > Texture.cc:76: `tolower' undeclared (first use this function) > Texture.cc:76: (Each undeclared identifier is reported only once for > each function it appears in.) > make[2]: *** [Texture.o] Error 1 > make[2]: Leaving directory `/home/jcollins/src/blackbox/lib' > make[1]: *** [all-recursive] Error 1 > make[1]: Leaving directory `/home/jcollins/src/blackbox' > make: *** [all-recursive-am] Error 2 Hmmm... I seem to not be including ctype.h in here... If you add #include <ctype.h>, does it compile? > - 3.3.2 > Toolbar.cc: In function `long int aMinuteFromNow()': > Toolbar.cc:142: error: `gettimeofday' undeclared (first use this > function) Toolbar.cc:142: error: (Each undeclared identifier is > reported only once for each function it appears in.) > make[2]: *** [Toolbar.o] Error 1 > make[2]: Leaving directory `/home/jcollins/src/blackbox/src' > make[1]: *** [all-recursive] Error 1 > make[1]: Leaving directory `/home/jcollins/src/blackbox' > make: *** [all-recursive-am] Error 2 Same problem as above, gettimeofday needs to be found first > -- > Jamin W. Collins -- Bradley T. Hughes - bhughes at trolltech.com Trolltech AS - Waldemar Thranes gt. 98 N-0175 Oslo, Norway -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] List archives: http://asgardsrealm.net/lurker/splash/index.html Trouble? Contact [EMAIL PROTECTED]
