>Description:
I'm trying to compile mysql on solaris 2.6. Getting these errors:
mysql.cc: In function `int sql_connect(char*, char*, char*, char*, unsigned
int)':
mysql.cc:2175: `sleep' undeclared (first use this function)
mysql.cc:2175: (Each undeclared identifier is reported only once for each
function it appears in.)
make[2]: *** [mysql.o] Error 1
make[2]: Leaving directory `/usr/home/tagawami/code/mysql-3.23.49/client'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/home/tagawami/code/mysql-3.23.49'
>How-To-Repeat:
setenv LDFLAGS '-R/usr/local/lib'
setenv CFLAGS "-O3"
setenv CXX gcc
setenv CXXFLAGS "-O3 -felide-constructors -fno-exceptions -fno-rtti"
./configure --prefix=/usr/local/mysql --enable-assembler
--with-mysql-ldflags=-all-static
make (gmake version 3.79.1)
>Fix:
>Submitter-Id: <submitter ID>
>Originator: Mark Tagawa
>Organization:
EarthLink
>MySQL support: [none | licence | email support | extended email support ]
>Synopsis: Need help compiling mysql.
>Severity: serious
>Priority: high
>Category: mysql
>Class:
>Release: mysql-3.23.49 (Source distribution)
>Environment:
System: SunOS mclaren 5.6 Generic_105181-16 sun4u sparc SUNW,Ultra-2
Architecture: sun4
Some paths: /home/tagawami/perl/bin/perl /ms/bin/make /usr/local/bin/gcc /usr/ucb/cc
GCC: Reading specs from /usr/local/lib/gcc-lib/sparc-sun-solaris2.6/3.1/specs
Configured with: ../configure --with-as=/usr/ccs/bin/as --with-ld=/usr/ccs/bin/ad
--disable-nls
Thread model: posix
gcc version 3.1
Compilation info: CC='gcc' CFLAGS='' CXX='gcc' CXXFLAGS='' LDFLAGS=''
LIBC:
-rw-r--r-- 1 bin bin 1600348 Mar 20 1998 /lib/libc.a
lrwxrwxrwx 1 root root 11 Jan 13 1999 /lib/libc.so -> ./libc.so.1
-rwxr-xr-x 1 bin bin 1025512 Mar 1 22:44 /lib/libc.so.1
-rw-r--r-- 1 bin bin 1600348 Mar 20 1998 /usr/lib/libc.a
lrwxrwxrwx 1 root root 11 Jan 13 1999 /usr/lib/libc.so -> ./libc.so.1
-rwxr-xr-x 1 bin bin 1025512 Mar 1 22:44 /usr/lib/libc.so.1
Configure command: ./configure --with-unix-socket-path=/var/tmp/mysql.sock
--with-low-memory --with-mit-threads=yes --without-perl --enable-thread-safe-client
--with-berkeley-db --enable-local-infile --with-innodb
---------------------------------------------------------------------
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