Re: mysql 5.0.10 compilation error
Hi, I imagine there should be an option to disable yaSSL. if you use ./configure you have to explicitely add --with-yassl to enable it (which is not what you want I presume). HIMH Karam Chand wrote: I plan to modify mysqldump and mysql import utility to support SP, Triggers etc and plan to send a patch to the MySQL development tree. Thus downloading the binary does not seem to be option :) --- Martijn Tonies [EMAIL PROTECTED] wrote: I am trying to compile 5.0.10. While compiling i am getting the following error: e:\mysql5010abetasrc\extra\yassl\src\yassl_imp.cpp(393) : fatal error C1001: INTERNAL COMPILER ERROR (compiler file 'msc1.cpp', line 2701) Please choose the Technical Support command on the Visual C++ Help menu, or open the Technical Support help file for more information and 5-6 more similar to this. I am also getting this one: LINK : fatal error LNK1181: cannot open input file '..\extra\yassl\Debug\yassl.lib' What should I do? Download the binaries? With regards, Martijn Tonies Database Workbench - tool for InterBase, Firebird, MySQL, Oracle MS SQL Server Upscene Productions http://www.upscene.com Database development questions? Check the forum! http://www.databasedevelopmentforum.com -- MySQL General Mailing List For list archives: http://lists.mysql.com/mysql To unsubscribe: http://lists.mysql.com/[EMAIL PROTECTED] Start your day with Yahoo! - make it your home page http://www.yahoo.com/r/hs -- Philippe Poelvoorde COS Trading Ltd. -- MySQL General Mailing List For list archives: http://lists.mysql.com/mysql To unsubscribe:http://lists.mysql.com/[EMAIL PROTECTED]
Re: mysql 5.0.10 compilation error
Hello. Comments to this bug might be interesting for you: http://bugs.mysql.com/bug.php?id=9056 Karam Chand [EMAIL PROTECTED] wrote: I plan to modify mysqldump and mysql import utility to support SP, Triggers etc and plan to send a patch to the MySQL development tree. Thus downloading the binary does not seem to be option :) -- For technical support contracts, goto https://order.mysql.com/?ref=ensita This email is sponsored by Ensita.NET http://www.ensita.net/ __ ___ ___ __ / |/ /_ __/ __/ __ \/ /Gleb Paharenko / /|_/ / // /\ \/ /_/ / /__ [EMAIL PROTECTED] /_/ /_/\_, /___/\___\_\___/ MySQL AB / Ensita.NET ___/ www.mysql.com -- MySQL General Mailing List For list archives: http://lists.mysql.com/mysql To unsubscribe:http://lists.mysql.com/[EMAIL PROTECTED]
mysql 5.0.10 compilation error
Hello, I am trying to compile 5.0.10. While compiling i am getting the following error: e:\mysql5010abetasrc\extra\yassl\src\yassl_imp.cpp(393) : fatal error C1001: INTERNAL COMPILER ERROR (compiler file 'msc1.cpp', line 2701) Please choose the Technical Support command on the Visual C++ Help menu, or open the Technical Support help file for more information and 5-6 more similar to this. I am also getting this one: LINK : fatal error LNK1181: cannot open input file '..\extra\yassl\Debug\yassl.lib' What should I do? Previously, it used to compile without any problem! Karam __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com -- MySQL General Mailing List For list archives: http://lists.mysql.com/mysql To unsubscribe:http://lists.mysql.com/[EMAIL PROTECTED]
Re: mysql 5.0.10 compilation error
I am trying to compile 5.0.10. While compiling i am getting the following error: e:\mysql5010abetasrc\extra\yassl\src\yassl_imp.cpp(393) : fatal error C1001: INTERNAL COMPILER ERROR (compiler file 'msc1.cpp', line 2701) Please choose the Technical Support command on the Visual C++ Help menu, or open the Technical Support help file for more information and 5-6 more similar to this. I am also getting this one: LINK : fatal error LNK1181: cannot open input file '..\extra\yassl\Debug\yassl.lib' What should I do? Download the binaries? With regards, Martijn Tonies Database Workbench - tool for InterBase, Firebird, MySQL, Oracle MS SQL Server Upscene Productions http://www.upscene.com Database development questions? Check the forum! http://www.databasedevelopmentforum.com -- MySQL General Mailing List For list archives: http://lists.mysql.com/mysql To unsubscribe:http://lists.mysql.com/[EMAIL PROTECTED]
Re: mysql 5.0.10 compilation error
I plan to modify mysqldump and mysql import utility to support SP, Triggers etc and plan to send a patch to the MySQL development tree. Thus downloading the binary does not seem to be option :) --- Martijn Tonies [EMAIL PROTECTED] wrote: I am trying to compile 5.0.10. While compiling i am getting the following error: e:\mysql5010abetasrc\extra\yassl\src\yassl_imp.cpp(393) : fatal error C1001: INTERNAL COMPILER ERROR (compiler file 'msc1.cpp', line 2701) Please choose the Technical Support command on the Visual C++ Help menu, or open the Technical Support help file for more information and 5-6 more similar to this. I am also getting this one: LINK : fatal error LNK1181: cannot open input file '..\extra\yassl\Debug\yassl.lib' What should I do? Download the binaries? With regards, Martijn Tonies Database Workbench - tool for InterBase, Firebird, MySQL, Oracle MS SQL Server Upscene Productions http://www.upscene.com Database development questions? Check the forum! http://www.databasedevelopmentforum.com -- MySQL General Mailing List For list archives: http://lists.mysql.com/mysql To unsubscribe: http://lists.mysql.com/[EMAIL PROTECTED] Start your day with Yahoo! - make it your home page http://www.yahoo.com/r/hs -- MySQL General Mailing List For list archives: http://lists.mysql.com/mysql To unsubscribe:http://lists.mysql.com/[EMAIL PROTECTED]
Re: Compilation Error
--- Jim Grill [EMAIL PROTECTED] wrote: Hi, I am trying to compile MySQL. I know that it is possible to install this as a binary, that is not my goal. My environment consists of the following: If there are other tools that I need to specify please let me know. gcc-3.2-7 libgcc-3.2-7 gcc-c++-3.2-7 I run configure as specified at the MySQL site: From config.log: ./configure --prefix=/usr/local/mysql --with-extra-charset=complex --enable-thread-safe-client --enable-local-infile --enable-assembler --disable-shared --with-client-ldflags=-all-static --with-mysqld-ldflags=-all-static When I run make I receive the following output: libmysql.c:1850: warning: passing arg 5 of `gethostbyname_r' from incompatibleointer type libmysql.c:1850: too few arguments to function `gethostbyname_r' libmysql.c:1850: warning: assignment makes pointer from integer without a castmake[2]: *** [libmysql.lo] Error 1 I have googled this error message and the result include the following recommendation from MySQL: This is known problem with RedHat. In order to build MySQL you need to have g++ installed from separate RPM In RedHat 8.0 RPM in quesiton is gcc-c++-3.2-7.i386.rpm It appears that I have installed gcc-c++-3.2-7.i386.rpm as you can see above from my build environment obtained by: rpm -qa | grep gcc Any help or pointers would be greatly appreciated. Andrew Looks like you have the right stuff. Have you tried the following: (run make distclean before configuring again to be sure you get a clean start.) CFLAGS=-O3 -mcpu=pentiumpro CXX=gcc CXXFLAGS=-O3 -mcpu=pentiumpro \ -felide-constructors -fno-exceptions -fno-rtti \ ./configure --your options here change -mcpu=pentiumpro to suite your system (i386, i486, i586, i686, pentium, pentiumpro, k6, or athlon). Jim Grill -- MySQL General Mailing List For list archives: http://lists.mysql.com/mysql To unsubscribe: http://lists.mysql.com/[EMAIL PROTECTED] OK: I ran make distclean I then ran CFLAGS=-O3 -mcpu=pentiumpro CXX=gcc CXXFLAGS=-O3 -mcpu=pentiumpro \ -felide-constructors -fno-exceptions -fno-rtti ./configure --prefix=/usr/local/mysql --with-extra-charset=complex --enable-thread-safe-client --enable-local-infile --enable-assembler --disable-shared --with-client-ldflags=-all-static --with-mysqld-ldflags=-all-static and got the following error: checking whether to enable maintainer-specific portions of Makefiles... no checking whether build environment is sane... yes checking whether make sets $(MAKE)... (cached) yes checking for gawk... (cached) gawk checking for gcc... gcc checking for C compiler default output... configure: error: C compiler cannot create executables See `config.log' for more details. When I look at config.log I don't see any hints that I understand. Here is the part of the file that seems to offer clues to the initiated. gcc version 3.2 20020903 (Red Hat Linux 8.0 3.2-7) configure:2590: $? = 0 configure:2592: gcc -V /dev/null 5 gcc: argument to `-V' is missing configure:2595: $? = 1 configure:2619: checking for C compiler default output configure:2622: gcc O3 -mcpu=i686conftest.c 5 gcc: O3: No such file or directory configure:2625: $? = 1 configure: failed program was: | #line 2598 configure Again any help or hints would be greatly appreciated. Andrew __ Do you Yahoo!? New and Improved Yahoo! Mail - 100MB free storage! http://promotions.yahoo.com/new_mail -- MySQL General Mailing List For list archives: http://lists.mysql.com/mysql To unsubscribe:http://lists.mysql.com/[EMAIL PROTECTED]
Re: Compilation Error
Hi, I am trying to compile MySQL. I know that it is possible to install this as a binary, that is not my goal. My environment consists of the following: If there are other tools that I need to specify please let me know. gcc-3.2-7 libgcc-3.2-7 gcc-c++-3.2-7 I run configure as specified at the MySQL site: From config.log: ./configure --prefix=/usr/local/mysql --with-extra-charset=complex --enable-thread-safe-client --enable-local-infile --enable-assembler --disable-shared --with-client-ldflags=-all-static --with-mysqld-ldflags=-all-static When I run make I receive the following output: libmysql.c:1850: warning: passing arg 5 of `gethostbyname_r' from incompatibleointer type libmysql.c:1850: too few arguments to function `gethostbyname_r' libmysql.c:1850: warning: assignment makes pointer from integer without a castmake[2]: *** [libmysql.lo] Error 1 I have googled this error message and the result include the following recommendation from MySQL: This is known problem with RedHat. In order to build MySQL you need to have g++ installed from separate RPM In RedHat 8.0 RPM in quesiton is gcc-c++-3.2-7.i386.rpm It appears that I have installed gcc-c++-3.2-7.i386.rpm as you can see above from my build environment obtained by: rpm -qa | grep gcc Any help or pointers would be greatly appreciated. Andrew Looks like you have the right stuff. Have you tried the following: (run make distclean before configuring again to be sure you get a clean start.) CFLAGS=-O3 -mcpu=pentiumpro CXX=gcc CXXFLAGS=-O3 -mcpu=pentiumpro \ -felide-constructors -fno-exceptions -fno-rtti \ ./configure --your options here change -mcpu=pentiumpro to suite your system (i386, i486, i586, i686, pentium, pentiumpro, k6, or athlon). Jim Grill -- MySQL General Mailing List For list archives: http://lists.mysql.com/mysql To unsubscribe:http://lists.mysql.com/[EMAIL PROTECTED]
Compilation Error
Hi, I am trying to compile MySQL. I know that it is possible to install this as a binary, that is not my goal. My environment consists of the following: If there are other tools that I need to specify please let me know. gcc-3.2-7 libgcc-3.2-7 gcc-c++-3.2-7 I run configure as specified at the MySQL site: From config.log: ./configure --prefix=/usr/local/mysql --with-extra-charset=complex --enable-thread-safe-client --enable-local-infile --enable-assembler --disable-shared --with-client-ldflags=-all-static --with-mysqld-ldflags=-all-static When I run make I receive the following output: libmysql.c:1850: warning: passing arg 5 of `gethostbyname_r' from incompatibleointer type libmysql.c:1850: too few arguments to function `gethostbyname_r' libmysql.c:1850: warning: assignment makes pointer from integer without a castmake[2]: *** [libmysql.lo] Error 1 I have googled this error message and the result include the following recommendation from MySQL: This is known problem with RedHat. In order to build MySQL you need to have g++ installed from separate RPM In RedHat 8.0 RPM in quesiton is gcc-c++-3.2-7.i386.rpm It appears that I have installed gcc-c++-3.2-7.i386.rpm as you can see above from my build environment obtained by: rpm -qa | grep gcc Any help or pointers would be greatly appreciated. Andrew -- MySQL General Mailing List For list archives: http://lists.mysql.com/mysql To unsubscribe:http://lists.mysql.com/[EMAIL PROTECTED]
Re: Compilation error
Michael Stassen said: -lz means to link with libz (the zlib library http://www.gzip.org/zlib/), but the error is that it couldn't be found. Do you have zlib? I'd expect yes, or configure should have complained. Yes, I have zlib. $ find /lib -user zlib | xargs ls -l lrwxrwxrwx1 zlib zlib 13 Mar 29 2003 /lib/libz.so - libz.so.1.1.4 lrwxrwxrwx1 zlib zlib 13 Mar 29 2003 /lib/libz.so.1 - libz.so.1.1.4 -rwxr-xr-x1 zlib zlib63020 Mar 23 2003 /lib/libz.so.1.1.4 -- Casey Allen Shobe | http://casey.allen.shobe.info [EMAIL PROTECTED] | ICQ: 1494523 | AIM: SomeLinuxGuy -- MySQL General Mailing List For list archives: http://lists.mysql.com/mysql To unsubscribe:http://lists.mysql.com/[EMAIL PROTECTED]
Re: Compilation error
Same problem when trying to compile 4.0 instead of 4.1: gcc -O3 -DDBUG_OFF -O3 -mcpu=i686 -felide-constructors -fno-rtti -fno-exceptions -fno-implicit-templates -fno-exceptions -fno-rtti -DUSE_MYSYS_NEW -DDEFINE_CXA_PURE_VIRTUAL -rdynamic -o mysqld sql_lex.o sql_handler.o item.o item_sum.o item_buff.o item_func.o item_cmpfunc.o item_strfunc.o item_timefunc.o thr_malloc.o item_create.o field.o key.o sql_class.o sql_list.o net_serv.o net_pkg.o lock.o my_lock.o sql_string.o sql_manager.o sql_map.o mysqld.o password.o hash_filo.o hostname.o convert.o set_var.o sql_parse.o sql_yacc.o sql_base.o table.o sql_select.o sql_insert.o sql_update.o sql_delete.o uniques.o sql_do.o procedure.o item_uniq.o sql_test.o log.o log_event.o init.o derror.o sql_acl.o unireg.o des_key_file.o time.o opt_range.o opt_sum.o opt_ft.o records.o filesort.o handler.o ha_heap.o ha_myisam.o ha_myisammrg.o ha_berkeley.o ha_innodb.o ha_isam.o ha_isammrg.o sql_db.o sql_table.o sql_rename.o sql_crypt.o sql_load.o mf_iocache.o field_conv.o sql_show.o sql_udf.o sql_analyse.o sql_cache.o slave.o sql_repl.o sql_union.o mini_client.o mini_client_errors.o stacktrace.o repl_failsafe.o sql_olap.o -static ../innobase/usr/libusr.a ../innobase/srv/libsrv.a ../innobase/dict/libdict.a ../innobase/que/libque.a ../innobase/srv/libsrv.a ../innobase/ibuf/libibuf.a ../innobase/row/librow.a ../innobase/pars/libpars.a ../innobase/btr/libbtr.a ../innobase/trx/libtrx.a ../innobase/read/libread.a ../innobase/usr/libusr.a ../innobase/buf/libbuf.a ../innobase/ibuf/libibuf.a ../innobase/eval/libeval.a ../innobase/log/liblog.a ../innobase/fsp/libfsp.a ../innobase/fut/libfut.a ../innobase/fil/libfil.a ../innobase/lock/liblock.a ../innobase/mtr/libmtr.a ../innobase/page/libpage.a ../innobase/rem/librem.a ../innobase/thr/libthr.a ../innobase/sync/libsync.a ../innobase/data/libdata.a ../innobase/mach/libmach.a ../innobase/ha/libha.a ../innobase/dyn/libdyn.a ../innobase/mem/libmem.a ../innobase/sync/libsync.a ../innobase/ut/libut.a ../innobase/os/libos.a ../innobase/ut/libut.a -lrt ../isam/libnisam.a ../merge/libmerge.a ../myisam/libmyisam.a ../myisammrg/libmyisammrg.a ../heap/libheap.a ../vio/libvio.a ../mysys/libmysys.a ../dbug/libdbug.a ../regex/libregex.a ../strings/libmystrings.a -ldl -lpthread -lz -lcrypt -lnsl -lm -lpthread /bin/ld: cannot find -lz collect2: ld returned 1 exit status make[2]: *** [mysqld] Error 1 make[2]: Leaving directory `/share/src/mysql/mysql-4.0.20/sql' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/share/src/mysql/mysql-4.0.20/sql' make: *** [all] Error 2 Casey Allen Shobe said: Michael Stassen said: -lz means to link with libz (the zlib library http://www.gzip.org/zlib/), but the error is that it couldn't be found. Do you have zlib? I'd expect yes, or configure should have complained. Yes, I have zlib. $ find /lib -user zlib | xargs ls -l lrwxrwxrwx1 zlib zlib 13 Mar 29 2003 /lib/libz.so - libz.so.1.1.4 lrwxrwxrwx1 zlib zlib 13 Mar 29 2003 /lib/libz.so.1 - libz.so.1.1.4 -rwxr-xr-x1 zlib zlib63020 Mar 23 2003 /lib/libz.so.1.1.4 -- Casey Allen Shobe | http://casey.allen.shobe.info [EMAIL PROTECTED] | ICQ: 1494523 | AIM: SomeLinuxGuy -- MySQL General Mailing List For list archives: http://lists.mysql.com/mysql To unsubscribe:http://lists.mysql.com/[EMAIL PROTECTED] -- Casey Allen Shobe | http://casey.allen.shobe.info [EMAIL PROTECTED] | ICQ: 1494523 | AIM: SomeLinuxGuy -- MySQL General Mailing List For list archives: http://lists.mysql.com/mysql To unsubscribe:http://lists.mysql.com/[EMAIL PROTECTED]
Re: Compilation error
In the last episode (Aug 19), Casey Allen Shobe said: Same problem when trying to compile 4.0 instead of 4.1: gcc -O3 -DDBUG_OFF -O3 -mcpu=i686 -felide-constructors -fno-rtti mini_client_errors.o stacktrace.o repl_failsafe.o sql_olap.o -static ^^^ Note the -static flag here ../vio/libvio.a ../mysys/libmysys.a ../dbug/libdbug.a ../regex/libregex.a ../strings/libmystrings.a -ldl -lpthread -lz -lcrypt -lnsl -lm -lpthread /bin/ld: cannot find -lz collect2: ld returned 1 exit status Yes, I have zlib. $ find /lib -user zlib | xargs ls -l lrwxrwxrwx1 zlib zlib 13 Mar 29 2003 /lib/libz.so - libz.so.1.1.4 lrwxrwxrwx1 zlib zlib 13 Mar 29 2003 /lib/libz.so.1 - libz.so.1.1.4 -rwxr-xr-x1 zlib zlib63020 Mar 23 2003 /lib/libz.so.1.1.4 But you don't have a static libz (libz.a). You've only got a dynamic one. Redhat usually puts the static libraries in a separate -dev rpm. -- Dan Nelson [EMAIL PROTECTED] -- MySQL General Mailing List For list archives: http://lists.mysql.com/mysql To unsubscribe:http://lists.mysql.com/[EMAIL PROTECTED]
Re: Compilation error
Dan Nelson said: ^^^ Note the -static flag here But you don't have a static libz (libz.a). You've only got a dynamic one. Redhat usually puts the static libraries in a separate -dev rpm. Aha, yes. This is a custom-built linux installation where I have built zlib dynamically-only, intentionally. How can I make MySQL build against the dynamic library instead of the static? -- Casey Allen Shobe | http://casey.allen.shobe.info [EMAIL PROTECTED] | ICQ: 1494523 | AIM: SomeLinuxGuy -- MySQL General Mailing List For list archives: http://lists.mysql.com/mysql To unsubscribe:http://lists.mysql.com/[EMAIL PROTECTED]
Re: Compilation error
In the last episode (Aug 19), Casey Allen Shobe said: Dan Nelson said: ^^^ Note the -static flag here But you don't have a static libz (libz.a). You've only got a dynamic one. Redhat usually puts the static libraries in a separate -dev rpm. Aha, yes. This is a custom-built linux installation where I have built zlib dynamically-only, intentionally. How can I make MySQL build against the dynamic library instead of the static? Take -static out of the link line, of course :) That's not the default for a mysql source build, so you must have a LDFLAGS=-static env variable or --with-mysqld-ldflags=-all-static configure flag somewhere. -- Dan Nelson [EMAIL PROTECTED] -- MySQL General Mailing List For list archives: http://lists.mysql.com/mysql To unsubscribe:http://lists.mysql.com/[EMAIL PROTECTED]
Compilation error
I'm running into the following error when I try to compile MySQL 4.1 on my server. Any advice? I'm not sure what -lz is... g++ -O3 -DDBUG_OFF -O3 -mcpu=i686 -felide-constructors -fno-rtti -fno-exceptions -fno-implicit-templates -fno-exceptions -fno-rtti -rdynamic -o mysqld sql_lex.o sql_handler.o item.o item_sum.o item_buff.o item_func.o item_cmpfunc.o item_strfunc.o item_timefunc.o thr_malloc.o item_create.o item_subselect.o item_row.o item_geofunc.o field.o strfunc.o key.o sql_class.o sql_list.o net_serv.o protocol.o sql_state.o lock.o my_lock.o sql_string.o sql_manager.o sql_map.o mysqld.o password.o hash_filo.o hostname.o set_var.o sql_parse.o sql_yacc.o sql_base.o table.o sql_select.o sql_insert.o sql_prepare.o sql_error.o sql_update.o sql_delete.o uniques.o sql_do.o procedure.o item_uniq.o sql_test.o log.o log_event.o init.o derror.o sql_acl.o unireg.o des_key_file.o discover.o time.o opt_range.o opt_sum.o records.o filesort.o handler.o ha_heap.o ha_myisam.o ha_myisammrg.o ha_berkeley.o ha_innodb.o ha_isam.o ha_isammrg.o ha_ndbcluster.o sql_db.o sql_table.o sql_rename.o sql_crypt.o sql_load.o mf_iocache.o field_conv.o sql_show.o sql_udf.o sql_analyse.o sql_cache.o slave.o sql_repl.o sql_union.o sql_derived.o client.o sql_client.o mini_client_errors.o pack.o stacktrace.o repl_failsafe.o gstream.o spatial.o sql_help.o protocol_cursor.o tztime.o my_time.o ha_example.o ha_archive.o -static ../innobase/usr/libusr.a ../innobase/srv/libsrv.a ../innobase/dict/libdict.a ../innobase/que/libque.a ../innobase/srv/libsrv.a ../innobase/ibuf/libibuf.a ../innobase/row/librow.a ../innobase/pars/libpars.a ../innobase/btr/libbtr.a ../innobase/trx/libtrx.a ../innobase/read/libread.a ../innobase/usr/libusr.a ../innobase/buf/libbuf.a ../innobase/ibuf/libibuf.a ../innobase/eval/libeval.a ../innobase/log/liblog.a ../innobase/fsp/libfsp.a ../innobase/fut/libfut.a ../innobase/fil/libfil.a ../innobase/lock/liblock.a ../innobase/mtr/libmtr.a ../innobase/page/libpage.a ../innobase/rem/librem.a ../innobase/thr/libthr.a ../innobase/sync/libsync.a ../innobase/data/libdata.a ../innobase/mach/libmach.a ../innobase/ha/libha.a ../innobase/dyn/libdyn.a ../innobase/mem/libmem.a ../innobase/sync/libsync.a ../innobase/ut/libut.a ../innobase/os/libos.a ../innobase/ut/libut.a -lrt ../myisam/libmyisam.a ../myisammrg/libmyisammrg.a ../heap/libheap.a ../vio/libvio.a ../mysys/libmysys.a ../dbug/libdbug.a ../regex/libregex.a ../strings/libmystrings.a -ldl -lpthread -lz -lcrypt -lnsl -lm -lpthread /bin/ld: cannot find -lz collect2: ld returned 1 exit status make[4]: *** [mysqld] Error 1 make[4]: Leaving directory `/share/src/mysql/mysql-4.1.3-beta/sql' make[3]: *** [all-recursive] Error 1 make[3]: Leaving directory `/share/src/mysql/mysql-4.1.3-beta/sql' make[2]: *** [all] Error 2 make[2]: Leaving directory `/share/src/mysql/mysql-4.1.3-beta/sql' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/share/src/mysql/mysql-4.1.3-beta' make: *** [all] Error 2 -- Casey Allen Shobe | http://casey.allen.shobe.info [EMAIL PROTECTED] | ICQ: 1494523 | AIM: SomeLinuxGuy -- MySQL General Mailing List For list archives: http://lists.mysql.com/mysql To unsubscribe:http://lists.mysql.com/[EMAIL PROTECTED]
Re: Compilation error
-lz means to link with libz (the zlib library http://www.gzip.org/zlib/), but the error is that it couldn't be found. Do you have zlib? I'd expect yes, or configure should have complained. Michael Casey Allen Shobe wrote: I'm running into the following error when I try to compile MySQL 4.1 on my server. Any advice? I'm not sure what -lz is... g++ -O3 -DDBUG_OFF -O3 -mcpu=i686 -felide-constructors -fno-rtti -fno-exceptions -fno-implicit-templates -fno-exceptions -fno-rtti -rdynamic -o mysqld sql_lex.o sql_handler.o item.o item_sum.o item_buff.o item_func.o item_cmpfunc.o item_strfunc.o item_timefunc.o thr_malloc.o item_create.o item_subselect.o item_row.o item_geofunc.o field.o strfunc.o key.o sql_class.o sql_list.o net_serv.o protocol.o sql_state.o lock.o my_lock.o sql_string.o sql_manager.o sql_map.o mysqld.o password.o hash_filo.o hostname.o set_var.o sql_parse.o sql_yacc.o sql_base.o table.o sql_select.o sql_insert.o sql_prepare.o sql_error.o sql_update.o sql_delete.o uniques.o sql_do.o procedure.o item_uniq.o sql_test.o log.o log_event.o init.o derror.o sql_acl.o unireg.o des_key_file.o discover.o time.o opt_range.o opt_sum.o records.o filesort.o handler.o ha_heap.o ha_myisam.o ha_myisammrg.o ha_berkeley.o ha_innodb.o ha_isam.o ha_isammrg.o ha_ndbcluster.o sql_db.o sql_table.o sql_rename.o sql_crypt.o sql_load.o mf_iocache.o field_conv.o sql_show.o sql_udf.o sql_analyse.o sql_cache.o slave.o sql_repl.o sql_union.o sql_derived.o client.o sql_client.o mini_client_errors.o pack.o stacktrace.o repl_failsafe.o gstream.o spatial.o sql_help.o protocol_cursor.o tztime.o my_time.o ha_example.o ha_archive.o -static ../innobase/usr/libusr.a ../innobase/srv/libsrv.a ../innobase/dict/libdict.a ../innobase/que/libque.a ../innobase/srv/libsrv.a ../innobase/ibuf/libibuf.a ../innobase/row/librow.a ../innobase/pars/libpars.a ../innobase/btr/libbtr.a ../innobase/trx/libtrx.a ../innobase/read/libread.a ../innobase/usr/libusr.a ../innobase/buf/libbuf.a ../innobase/ibuf/libibuf.a ../innobase/eval/libeval.a ../innobase/log/liblog.a ../innobase/fsp/libfsp.a ../innobase/fut/libfut.a ../innobase/fil/libfil.a ../innobase/lock/liblock.a ../innobase/mtr/libmtr.a ../innobase/page/libpage.a ../innobase/rem/librem.a ../innobase/thr/libthr.a ../innobase/sync/libsync.a ../innobase/data/libdata.a ../innobase/mach/libmach.a ../innobase/ha/libha.a ../innobase/dyn/libdyn.a ../innobase/mem/libmem.a ../innobase/sync/libsync.a ../innobase/ut/libut.a ../innobase/os/libos.a ../innobase/ut/libut.a -lrt ../myisam/libmyisam.a ../myisammrg/libmyisammrg.a ../heap/libheap.a ../vio/libvio.a ../mysys/libmysys.a ../dbug/libdbug.a ../regex/libregex.a ../strings/libmystrings.a -ldl -lpthread -lz -lcrypt -lnsl -lm -lpthread /bin/ld: cannot find -lz collect2: ld returned 1 exit status make[4]: *** [mysqld] Error 1 make[4]: Leaving directory `/share/src/mysql/mysql-4.1.3-beta/sql' make[3]: *** [all-recursive] Error 1 make[3]: Leaving directory `/share/src/mysql/mysql-4.1.3-beta/sql' make[2]: *** [all] Error 2 make[2]: Leaving directory `/share/src/mysql/mysql-4.1.3-beta/sql' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/share/src/mysql/mysql-4.1.3-beta' make: *** [all] Error 2 -- MySQL General Mailing List For list archives: http://lists.mysql.com/mysql To unsubscribe:http://lists.mysql.com/[EMAIL PROTECTED]
Udf_Example.so compilation error with gcc
Hello All, I am trying to compile udf_example.cc or myfunc.cc (copy of udf_example) with gcc on Solaris 2.8 but facing following errors [EMAIL PROTECTED]:/usr/local/mysql-4.0.14/sqlgcc -shared -I/usr/local/mysql-4.0.14/include -o myfunc.so myfunc.cc In file included from myfunc.cc:122: /usr/local/mysql-4.0.14/include/my_global.h:70:23: my_config.h: No such file or directory In file included from myfunc.cc:122: /usr/local/mysql-4.0.14/include/my_global.h:456: syntax error before `;' token /usr/local/mysql-4.0.14/include/my_global.h:701: syntax error before string constant /usr/local/mysql-4.0.14/include/my_global.h:781: redeclaration of C++ built-in type `bool' In file included from myfunc.cc:123: /usr/local/mysql-4.0.14/include/my_sys.h:593: `func' was not declared in this scope /usr/local/mysql-4.0.14/include/my_sys.h:593: type specifier omitted for parameter `RETSIGTYPE()()' /usr/local/mysql-4.0.14/include/my_sys.h:593: invalid declarator /usr/local/mysql-4.0.14/include/my_sys.h:644: syntax error before `(' token /usr/local/mysql-4.0.14/include/my_sys.h:654: syntax error before `(' token /usr/local/mysql-4.0.14/include/my_sys.h:658: syntax error before `(' token I tried through make also. See below [EMAIL PROTECTED]:/usr/local/mysql-4.0.14/sql/usr/ccs/bin/make udf_example.o source='udf_example.cc' object='udf_example.o' libtool=no \ depfile='.deps/udf_example.Po' tmpdepfile='.deps/udf_example.TPo' \ depmode=none /bin/bash ../depcomp \ gcc -DMYSQL_SERVER -DDEFAULT_MYSQL_HOME=\/usr/local/mysql-4.0.14\ -DDATADIR=\/usr/local/mysql-4.0.14/var\ -DSHAREDIR=\/usr/local/mysql-4.0.14/share/mysql\ -DHAVE_CONFIG_H -I. -I. -I.. -I../innobase/include -I./../include -I./../regex -I. -I../include -I. -O3 -DDBUG_OFF -O3 -m64 -fno-omit-frame-pointer -felide-constructors -fno-exceptions -fno-rtti -fno-implicit-templates -fno-exceptions -fno-rtti -DUSE_MYSYS_NEW -DDEFINE_CXA_PURE_VIRTUAL -D_FILE_OFFSET_BITS=64 -DHAVE_CURSES_H -I/usr/local/mysql-4.0.14/include -DHAVE_RWLOCK_T -c -o udf_example.o `test -f udf_example.cc || echo './'`udf_example.cc In file included from udf_example.cc:122: ../include/my_global.h:70:23: my_config.h: No such file or directory In file included from udf_example.cc:122: ../include/my_global.h:456: syntax error before `;' token ../include/my_global.h:701: syntax error before string constant ../include/my_global.h:781: redeclaration of C++ built-in type `bool' In file included from udf_example.cc:123: ../include/my_sys.h:593: `func' was not declared in this scope ../include/my_sys.h:593: type specifier omitted for parameter `RETSIGTYPE()()' ../include/my_sys.h:593: invalid declarator ../include/my_sys.h:644: syntax error before `(' token ../include/my_sys.h:654: syntax error before `(' token ../include/my_sys.h:658: syntax error before `(' token *** Error code 1 make: Fatal error: Command failed for target `udf_example.o' Just for testing I commented out the code at error line number and got udf_example.so or myfunc.so file but when I tried to create function in mysql, it gave following error mysql CREATE FUNCTION myfunc_int RETURNS INTEGER SONAME myfunc.so; ERROR 1126: Can't open shared library 'myfunc.so' (errno: 0 ld.so.1: /usr/local/mysql-standard-4.0.14-sun-solaris2.8-sparc-6) Any tip will be highly appreciable. Regards, Sagar, Sanjeev.vcf -- MySQL General Mailing List For list archives: http://lists.mysql.com/mysql To unsubscribe:http://lists.mysql.com/[EMAIL PROTECTED]
Re: The Compilation Error
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Thu, 11 Sep 2003, Dyego Souza do Carmo wrote: I try to compile MySQL/InnoDB 4.1.1 ( loaded from BK ) My Configure Line is: export CFLAGS=-O6 -mpentiumpro export CXX=gcc export CXXFLAGS=-O6 -mpentiumpro -felide-constructors -fno-exceptions -fno-rtti ./configure --with-innodb --without-isam --without-docs --without-bench --with-charset=latin1 --without-bdb --without-debug --enable-assembler --enable-local-infile --with-mysqld-user=mysql --with-gnu-ld --prefix=/usr/local/mysql4 The error is: make[2]: Entering directory `/temp/mysql-development/mysql-4.1-win/sql' bison -y -d sql_yacc.yy mv y.tab.c sql_yacc.cc conflicts: 365 shift/reduce sql_yacc.yy:5357: fatal error: maximum table size (32767) exceeded make[2]: *** [sql_yacc.cc] Error 1 make[2]: Leaving directory `/temp/mysql-development/mysql-4.1-win/sql' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/temp/mysql-development/mysql-4.1-win' make: *** [all] Error 2 scribthree:/temp/mysql-development/mysql-4.1-win# From http://www.mysql.com/doc/en/Installing_source_tree.html: If you are trying to configure MySQL 4.1, you will also need GNU bison 1.75. Older versions of bison may report this error: sql_yacc.yy:#: fatal error: maximum table size (32767) exceeded. Note: the maximum table size is not actually exceeded, the error is caused by bugs in these earlier bison versions. Versions of MySQL before version 4.1 may also compile with other yacc implementations (e.g. BSD yacc 91.7.30). For later versions, GNU bison is a requirement. Bye, LenZ - -- Lenz Grimmer [EMAIL PROTECTED] Senior Production Engineer MySQL GmbH, http://www.mysql.de/ Hamburg, Germany For technical support contracts, visit https://order.mysql.com/?ref=mlgr -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.2-rc1-SuSE (GNU/Linux) Comment: For info see http://quantumlab.net/pine_privacy_guard/ iD8DBQE/YXrnSVDhKrJykfIRAkyQAJ9Hf7sG6es6IrmdbIn/FaOlmoC9WACeJ1FC erSiBf+bgDl952KP/3OGUnQ= =QNgp -END PGP SIGNATURE- -- MySQL General Mailing List For list archives: http://lists.mysql.com/mysql To unsubscribe:http://lists.mysql.com/[EMAIL PROTECTED]
The Compilation Error
I try to compile MySQL/InnoDB 4.1.1 ( loaded from BK ) My Configure Line is: export CFLAGS=-O6 -mpentiumpro export CXX=gcc export CXXFLAGS=-O6 -mpentiumpro -felide-constructors -fno-exceptions -fno-rtti ./configure --with-innodb --without-isam --without-docs --without-bench --with-charset=latin1 --without-bdb --without-debug --enable-assembler --enable-local-infile --with-mysqld-user=mysql --with-gnu-ld --prefix=/usr/local/mysql4 The error is: make[2]: Entering directory `/temp/mysql-development/mysql-4.1-win/sql' bison -y -d sql_yacc.yy mv y.tab.c sql_yacc.cc conflicts: 365 shift/reduce sql_yacc.yy:5357: fatal error: maximum table size (32767) exceeded make[2]: *** [sql_yacc.cc] Error 1 make[2]: Leaving directory `/temp/mysql-development/mysql-4.1-win/sql' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/temp/mysql-development/mysql-4.1-win' make: *** [all] Error 2 scribthree:/temp/mysql-development/mysql-4.1-win# What is the error ? InnoDB,MySQL,QUery,Help ! - ++ Dyego Souza do Carmo ++ Dep. Desenvolvimento - E S C R I B A I N F O R M A T I C A - The only stupid question is the unasked one (somewhere in Linux's HowTo) Linux registred user : #230601 --ICQ : 1647350 $ look into my eyes Phone : +55 041 296-2311 look: cannot open my eyes Fax : +55 041 296-6640 - Reply: [EMAIL PROTECTED] -- MySQL General Mailing List For list archives: http://lists.mysql.com/mysql To unsubscribe:http://lists.mysql.com/[EMAIL PROTECTED]
[Fwd: MySql++ compilation error on Aix with gcc3.2.1 (default argument given]
I tried to integrate, MySql++-1.7.9 with mysql-max-3.23.55-ibm-aix4.3.2.0-powerpc. I compiled with gcc3.2.1, and i passed the 2 patches for gcc3.0 and gcc3.2, on Aix4.3.2 How-To-Repeat: My configure contains: setenv CC /opt/gcc-3.2.1/usr/local/bin/gcc setenv CXX /opt/gcc-3.2.1/usr/local/bin/g++ setenv CFLAGS '-Wno-deprecated' setenv CXXFLAGS '-Wno-deprecated' setenv MAKE /opt/bin/make ./configure --srcdir=/opt/mysql++-1.7.9.src/mysql++-1.7.9 --with-mysql-include=/opt/mysql/include --prefix=/opt/mysql++-1.7.9_gcc3.2 And at compilation time i obtain this error: connection.cc:26: default argument given for parameter 6 of ` MysqlConnection::MysqlConnection(const char*, const char*, const char*, const char*, unsigned int, char = 0, unsigned int = 60, bool = true, const char* = , unsigned int = 0)' Could you give me an advice, to correct this error. Thanks, Olivier -- * * * Olivier HARDOUIN [TRANSICIEL - TECHNOLOGIES] * * * * sgl: 8is - Bur: M077 - Tel: 05 62 14 34 87 * * * ---end of your message--- MySQL Development Team -- * * * Olivier HARDOUIN [TRANSICIEL - TECHNOLOGIES] * * * * sgl: 8is - Bur: M077 - Tel: 05 62 14 34 87 * * * - 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: enable-assembler error and MySQL 64 bits compilation error
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi, On Fri, 6 Dec 2002, Mariella Di Giacomo wrote: I have been running MySQL 4.0.5 64 bits on a Sun sun4u sparc SUNW,Sun-Fire-880, Solaris 2.8. I have been using the binary version that MySQL provides. Yesterday I have downloaded the Solaris tar ball to compile the MySQL source code and change the myisam block size. I have the Solaris compiler cc: Sun WorkShop (Fort) 6 update 2 C 5.3 2001/05/15 and I wanted to use that because it is suppose to create a faster executable than gcc. I have followed the instructions that are provided for the Solaris compilation and cc Forte which are CC=cc CFLAGS=-Xa -fast -native -xstrconst -mt -xarch=v9 \ CXX=CC CXXFLAGS=-noex -mt -xarch=v9 \ ./configure --prefix=/usr/local/mysql --enable-assembler At the certain point I get the following error: Making all in strings /usr/ccs/bin/as -O -DDBUG_OFF -Xa -fast -native -xstrconst -mt -xarch=v9 -D_FILE_OFFSET_BITS=64 -DHAVE_CURSES_H -I/root/mysql/mysql-4.0.5a-beta/include -DHAVE_RWLOCK_T -o bmove_upp-sparc.o bmove_upp-sparc.s /usr/ccs/bin/as: error: unknown option 'O' /usr/ccs/bin/as: error: unknown option 'X' /usr/ccs/bin/as: error: unknown option 'a' /usr/ccs/bin/as: error: unknown option 'f' /usr/ccs/bin/as: error: unknown option 'ast' /usr/ccs/bin/as: error: unknown option 'ative' /usr/ccs/bin/as: error: unknown option 'xstrconst' /usr/ccs/bin/as: error: unknown option 't' usage: /usr/ccs/bin/as [-V] [-Q{y,n}] [-f[O][if]#] [-q] [-s] [-S] [-K {pic,PIC}] [-o objfile] [-L] [-T] [-P [[-Ipath] [-Dname] [-Dname=def] [-Uname]]...] [-m [-Ym,path]] [-n] [-xF] [-xarch=v7] [-xarch=v8] [-xarch=v8a] [-xarch=v8plus] [-xarch=v8plusa] [-xarch=v8plusb] [-xarch=v9] [-xarch=v9a] [-xarch=v9b] [-xcode={pic13,pic32}] file.s... *** Error code 1 make: Fatal error: Command failed for target `bmove_upp-sparc.o' Current working directory /root/mysql/mysql-4.0.5a-beta/strings *** Error code 1 make: Fatal error: Command failed for target `all-recursive' Current working directory /root/mysql/mysql-4.0.5a-beta *** Error code 1 make: Fatal error: Command failed for target `all' /usr/ccs/bin/as does not have those options and I could not find a patch for as. I can get things compiled only If I do not specify --enable-assembler CC=cc CFLAGS=-Xa -fast -native -xstrconst -mt -xarch=v9 \ CXX=CC CXXFLAGS=-noex -mt -xarch=v9 \ ./configure --prefix=/usr/local/mysql So my questions: Do you know why? The documentation seems to miss an option - please try do add ASFLAGS=-xarch=v9 to the configure line. Is there an error in the configure script? or I cannot compile with --enable-assembler because in the system Use assembler versions of some string functions is not available ? No, it seems like the configure script simply passes all compile flags to the assembler, if you use --enable-assembler and do not define ASFLAGS. That actually might be a bug in the configure script, but I am not sure. If that is the case, is there any work around that I could use to compile with --enable-assembler ? Yes, please use ASFLAGS as noted above. If I cannot use --enable-assembler, which is the percentage of Performance I may lose ? Sorry, I can't tell you. We do use assembler functions for some string operations (see the strings subdirectory), but I don't know how intensively these are being used. Bye, LenZ - -- For technical support contracts, visit https://order.mysql.com/?ref=mlgr __ ___ ___ __ / |/ /_ __/ __/ __ \/ / Mr. Lenz Grimmer [EMAIL PROTECTED] / /|_/ / // /\ \/ /_/ / /__ MySQL AB, Production Engineer /_/ /_/\_, /___/\___\_\___/ Hamburg, Germany ___/ www.mysql.com -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.0 (GNU/Linux) Comment: For info see http://quantumlab.net/pine_privacy_guard/ iD8DBQE98m7aSVDhKrJykfIRAmWsAJ92RJ0XXRmYqvWrmyGKQJfWFC/2DwCdHtNR qK2a6k8OFASEIEkXUOK+I9Q= =e2SM -END PGP SIGNATURE- - 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
enable-assembler error and MySQL 64 bits compilation error
X-Sender: [EMAIL PROTECTED] X-Mailer: QUALCOMM Windows Eudora Version 5.0 Date: Fri, 06 Dec 2002 09:20:55 -0700 To: [EMAIL PROTECTED] From: Mariella Di Giacomo [EMAIL PROTECTED] Subject: --enable-assembler error and MySQL 64 bits compilation error on Solaris 2.8 Hello, I have been running MySQL 4.0.5 64 bits on a Sun sun4u sparc SUNW,Sun-Fire-880, Solaris 2.8. I have been using the binary version that MySQL provides. Yesterday I have downloaded the Solaris tar ball to compile the MySQL source code and change the myisam block size. I have the Solaris compiler cc: Sun WorkShop (Fort) 6 update 2 C 5.3 2001/05/15 and I wanted to use that because it is suppose to create a faster executable than gcc. I have followed the instructions that are provided for the Solaris compilation and cc Forte which are CC=cc CFLAGS=-Xa -fast -native -xstrconst -mt -xarch=v9 \ CXX=CC CXXFLAGS=-noex -mt -xarch=v9 \ ./configure --prefix=/usr/local/mysql --enable-assembler At the certain point I get the following error: Making all in strings /usr/ccs/bin/as -O -DDBUG_OFF -Xa -fast -native -xstrconst -mt -xarch=v9 -D_FILE_OFFSET_BITS=64 -DHAVE_CURSES_H -I/root/mysql/mysql-4.0.5a-beta/include -DHAVE_RWLOCK_T -o bmove_upp-sparc.o bmove_upp-sparc.s /usr/ccs/bin/as: error: unknown option 'O' /usr/ccs/bin/as: error: unknown option 'X' /usr/ccs/bin/as: error: unknown option 'a' /usr/ccs/bin/as: error: unknown option 'f' /usr/ccs/bin/as: error: unknown option 'ast' /usr/ccs/bin/as: error: unknown option 'ative' /usr/ccs/bin/as: error: unknown option 'xstrconst' /usr/ccs/bin/as: error: unknown option 't' usage: /usr/ccs/bin/as [-V] [-Q{y,n}] [-f[O][if]#] [-q] [-s] [-S] [-K {pic,PIC}] [-o objfile] [-L] [-T] [-P [[-Ipath] [-Dname] [-Dname=def] [-Uname]]...] [-m [-Ym,path]] [-n] [-xF] [-xarch=v7] [-xarch=v8] [-xarch=v8a] [-xarch=v8plus] [-xarch=v8plusa] [-xarch=v8plusb] [-xarch=v9] [-xarch=v9a] [-xarch=v9b] [-xcode={pic13,pic32}] file.s... *** Error code 1 make: Fatal error: Command failed for target `bmove_upp-sparc.o' Current working directory /root/mysql/mysql-4.0.5a-beta/strings *** Error code 1 make: Fatal error: Command failed for target `all-recursive' Current working directory /root/mysql/mysql-4.0.5a-beta *** Error code 1 make: Fatal error: Command failed for target `all' /usr/ccs/bin/as does not have those options and I could not find a patch for as. I can get things compiled only If I do not specify --enable-assembler CC=cc CFLAGS=-Xa -fast -native -xstrconst -mt -xarch=v9 \ CXX=CC CXXFLAGS=-noex -mt -xarch=v9 \ ./configure --prefix=/usr/local/mysql So my questions: Do you know why ? Is there an error in the configure script ? or I cannot compile with --enable-assembler because in the system Use assembler versions of some string functions is not available ? If that is the case, is there any work around that I could use to compile with --enable-assembler ? If I cannot use --enable-assembler, which is the percentage of Performance I may lose ? Thanks a lot for your help, Mariella - 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
Compilation error on Solaris.
Hi all, I've been trying to compile .51 and .52 under Solaris 8, and I get errors under both versions. Here's the error under .52: make[3]: Entering directory `/usr/local/src/sql/mysql-3.23.52/sql' g++ -DMYSQL_SERVER-DDEFAULT_MYSQL_HOME=\/usr/local\ -DDATADIR=\/usr/local/var\ -DSHAREDIR=\/usr/local/share/mysql\ -DHAVE_CONFIG_H -I./../include -I./../regex-I. -I../include -I.. -I.-O3 -DDBUG_OFF -fno-implicit-templates -fno-exceptions -fno-rtti -DHAVE_CURSES_H -I/usr/local/src/sql/mysql-3.23.52/include -DHAVE_RWLOCK_T -c mysqld.cc mysqld.cc: In function `void* handle_connections_sockets(void*)': mysqld.cc:2410: invalid conversion from `size_socket*' to `socklen_t*' mysqld.cc:2476: invalid conversion from `size_socket*' to `socklen_t*' make[3]: *** [mysqld.o] Error 1 make[3]: Leaving directory `/usr/local/src/sql/mysql-3.23.52/sql' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/usr/local/src/sql/mysql-3.23.52/sql' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/usr/local/src/sql/mysql-3.23.52' make: *** [all-recursive-am] Error 2 The error under .51 is similar, complaining of invalid conversion from `size_socket*' to `socklen_t*' Any tips? I'm growing pretty frustrated.. and I don't want to use the pre-compiled version of Solaris for several reasons. -- Steve - 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
Compilation error on Solaris.
Hi all, I've been trying to compile .51 and .52 under Solaris 8, and I get errors under both versions. Here's the error under .52: make[3]: Entering directory `/usr/local/src/sql/mysql-3.23.52/sql' g++ -DMYSQL_SERVER-DDEFAULT_MYSQL_HOME=\/usr/local\ -DDATADIR=\/usr/local/var\ -DSHAREDIR=\/usr/local/share/mysql\ -DHAVE_CONFIG_H -I./../include -I./../regex-I. -I../include -I.. -I.-O3 -DDBUG_OFF -fno-implicit-templates -fno-exceptions -fno-rtti -DHAVE_CURSES_H -I/usr/local/src/sql/mysql-3.23.52/include -DHAVE_RWLOCK_T -c mysqld.cc mysqld.cc: In function `void* handle_connections_sockets(void*)': mysqld.cc:2410: invalid conversion from `size_socket*' to `socklen_t*' mysqld.cc:2476: invalid conversion from `size_socket*' to `socklen_t*' make[3]: *** [mysqld.o] Error 1 make[3]: Leaving directory `/usr/local/src/sql/mysql-3.23.52/sql' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/usr/local/src/sql/mysql-3.23.52/sql' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/usr/local/src/sql/mysql-3.23.52' make: *** [all-recursive-am] Error 2 The error under .51 is similar, complaining of invalid conversion from `size_socket*' to `socklen_t*' Any tips? I'm growing pretty frustrated.. and I don't want to use the pre-compiled version of Solaris for several reasons. -- Steve - 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: Compilation error on Solaris.
hi steve, there was a thread concerning compilation of mysql on solaris three days ago. one of the postings had a link: http://lists.mysql.com/cgi-ez/ezmlm-cgi?1:mss:116929:200208:ngkbacmgkmgkdbbfgjdo to an earlier posting where j warburton describes how he successfully compiled mysql (3.23.51) on solaris 8. HTH, michael Steve Fulton wrote: Hi all, I've been trying to compile .51 and .52 under Solaris 8, and I get errors under both versions. Here's the error under .52: [...] - 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
Compilation Error on Mac OS X
Dear All, I am new to the mailing list so I apologise in advance if I am posting to the wrong place. Please direct me if I am wrong. With Mac OS 10.1.5: Configuring like this was okay: ./configure --prefix=/user/local/mysql --with-unix-socket-path=/usr/local/mysql/run/mysql_socket --with-mysqld-user=mysql --with-comment --with-debug Then issuing make went fine and compilation proceeded for a long while and then: HAREDIR=\/user/local/mysql/share/mysql\ -DHAVE_CONFIG_H -I./../include -I./../regex -I. -I../include -I.. -I.-g -O -DSAFE_MUTEX -fno-implicit-templates -fno-exceptions -fno-rtti -traditional-cpp -DHAVE_DARWIN_THREADS -D_P1003_1B_VISIBLE -DSIGNAL_WITH_VIO_CLOSE -DSIGNALS_DONT_BREAK_READ -c sql_udf.cc sql_udf.cc:57: dlfcn.h: No such file or directory make[3]: *** [sql_udf.o] Error 1 make[2]: *** [all-recursive] Error 1 make[1]: *** [all-recursive] Error 1 make: *** [all-recursive-am] Error 2 Further reading on various places on the internet seems to indicate that this header file (dlfcn.h) is not included with the Apple Developer Kit and, though I know very little about C++ compilation or programming, looking at the source file indeed shows that the header file in question is called for, but then doing a locate dlfcn.h after updating the locate db turns up nothing so I trust the file is not on my system. Is it necessary for me to go through the process of installing the 'dlcompat' package and if so, I wonder why that is not mentioned in any of the material about compilation on OS X. Can anyone answer my rather convoluted question? Thanks. James Harris - 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: Compilation Error on Mac OS X
On 9/6/02 at 02:32, [EMAIL PROTECTED] (Tom Harris) wrote: Dear All, I am new to the mailing list so I apologise in advance if I am posting to the wrong place. Please direct me if I am wrong. With Mac OS 10.1.5: Configuring like this was okay: [...] Then issuing make went fine and compilation proceeded for a long while and then: [...] sql_udf.cc:57: dlfcn.h: No such file or directory make[3]: *** [sql_udf.o] Error 1 make[2]: *** [all-recursive] Error 1 make[1]: *** [all-recursive] Error 1 make: *** [all-recursive-am] Error 2 Further reading on various places on the internet seems to indicate that this header file (dlfcn.h) is not included with the Apple Developer Kit [...] Is it necessary for me to go through the process of installing the 'dlcompat' package and if so, I wonder why that is not mentioned in any of the material about compilation on OS X. Can anyone answer my rather convoluted question? Thanks Not really but have you considered using Marc Liyanage's binary installation of MySQL (in fact, I believe he also has a source install as well)? You can find it at: http://www.entropy.ch.com/ Many, many Mac OS X users (including myself) have used this and found it excellent and painless in the installation and use of. Hope this helps, Regards, Phil. - 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
mySQL compilation error on SPARC Solaris 8
*This message was transferred with a trial version of CommuniGate(tm) Pro* Hello, Tried compiling mySQL on a Soloris 8 SPARC machine but get the following make error: c++ -O3 -DDBUG_OFF -O3 -felide-constructors -fno-exceptions -fno-rtti -mcpu= v8 -Wa,-xarch=v8plusa -fno-implicit-templates -fno-exceptions -fno-rtti -DHA VE_CURSES_H -I/export/src/mysql-3.23.42/include -DHAVE_RWLOCK_T -o mysql mysql.o readline.o sql_string.o completion_hash.o ../readline/libreadline.a -lcurses -static ../libmysql/.libs/libmysqlclient.a -lz -lcrypt -lgen -lsocket -lnsl -lm -lz -lcrypt -lgen -lsocket -lnsl -lm -R/usr/local/lib:/usr/lib -R/usr/local/lib: /usr/lib Undefined first referenced symbol in file dlclose /usr/lib/libnsl.a(netdir.o) _dlopen /usr/lib/libc.a(nss_deffinder.o) _dlclose/usr/lib/libc.a(nss_deffinder.o) dlsym /usr/lib/libnsl.a(netdir.o) dlopen /usr/lib/libnsl.a(netdir.o) dlerror /usr/lib/libnsl.a(netdir.o) _dlsym /usr/lib/libc.a(nss_deffinder.o) ld: fatal: Symbol referencing errors. No output written to mysql collect2: ld returned 1 exit status *** Error code 1 make: Fatal error: Command failed for target `mysql' Current working directory /export/src/mysql-3.23.42/client *** Error code 1 make: Fatal error: Command failed for target `all-recursive' Current working directory /export/src/mysql-3.23.42 *** Error code 1 make: Fatal error: Command failed for target `all-recursive-am' Anyone know what this is about. Here are my env. varibales: PATH=/usr/sbin:/usr/bin:/usr/ccs/bin:/usr/local/bin:/usr/local/sbin:/usr/ucb CFLAGS=-O3 -mcpu=v8 -Wa,-xarch=v8plusa LDFLAGS=-R/usr/local/lib:/usr/lib CC=gcc CXXFLAGS=-O3 -felide-constructors -fno-exceptions -fno-rtti -mcpu=v8 -Wa,-xa rch=v8plusa I configured using: ./configure --prefix=/usr/local/mysql --localstatedir=/var/mysql/data --with -unix-socket-path=/var/mysql/tmp/mysql.sock --with-client-ldflags=-all-stati c --with-mysqld-ldflags=-all-static - 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
mySQL Compilation error SPARC Sol 8
*This message was transferred with a trial version of CommuniGate(tm) Pro* Sorry if this post appears more than once... having some probs ;)! - Hello, Tried compiling mySQL on a Soloris 8 SPARC machine but get the following make error: c++ -O3 -DDBUG_OFF -O3 -felide-constructors -fno-exceptions -fno-rtti -mcpu= v8 -Wa,-xarch=v8plusa -fno-implicit-templates -fno-exceptions -fno-rtti -DHA VE_CURSES_H -I/export/src/mysql-3.23.42/include -DHAVE_RWLOCK_T -o mysql mysql.o readline.o sql_string.o completion_hash.o ../readline/libreadline.a -lcurses -static ../libmysql/.libs/libmysqlclient.a -lz -lcrypt -lgen -lsocket -lnsl -lm -lz -lcrypt -lgen -lsocket -lnsl -lm -R/usr/local/lib:/usr/lib -R/usr/local/lib: /usr/lib Undefined first referenced symbol in file dlclose /usr/lib/libnsl.a(netdir.o) _dlopen /usr/lib/libc.a(nss_deffinder.o) _dlclose/usr/lib/libc.a(nss_deffinder.o) dlsym /usr/lib/libnsl.a(netdir.o) dlopen /usr/lib/libnsl.a(netdir.o) dlerror /usr/lib/libnsl.a(netdir.o) _dlsym /usr/lib/libc.a(nss_deffinder.o) ld: fatal: Symbol referencing errors. No output written to mysql collect2: ld returned 1 exit status *** Error code 1 make: Fatal error: Command failed for target `mysql' Current working directory /export/src/mysql-3.23.42/client *** Error code 1 make: Fatal error: Command failed for target `all-recursive' Current working directory /export/src/mysql-3.23.42 *** Error code 1 make: Fatal error: Command failed for target `all-recursive-am' Anyone know what this is about. Here are my env. varibales: PATH=/usr/sbin:/usr/bin:/usr/ccs/bin:/usr/local/bin:/usr/local/sbin:/usr/ucb CFLAGS=-O3 -mcpu=v8 -Wa,-xarch=v8plusa LDFLAGS=-R/usr/local/lib:/usr/lib CC=gcc CXXFLAGS=-O3 -felide-constructors -fno-exceptions -fno-rtti -mcpu=v8 -Wa,-xa rch=v8plusa I configured using: ./configure --prefix=/usr/local/mysql --localstatedir=/var/mysql/data --with -unix-socket-path=/var/mysql/tmp/mysql.sock --with-client-ldflags=-all-stati c --with-mysqld-ldflags=-all-static - 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
Compilation Error
Hi there, I was following the instructions to compile the latest version of mysql for Mac OS X, when I ran into a few errors. I downloaded the source file as per the instructions from Apple (http://developer.apple.com/internet/macosx/osdb.html), and then followed the instructions on mysql (http://www.mysql.com/doc/Q/u/Quick_install.html). I had already added the group and user with an OS X utility called Net Info. Furthermore, the source file had already been unpacked on my desktop automatically, by a utility called Stuffit. I placed the source file in the directory I wanted to use. I went to that directory via command line and initiated the configuration. I added a few options based on the suggestions from Apple (http://developer.apple.com/internet/macosx/osdb.html). These were the results: [cpe0030654b7478:/library/mysql/mysql-3.23.49] dport% ./configure --prefix=/Library/mysql --with-unix-socket- path=/Library/mysql/run/mysql_socket --with-mysqld-user=mysql --with-comment --with-debug loading cache ./config.cache checking host system type... powerpc-apple-darwin5.2 checking target system type... powerpc-apple-darwin5.2 checking build system type... powerpc-apple-darwin5.2 checking for a BSD compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking whether make sets ${MAKE}... no checking for working aclocal... missing checking for working autoconf... missing checking for working automake... missing checking for working autoheader... missing checking for working makeinfo... missing checking whether to enable maintainer-specific portions of Makefiles... no checking whether build environment is sane... yes checking whether make sets ${MAKE}... (cached) no checking for gawk... no checking for mawk... no checking for nawk... no checking for awk... awk checking for gcc... no checking for cc... no configure: error: no acceptable cc found in $PATH I have very little experience compiling anything, but it looks like I'm missing something important on my system. Could it be that I simply don't have a compiler installed? - 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
Compilation error on HP-UX 11.00 with mysql-3.23.37
$ uname -a HP-UX mnemosyn B.11.00 U 9000/800 122901567 unlimited-user license $ cc -V /tmp/none.c cpp.ansi: HP92453-01 A.11.01.00 HP C Preprocessor (ANSI) ccom: HP92453-01 A.11.01.00 HP C Compiler $ aCC -V aCC: HP ANSI C++ B3910B A.03.13 $ LDFLAGS=+DA2.0W CFLAGS=+DA2.0W -D_REENTRANT CXXFLAGS=+DA2.0W -D_REENTRANT CPPFLAGS=-D_REENTRANT CC=cc CXX=aCC ./configure --with-pthread --with-named-thread-libs=-lpthread --with-charset=koi8_ru --with-extra-charsets=cp1251,latin1 --prefix=/usr/local/mysql --without-debug --disable-shared $ make [skip] Error 19: mysqld.cc, line 2480 # Unexpected ','. OPT_GEMINI_UNBUFFERED_IO, OPT_SKIP_SAFEMALLOC, ^ *** Error exit code 2 Stop. *** Error exit code 1 Stop. Here is the diff which solves this problem *** mysqld.cc.orig Tue May 8 15:43:23 2001 --- mysqld.cc Tue May 8 15:43:33 2001 *** *** 2477,2483 OPT_GEMINI_SKIP, OPT_INNODB_SKIP, OPT_TEMP_POOL, OPT_TX_ISOLATION, OPT_GEMINI_FLUSH_LOG, OPT_GEMINI_RECOVER, !OPT_GEMINI_UNBUFFERED_IO, OPT_SKIP_SAFEMALLOC, }; static struct option long_options[] = { --- 2477,2483 OPT_GEMINI_SKIP, OPT_INNODB_SKIP, OPT_TEMP_POOL, OPT_TX_ISOLATION, OPT_GEMINI_FLUSH_LOG, OPT_GEMINI_RECOVER, !OPT_GEMINI_UNBUFFERED_IO, OPT_SKIP_SAFEMALLOC }; static struct option long_options[] = { Regards, Maxim - 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
Redhat 7.0 w BDB3 Compilation Error
Description: Compilation fails; probably due to a missing library. Alas, I'm unsure which one I would need. It's not one of the documented missing link libraries from the manual. Nor could I find it using the search engine on the mySQL site. The reason I'm attempting to build from the source at all is that I want to use the BDB 3.x support. gcc -DUNDEF_THREADS_HACK -I./../include -I../include -I./.. -I..-I..-O3 -DDBUG_OFF -fno-implicit-templates -c completion_hash.cc /bin/sh ../libtool --mode=link gcc -O3 -DDBUG_OFF -fno-implicit-templates -rdynamic -o mysql mysql.o readline.o sql_string.o completion_hash.o ../readline/libreadline.a -lncurses ../libmysql/libmysqlclient.la -lz -lcrypt -lnsl -lm mkdir .libs gcc -O3 -DDBUG_OFF -fno-implicit-templates -rdynamic -o .libs/mysql mysql.o readline.o sql_string.o completion_hash.o ../readline/libreadline.a -lncurses ../libmysql/.libs/libmysqlclient.so -lz -lcrypt -lnsl -lm -lz -lcrypt -lnsl -lm -Wl,--rpath -Wl,/usr/local/lib/mysql ../libmysql/.libs/libmysqlclient.so: undefined reference to `mkstemp64' collect2: ld returned 1 exit status make[2]: *** [mysql] Error Submitter-Id: submitter ID Originator:Carl Petersen MySQL support: [none | licence | email support | extended email support ] Synopsis: Redhat 7.0 with BDB 3.x Compilation Error Severity: serious Priority: medium Category: mysql Class: sw-bug Release: mysql-3.23.33 (Source distribution) Environment: System: Linux localhost.localdomain 2.2.16-22 #1 Tue Aug 22 16:16:55 EDT 2000 i586 unknown Architecture: i586 Some paths: /usr/bin/perl /usr/bin/make /usr/bin/gmake /usr/bin/gcc /usr/bin/cc GCC: Reading specs from /usr/lib/gcc-lib/i386-redhat-linux/2.96/specs gcc version 2.96 2731 (Red Hat Linux 7.0) Compilation info: CC='gcc' CFLAGS='-O2 -march=i386 -mcpu=i686' CXX='c++' CXXFLAGS='-O2 -march=i386 -mcpu=i686' LDFLAGS='' LIBC: lrwxrwxrwx1 root root 14 Jan 5 04:58 /lib/libc.so.6 - libc-2.1.92.so -rwxr-xr-x1 root root 4686077 Aug 30 2000 /lib/libc-2.1.92.so -rw-r--r--1 root root 22855536 Dec 15 07:37 /usr/lib/libc.a -rw-r--r--1 root root 178 Dec 15 07:37 /usr/lib/libc.so Configure command: ./configure i386-redhat-linux --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/usr/com --mandir=/usr/share/man --infodir=/usr/share/info --without-debug --without-readline --enable-shared --with-extra-charsets=complex --without-bench --localstatedir=/var/lib/mysql --with-unix-socket-path=/var/lib/mysql/mysql.sock --enable-assembler --with-mysqld-user=mysql - 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