where can i find the free Solaris for intel they only have a free sparc version :|
-----Original Message----- From: [EMAIL PROTECTED] [mailto:jpw@;Qenesis.com] Sent: Friday, November 15, 2002 3:16 PM To: [EMAIL PROTECTED] Subject: Solutions to Solaris 8 Intel compile problems >Description: a) --enable-assembler causes "invalid opcode" with strings.s "strings-x86.s", line 1: Illegal mnemonic "strings-x86.s", line 1: Syntax error make: Fatal error: Command failed for target `strings-x86.o' b) Incorrect socket length declaration Config.h has type int, should be socklen_t c) Can't static link --with-mysqld-ldflags=-all-static Although INSTALL-SOURCE does address these issues, it is difficult to wade through all of it to determine the cause of the problems and solve them. I expect many people will be unable to. Perhaps the documentation could be clearer in this regard in the Solaris Intel section, or configure could return an error for unusable options ? Same errors using gcc 2.95.2 >Fix: The following compiles without errors: cd mysql-3.23.53 rm config.cache rm config.log CFLAGS="-O3 -march=i686" CXX=gcc CXXFLAGS="-O3 -march=i686 -felide-constructors -fno-exceptions -fno-rtti" export CFLAGS CXX CXXFLAGS ./configure --prefix=/usr/local/mysql --with-mysqld-ldflags=-all vi config.h Change line 214 #define SOCKET_SIZE_TYPE int To #define SOCKET_SIZE_TYPE socklen_t make clean make make install >Submitter-Id: I don't have one ? >Originator: Jeff Page >Organization: Qenesis Inc. >MySQL support: none >Synopsis: Diffculties compiling on Solaris 8 Intel >Severity: non-critical >Priority: low >Category: mysql >Class: sw-bug >Release: mysql-3.23.53 (Source distribution) >Environment: System: SunOS montreal 5.8 Generic_108529-16 i86pc i386 i86pc Architecture: i86pc Some paths: /usr/bin/perl /usr/ccs/bin/make /usr/local/bin/gcc /usr/local/bin/cc GCC: Reading specs from /usr/local/lib/gcc-lib/i386-pc-solaris2.8/3.2/specs Configured with: ../configure --with-as=/usr/ccs/bin/as --with-ld=/usr/ccs/bin/ld --disable-n ls Thread model: posix gcc version 3.2 Compilation info: CC='gcc' CFLAGS='-Wimplicit -Wreturn-type -Wswitch -Wtrigraphs -Wcomment -W -Wchar-su bscripts -Wformat -Wparentheses -Wsign-compare -Wwrite-strings -Wunused -mcp u=pentiumpro -O3 -fno-omit-frame-pointer' CXX='gcc' CXXFLAGS='-Wimplicit -Wreturn-type -Wswitch -Wtrigraphs -Wcomment -W -Wchar- subscripts -Wformat -Wparentheses -Wsign-compare -Wwrite-strings -Woverloade d-virtual -Wsign-promo -Wreorder -Wctor-dtor-privacy -Wnon-virtual-dtor -fel ide-constructors -fno-exceptions -fno-rtti -mcpu=pentiumpro -O3 -fno-omit-fr ame-pointer' LDFLAGS='' LIBC: -rw-r--r-- 1 root bin 1590140 Oct 11 18:12 /lib/libc.a lrwxrwxrwx 1 root root 11 Dec 31 2000 /lib/libc.so -> ./libc.so.1 -rwxr-xr-x 1 root bin 944472 Oct 11 18:12 /lib/libc.so.1 -rw-r--r-- 1 root bin 1590140 Oct 11 18:12 /usr/lib/libc.a lrwxrwxrwx 1 root root 11 Dec 31 2000 /usr/lib/libc.so -> ./libc.so.1 -rwxr-xr-x 1 root bin 944472 Oct 11 18:12 /usr/lib/libc.so.1 Configure command: ./configure --prefix=/usr/local/mysql --enable-assembler --with-extra-charse ts=complex --enable-thread-safe-client --with-innodb --with-berkeley-db --en able-thread-safe-client 'CFLAGS=-Wimplicit -Wreturn-type -Wswitch -Wtrigraphs -Wcomment -W -Wchar-su bscripts -Wformat -Wparentheses -Wsign-compare -Wwrite-strings -Wunused -mcp u=pentiumpro -O3 -fno-omit-frame-pointer' 'CXXFLAGS=-Wimplicit -Wreturn-type -Wswitch -Wtrigraphs -Wcomment -W -Wchar- subscripts -Wformat -Wparentheses -Wsign-compare -Wwrite-strings -Woverloade d-virtual -Wsign-promo -Wreorder -Wctor-dtor-privacy -Wnon-virtual-dtor -fel ide-constructors -fno-exceptions -fno-rtti -mcpu=pentiumpro -O3 -fno-omit-fr ame-pointer' CXX=gcc Perl: This is perl, version 5.005_03 built for i86pc-solaris --------------------------------------------------------------------- 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