Re: Re: 3.23.47 compile problems with sun's forte compiler
mysql == mysql [EMAIL PROTECTED] writes: mysql Your message cannot be posted because it appears to be either spam or mysql simply off topic to our filter. To bypass the filter you must include mysql one of the following words in your message: mysql sql,query mysql If you just reply to this message, and include the entire text of it in the mysql reply, your reply will go through. However, you should mysql first review the text of the message to make sure it has something to do mysql with MySQL. Just typing the word MySQL once will be sufficient, for example. mysql You have written the following: mysql Hi! Shakeel == Shakeel Sorathia [EMAIL PROTECTED] writes: Shakeel Thanks for the help on this, it seems to be working now. One question Shakeel though, wouldn't configure be able to take of this? mysql Not easily; It's quite hard to add new stuff and at the same time keep mysql old things up to date in configure when it comes to detect bugs in different mysql compilers :( mysql In this case it's easier to just add a compile specific define in one file... mysql Regards, mysql 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
RE: 3.23.47 compile problems with sun's forte compiler
Hi! Quentin == Quentin Bennett [EMAIL PROTECTED] writes: Quentin Hi, From the cc(1) man page for Forte Developer 6.2 Quentin These predefinitions are valid in all modes: Quentin __sun Quentin __unix Quentin __SUNPRO_C=0x530 Quentin __`uname -s`_`uname -r` Quentin __sparc (SPARC) Quentin __sparcv9 (SPARC with -xarch=v9|v9a) Quentin __i386 (x86) Quentin __BUILTIN_VA_ARG_INCR Quentin __SVR4 Quentin __SUNPRO_C looks like it might be a good one to try for. Version 5.2 had Quentin __SUNPRO_C=0x500 ok, We will use this one. Thanks! Regards, Monty -- For technical support contracts, goto https://order.mysql.com/ __ ___ ___ __ / |/ /_ __/ __/ __ \/ /Mr. Michael Widenius [EMAIL PROTECTED] / /|_/ / // /\ \/ /_/ / /__ MySQL AB, CTO /_/ /_/\_, /___/\___\_\___/ Helsinki, Finland ___/ 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
RE: 3.23.47 compile problems with sun's forte compiler
Quentin Bennett writes: Hi, From the cc(1) man page for Forte Developer 6.2 These predefinitions are valid in all modes: __sun __unix __SUNPRO_C=0x530 __`uname -s`_`uname -r` __sparc (SPARC) __sparcv9 (SPARC with -xarch=v9|v9a) __i386 (x86) __BUILTIN_VA_ARG_INCR __SVR4 __SUNPRO_C looks like it might be a good one to try for. Version 5.2 had __SUNPRO_C=0x500 HTH Quentin Yes, __SUNPRO_C looks fine to me too ... -- 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
Re: 3.23.47 compile problems with sun's forte compiler
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
Re: 3.23.47 compile problems with sun's forte compiler
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
Re: 3.23.47 compile problems with sun's forte compiler
Thanks for the help on this, it seems to be working now. One question though, wouldn't configure be able to take of this? --shak Michael Widenius wrote: 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 -- Shakeel Sorathia Systems Administrator (626) 660-3502 - 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
Re: 3.23.47 compile problems with sun's forte compiler
Hi! Shakeel == Shakeel Sorathia [EMAIL PROTECTED] writes: Shakeel Thanks for the help on this, it seems to be working now. One question Shakeel though, wouldn't configure be able to take of this? The problem is that as I don't have access to a Forte compiler, so I haven't been able patch configure to detect this case.. Do you know if Forte defines some unique define we can trigger on ? Regards, Monty -- For technical support contracts, goto https://order.mysql.com/ __ ___ ___ __ / |/ /_ __/ __/ __ \/ /Mr. Michael Widenius [EMAIL PROTECTED] / /|_/ / // /\ \/ /_/ / /__ MySQL AB, CTO /_/ /_/\_, /___/\___\_\___/ Helsinki, Finland ___/ 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
RE: 3.23.47 compile problems with sun's forte compiler
Hi, From the cc(1) man page for Forte Developer 6.2 These predefinitions are valid in all modes: __sun __unix __SUNPRO_C=0x530 __`uname -s`_`uname -r` __sparc (SPARC) __sparcv9 (SPARC with -xarch=v9|v9a) __i386 (x86) __BUILTIN_VA_ARG_INCR __SVR4 __SUNPRO_C looks like it might be a good one to try for. Version 5.2 had __SUNPRO_C=0x500 HTH Quentin -Original Message- From: Michael Widenius [mailto:[EMAIL PROTECTED]] Sent: Friday, 4 January 2002 3:31 p.m. To: Shakeel Sorathia Cc: [EMAIL PROTECTED]; [EMAIL PROTECTED] Subject: Re: 3.23.47 compile problems with sun's forte compiler Hi! Shakeel == Shakeel Sorathia [EMAIL PROTECTED] writes: Shakeel Thanks for the help on this, it seems to be working now. One question Shakeel though, wouldn't configure be able to take of this? The problem is that as I don't have access to a Forte compiler, so I haven't been able patch configure to detect this case.. Do you know if Forte defines some unique define we can trigger on ? Regards, Monty -- For technical support contracts, goto https://order.mysql.com/ __ ___ ___ __ / |/ /_ __/ __/ __ \/ /Mr. Michael Widenius [EMAIL PROTECTED] / /|_/ / // /\ \/ /_/ / /__ MySQL AB, CTO /_/ /_/\_, /___/\___\_\___/ Helsinki, Finland ___/ 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 The information contained in this email is privileged and confidential and intended for the addressee only. If you are not the intended recipient, you are asked to respect that confidentiality and not disclose, copy or make use of its contents. If received in error you are asked to destroy this email and contact the sender immediately. Your assistance is appreciated. - 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
Re: 3.23.47 compile problems with sun's forte compiler
Hi guys, You can also pick up an evaluation version (I think its good for 30 days) of the forte suite from sun's site. Quentin Bennett wrote: From the cc(1) man page for Forte Developer 6.2 These predefinitions are valid in all modes: __sun __unix __SUNPRO_C=0x530 __`uname -s`_`uname -r` __sparc (SPARC) __sparcv9 (SPARC with -xarch=v9|v9a) __i386 (x86) __BUILTIN_VA_ARG_INCR __SVR4 __SUNPRO_C looks like it might be a good one to try for. Version 5.2 had __SUNPRO_C=0x500 HTH Quentin -Original Message- From: Michael Widenius [mailto:[EMAIL PROTECTED]] Sent: Friday, 4 January 2002 3:31 p.m. To: Shakeel Sorathia Cc: [EMAIL PROTECTED]; [EMAIL PROTECTED] Subject: Re: 3.23.47 compile problems with sun's forte compiler Hi! Shakeel == Shakeel Sorathia [EMAIL PROTECTED] writes: Shakeel Thanks for the help on this, it seems to be working now. One question Shakeel though, wouldn't configure be able to take of this? The problem is that as I don't have access to a Forte compiler, so I haven't been able patch configure to detect this case.. Do you know if Forte defines some unique define we can trigger on ? Regards, Monty -- For technical support contracts, goto https://order.mysql.com/ __ ___ ___ __ / |/ /_ __/ __/ __ \/ /Mr. Michael Widenius [EMAIL PROTECTED] / /|_/ / // /\ \/ /_/ / /__ MySQL AB, CTO /_/ /_/\_, /___/\___\_\___/ Helsinki, Finland ___/ 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 The information contained in this email is privileged and confidential and intended for the addressee only. If you are not the intended recipient, you are asked to respect that confidentiality and not disclose, copy or make use of its contents. If received in error you are asked to destroy this email and contact the sender immediately. Your assistance is appreciated. - 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 -- Colin Faber (303) 859-1491 fpsn.net, Inc. - 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
3.23.47 compile problems with sun's forte compiler
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 - 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