List:General Discussion« Previous MessageNext Message »
From:Michael Widenius Date:March 19 1999 12:18pm
Subject:More compile errors on solaris 2.6 with mysql 3.22.20a
View as plain text  
>>>>> "Martin" == Martin B Jespersen <Martin@stripped>
> 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
Thread
More compile errors on solaris 2.6 with mysql 3.22.20aMartin B. Jespersen19 Mar
  • More compile errors on solaris 2.6 with mysql 3.22.20aMichael Widenius19 Mar