From: Michael Widenius Date: March 19 1999 12:18pm Subject: More compile errors on solaris 2.6 with mysql 3.22.20a List-Archive: http://lists.mysql.com/mysql/588 Message-Id: <14066.16456.528073.278891@monty.pp.sci.fi> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit >>>>> "Martin" == Martin B Jespersen writes: Martin> Hi there, Martin> This time i tried to compile without static but then look what happened: Martin> #CC=gcc Martin> #CFLAGS="-O6 -fomit-frame-pointer" Martin> #CXX=gcc Martin> #CXXFLAGS="-O6 -fomit-frame-pointer -felide-constructors -fno-exceptions -fno-rtti" Martin> #export CC CFLAGS CXX CXXFLAGS Martin> #./configure --prefix=/usr/local/mysql --enable-thread-safe-client --enable-assembler --with-mysqld-user=root --without-debug Martin> --with-charset=danish Martin> ... Martin> #make Martin> ... Martin> gcc -DHAVE_CONFIG_H -I. -I. -I.. -I./../include -I../include -O6 -O6 -fomit-frame-pointer -DDBUG_OFF -D_LARGEFILE_SOURCE Martin> -D_FILE_OFFSET_BITS=64 -c strtoull.c Martin> as -o strings.o strings.s Martin> as: "strings.s", line 1: error: unknown opcode "Copyright" Hi! The above has nothing to do with -static. The strings.s file is made for x86 and doesn't work on Sparc. Please remove the --enable-assember switch and try again. Regards, Monty