I would imagine floor() would be defined in math_iso.h.. Since floor() is a math function.. along with ceiling() (sp?)
You need math_iso.h.. Maybe it wasn't in the tar? Can't imagine why it wouldn't be. --------------------- Johnny Withers [EMAIL PROTECTED] p. 601.853.0211 c. 601.209.4985 -----Original Message----- From: Faine, Mark [mailto:[EMAIL PROTECTED]] Sent: Friday, January 11, 2002 1:56 PM To: '[EMAIL PROTECTED]' Subject: @#$#%@ mysql compile problems on Solaris 8 'floor' undeclared Solaris 8 GCC 3.03 Ok, first I got an error about iso/math_iso.h not being there so I commented it out of the math.h file. This got me past that error, now I get this error. gcc -O3 -DUNDEF_THREADS_HACK -I./../include -I../include -I./.. -I.. -I.. -O -DDBUG_OFF -felide-constructors -fno-exceptions -fno-rtti -fno-implicit-templates -fno-exceptions -fno-rtti -DHAVE_CURSES_H -I/export/home/temp/mysql-3.23.47/include -DHAVE_RWLOCK_T -c mysql.cc mysql.cc: In function `void nice_time(double, char*, bool)': mysql.cc:2409: `floor' undeclared (first use this function) mysql.cc:2409: (Each undeclared identifier is reported only once for each function it appears in.) make[2]: *** [mysql.o] Error 1 make[2]: Leaving directory `/export/home/temp/mysql-3.23.47/client' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/export/home/temp/mysql-3.23.47' make: *** [all-recursive-am] Error 2 If anyone has any idea of how to fix this please let me know. Thanks, Mark --------------------------------------------------------------------- Before posting, please check: http://www.mysql.com/manual.php (the manual) http://lists.mysql.com/ (the list archive) To request this thread, e-mail <[EMAIL PROTECTED]> To unsubscribe, e-mail <[EMAIL PROTECTED]> Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php --------------------------------------------------------------------- Before posting, please check: http://www.mysql.com/manual.php (the manual) http://lists.mysql.com/ (the list archive) To request this thread, e-mail <[EMAIL PROTECTED]> To unsubscribe, e-mail <[EMAIL PROTECTED]> Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php