Hello,

I'm trying to compile mysql-5.0.22 on Solaris 10 using the Forte Compiler
(cc: Sun C 5.8 2005/10/13).  I'm doing this so I can build
the DBI driver for mysql (DBD::mysql).  The .pkg versions
are missing libmysqlclient.so required to build DBD::mysql
(http://bugs.mysql.com/bug.php?id=17205).

PATH:

/usr/bin:/opt/SUNWspro/bin:/opt/SUNWspro/prod/bin:/usr/ucb:/etc:/usr/ccs/bin

Configure:

CC=cc CFLAGS="-Xa -fast -native -xstrconst -mt" \
CXX=CC CXXFLAGS="-noex -mt" \
./configure --prefix=/usr/local/mysql-5.0.22 --enable-assembler

make (yields error):

Making all in strings
/opt/SUNWspro/prod/bin/as  -o strings-x86.o strings-x86.s
Assembler: 
        "strings-x86.s", line 1 : Warning: Error in the # lineno from 
preprocessor
        "strings-x86.s", line 2 : Warning: Error in the # lineno from 
preprocessor
        "strings-x86.s", line 3 : Warning: Error in the # lineno from 
preprocessor
        "strings-x86.s", line 4 : Warning: Error in the # lineno from 
preprocessor
        "strings-x86.s", line 5 : Warning: Error in the # lineno from 
preprocessor
        "strings-x86.s", line 6 : Syntax error
        "strings-x86.s", line 7 : Warning: Error in the # lineno from 
preprocessor
        "strings-x86.s", line 8 : Warning: Error in the # lineno from 
preprocessor
        "strings-x86.s", line 9 : Warning: Error in the # lineno from 
preprocessor
        "strings-x86.s", line 10 : Warning: Error in the # lineno from 
preprocessor
        "strings-x86.s", line 11 : Syntax error
        "strings-x86.s", line 12 : Warning: Error in the # lineno from 
preprocessor
        "strings-x86.s", line 13 : Warning: Error in the # lineno from 
preprocessor
        "strings-x86.s", line 14 : Warning: Error in the # lineno from 
preprocessor
        "strings-x86.s", line 16 : Warning: Error in the # lineno from 
preprocessor
        "strings-x86.s", line 19 : Inappropriate assembler version: have 02.01 
expect 1.00 or greater
        "strings-x86.s", line 23 : Syntax error
        "strings-x86.s", line 24 : Syntax error
        "strings-x86.s", line 31 : Syntax error
        "strings-x86.s", line 32 : Syntax error
        "strings-x86.s", line 33 : Syntax error
        "strings-x86.s", line 34 : Syntax error
        "strings-x86.s", line 37 : Illegal mnemonic
        "strings-x86.s", line 37 : Syntax error
        "strings-x86.s", line 50 : Warning: Error in the # lineno from 
preprocessor
        "strings-x86.s", line 51 : Warning: Error in the # lineno from 
preprocessor
        "strings-x86.s", line 56 : Syntax error
        "strings-x86.s", line 58 : Syntax error
        "strings-x86.s", line 59 : Syntax error
        "strings-x86.s", line 60 : Syntax error
        "strings-x86.s", line 63 : Syntax error
        "strings-x86.s", line 66 : Illegal mnemonic
        "strings-x86.s", line 66 : Syntax error
        "strings-x86.s", line 78 : Warning: Error in the # lineno from 
preprocessor
        "strings-x86.s", line 79 : Warning: Error in the # lineno from 
preprocessor
        "strings-x86.s", line 85 : Syntax error
        "strings-x86.s", line 86 : Syntax error
        "strings-x86.s", line 87 : Syntax error
        "strings-x86.s", line 88 : Illegal mnemonic
        "strings-x86.s", line 88 : Syntax error
        "strings-x86.s", line 88 : Illegal mnemonic
        "strings-x86.s", line 88 : Syntax error
        "strings-x86.s", line 90 : Syntax error
        "strings-x86.s", line 91 : Illegal mnemonic
        "strings-x86.s", line 91 : Syntax error
        "strings-x86.s", line 92 : Syntax error
        "strings-x86.s", line 93 : Syntax error
        "strings-x86.s", line 95 : Syntax error
        "strings-x86.s", line 96 : Syntax error
        "strings-x86.s", line 97 : Syntax error
Too many errors - Goodbye
*** Error code 127
make: Fatal error: Command failed for target `strings-x86.o'
Current working directory /home/andy/mysql-4.1.20/strings
*** Error code 1


Does anyone have any idea how this error can be fixed?


//andy



-- 
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:    http://lists.mysql.com/[EMAIL PROTECTED]

Reply via email to