Hi!

>>>>> "Sinisa" == Sinisa Milivojevic <[EMAIL PROTECTED]> writes:

Sinisa> Shakeel Sorathia writes:
>> I just downloaded the 3.23.47 source for mysql, and I tried to
>> compile it using Sun's Forte Compiler (6.2) however when trying to
>> build libmysql/hash.c I got the following error.

<cut>

>> -DPIC -o hash.o "hash.c", line 189: reference to static variable
>> "hash_key" in inline extern function "hash.c", line 229: cannot
>> recover from previous errors cc: acomp failed for hash.c *** Error
>> code 1
>> 
>> 
>> I took a look at the file and noticed the inline byte* line.  I
>> compared that with the hash.c from the 3.23.44 build and noticed
>> that the .44 build didn't have the inline there, so I took it out
>> and it's gotten past that part.  Not sure if this is a bug in
>> configure, compile, code, or what.
>> 
>> Anyone know if this was the right thing to do, or if there is a fix
>> for it.
>> 
>> --shak
>> 
>> -- Shakeel Sorathia Systems Administrator (626) 660-3502
>> 

Sinisa> #undef _FORTREC_ in config files and it should work.

Sinisa got accidently this wrong.

The fix is to add -D_FORTREC_ to your CFLAGS when compiling MySQL.

If this doesn't work, please email me and I will try to help you fix
this.

Regards,
Monty

---------------------------------------------------------------------
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

Reply via email to