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.
> 
> /opt/SUNWspro/bin/cc "-DDEFAULT_CHARSET_HOME=\"/opt/mysql/3.23.44\"" 
> "-DDATADIR=\"/opt/mysql/3.23.44/var\"" 
> "-DSHAREDIR=\"/opt/mysql/3.23.44/share/mysql\"" -DUNDEF_THREADS_HACK 
> -DDONT_USE_RAID -I./../include -I../include -I./.. -I.. -I.. -O 
> -DDBUG_OFF -Xa -dalign -fns -fsimple=2 -fsingle -ftrap=%none -nofstore 
> -xbuiltin=%all -xlibmil -xO5 -xO4 -xtarget=ultra2 -xstrconst -mt 
> -DHAVE_CURSES_H -I/opt/tmp/mysql-3.23.47/include -DHAVE_RWLOCK_T -c 
> hash.c  -KPIC -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
> 


#undef _FORTREC_ in config files and it should work. 

-- 
Regards,
   __  ___     ___ ____  __
  /  |/  /_ __/ __/ __ \/ /    Mr. Sinisa Milivojevic <[EMAIL PROTECTED]>
 / /|_/ / // /\ \/ /_/ / /__   MySQL AB, Fulltime Developer
/_/  /_/\_, /___/\___\_\___/   Larnaca, Cyprus
       <___/   www.mysql.com


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