Compile error on MySQL 5.5.7 rc version,help!
hi,everyone: i need your helps,really!! this is my second compiling-failed on building my own MySQL already.previous is version 5.5.6 rc,now is 5.5.7 rc. my build environment is centos 5 x86,full name is Linux PowerPC 2.6.18-194.8.1.el5.028stab070.5 #1 SMP Fri Sep 17 19:10:36 MSD 2010 i686 i686 i386 GNU/Linux. i download the last dev branch of version 5.5.x's source tarball from MySQL's http mirror,then unpack it. this is my configure strings: [r...@powerpc mysql-5.5.7-rc]# ./configure \ --prefix=/usr/local/mysql \ --exec-prefix=/usr/local \ --sysconfdir=/etc/sysconfig/mysql \ --localstatedir=/var/run \ --enable-profiling \ --disable-largefile \ --disable-ipv6 \ --with-charset=utf8 \ --with-extra-charsets=all \ --with-unix-socket-path=/tmp/mysql.sock \ --with-mysqld-user=mysql \ --with-zlib-dir=bundled \ --with-low-memory \ --with-embedded-server \ --without-geometry \ --with-embedded-privilege-control \ --without-docs \ --without-man no error warning reported this step. then going to MAKE it,and the errors below break it. regex -I../../sql -I. -g -O2 -DUNIV_LINUX -MT mi_static.o -MD -MP -MF .deps/mi_static.Tpo -c -o mi_static.o mi_static.c mi_static.c:40: error: conflicting types for ‘myisam_max_temp_length’ ../../include/myisam.h:254: error: previous declaration of ‘myisam_max_temp_length’ was here make[2]: *** [mi_static.o] Error 1 make[2]: Leaving directory `/root/mysql-5.5.7-rc/storage/myisam' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/root/mysql-5.5.7-rc/storage' make: *** [all-recursive] Error 1 what should i do now? thanks for any tips. -- Best regards, Sharl.Jimh.Tsin (From China *Obviously Taiwan INCLUDED*) -- MySQL General Mailing List For list archives: http://lists.mysql.com/mysql To unsubscribe:http://lists.mysql.com/mysql?unsub=arch...@jab.org
mysql-4.1.14 + linux kernel 2.6.15.1 = compile error
Hello list I have just upgraded my system and was reinstalling all the programs, but got problems with a few ones, including mysql 4.1.14. When compiling I get the following error, I think it may be possible because changes in the kernel headers but am not sure because it was compiling fine in 2.6.11.11 and now have problems with 2.6.15.1 The output is this: --- if g++ -DDEFAULT_BASEDIR=\/usr/local/mysql\ -DDATADIR=\/usr/local/mysql/var\ -DDEFAULT_CHARSET_HOME=\/usr/local/mysql\ -DSHAREDIR=\/usr/local/mysql/share/mysql\ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../include -I.-O3 -DDBUG_OFF-fno-implicit-templates -fno-exceptions -fno-rtti -MT my_new.o -MD -MP -MF .deps/my_new.Tpo -c -o my_new.o my_new.cc; \ then mv -f .deps/my_new.Tpo .deps/my_new.Po; else rm -f .deps/my_new.Tpo; exit 1; fi In file included from /usr/include/asm/atomic.h:6, from ../include/my_global.h:280, from mysys_priv.h:17, from my_new.cc:22: /usr/include/asm/processor.h: In function `void set_in_cr4(long unsigned int)': /usr/include/asm/processor.h:237: error: `read_cr4' undeclared (first use this function) /usr/include/asm/processor.h:237: error: (Each undeclared identifier is reported only once for each function it appears in.) /usr/include/asm/processor.h:239: error: `write_cr4' undeclared (first use this function) /usr/include/asm/processor.h: In function `void clear_in_cr4(long unsigned int) ': /usr/include/asm/processor.h:248: error: `write_cr4' undeclared (first use this function) make[2]: *** [my_new.o] Error 1 make[2]: Leaving directory `/tmp/mysql-4.1.14/mysys' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/tmp/mysql-4.1.14' make: *** [all] Error 2 -- In particular the problem is that the following symbols are undeclared set_in_cr4, read_cr4, write_cr4, clear_in_cr4 My include directory links are so For kernel 2.6.11.11 /usr/src/linux - /usr/src/linux-2.6.11.11 For kernel 2.6.15.1 /usr/src/linux - /usr/src/linux-2.6.15.1 For the includes /usr/include/linux - /usr/src/linux/include/linux /usr/include/asm - /usr/src/linux/include/asm-i386 /usr/include/asm-generic - /usr/src/linux/include/asm-generic to compile with different kernel versions just set the appropiate /usr/src/linux link to 2.6.11.11 or 2.6.15.1 and reboot with that kernel to ensure not only the kernel headers but the running kernel are the same before compile. With kernel 2.6.11.11 compiles fine, but when trying 2.6.15.1 simply spits errors and aborts. Does anybody have the same kernel version and problem? and if so, were you able to solve the problem? I insist that the problem could be some modifications in the latest kernel headers and that mysql uses probably the previous version... I don't know too much about it but is a simple idea... Any comment, sugestion or idea? Regards, Miguel -- MySQL General Mailing List For list archives: http://lists.mysql.com/mysql To unsubscribe:http://lists.mysql.com/[EMAIL PROTECTED]
Mysql compile error
I'm getting ready to do a roll out next week on converting an application from MySQL to MSSQL. I'm installing the perl drivers on the production machines today. The perl DBD driver requires mysql to be installed. Everything's been going fine on all the machines until I got to the last one. On that one I am getting this error when compiling mysql: Making all in isam make[2]: Entering directory `/usr/src/mysql-4.1.14/isam' source='open.c' object='open.o' libtool=no \ depfile='.deps/open.Po' tmpdepfile='.deps/open.TPo' \ depmode=gcc /bin/sh ../depcomp \ gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../include -O3 -DDBUG_OFF-c open.c open.c: In function `nisam_open': open.c:136: `F_TO_EOF' undeclared (first use in this function) open.c:136: (Each undeclared identifier is reported only once open.c:136: for each function it appears in.) make[2]: *** [open.o] Error 1 make[2]: Leaving directory `/usr/src/mysql-4.1.14/isam' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/usr/src/mysql-4.1.14' make: *** [all] Error 2 Here is what I used for the ./configure command: ./configure --without-server \ --prefix=/usr/local/mysql \ --exec-prefix=/usr/local/mysql \ --with-named-curses-libs=/usr/lib/libncurses.so.4 \ --enable-thread-safe-client \ --with-extra-character-sets=complex Any ideas on what's wrong? I am installing verion 4.1.14, and the server is running RedHat 6.2. Thanks, -Ryan -- MySQL General Mailing List For list archives: http://lists.mysql.com/mysql To unsubscribe:http://lists.mysql.com/[EMAIL PROTECTED]
RE: Mysql compile error - more info
I thought I would get around the whole thing by just installing the RPM instead of compiling. So I downloaded MySQL-devel-4.1.14-0.i386.rpm and installed it. Then I went to install the DBD-mysql module and got this error during the compile: /usr/bin/ld: cannot find -lz collect2: ld returned 1 exit status An error occurred while linking the DBD::mysql driver. The error message seems to indicate that you don't have a libz.a, or a libz.so. This is typically resolved by: 1.) You may try to remove the -lz or -lgz flag from the libs list by using the --libs switch for perl Makefile.PL. 2.) On Red Hat Linux install libz-devel 3.) On other systems, please contact the mailing list [EMAIL PROTECTED] For further hints, see INSTALL.html, section Linker flags. make: *** [blib/arch/auto/DBD/mysql/mysql.so] Error 1 So I figured out how to run mysql_config --libs and get that value, then put it on the perl Makefile.PL line without the -lz: perl Makefile.PL --libs=-L/usr/lib/mysql [the -lz was right here] -lmysqlclient -lcrypt -lnsl -lm -lc -lnss_files -lnss_dns -lresolv -lc -lnss_files -lnss_dns -lresolv Then I was able to compile without error. So I installed the driver. But when I try to use it to connect to mysql I get this error: install_driver(mysql) failed: Can't load '/usr/lib/perl5/site_perl/5.005/i386-linux/auto/DBD/mysql/mysql.so' for module DBD::mysql: /usr/lib/perl5/site_perl/5.005/i386-linux/auto/DBD/mysql/mysql.so: undefined symbol: compress at /usr/lib/perl5/5.00503/i386-linux/DynaLoader.pm line 169. at (eval 1) line 3 Perhaps a required shared library or dll isn't installed where expected at /home/wms/test1.pl line 8 Any help appriciated. I apologize for this message being formatted badly, there's no obvious break between my comments and my pasted error messages. I hate Outlook with a passion but am forced to use it. -Ryan -- MySQL General Mailing List For list archives: http://lists.mysql.com/mysql To unsubscribe:http://lists.mysql.com/[EMAIL PROTECTED]
RE: Mysql compile error - fixed
I fixed the whole problem by typing this one line: `ln -s libz.so.1.1.3 /usr/lib/libz.so` Linux is such a pain sometimes. -Ryan -- MySQL General Mailing List For list archives: http://lists.mysql.com/mysql To unsubscribe:http://lists.mysql.com/[EMAIL PROTECTED]
Re: Mysql compile error
Hi Ryan, Hmm, --without-server doesn't seem to work. Not sure what are you doing wrong, but as a workaround you could define F_TO_EOF to zero in open.c. Quoting sql/my_global.h: #define F_TO_EOF 0L /* Param to lockf() to lock rest of file */ And for linux it is zero (it's different for windows). The define should solve at least this particular compile failure. Petr On Wed, 2005-11-23 at 13:40 -0600, Ryan Stille wrote: cut Making all in isam make[2]: Entering directory `/usr/src/mysql-4.1.14/isam' source='open.c' object='open.o' libtool=no \ depfile='.deps/open.Po' tmpdepfile='.deps/open.TPo' \ depmode=gcc /bin/sh ../depcomp \ gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../include -O3 -DDBUG_OFF-c open.c open.c: In function `nisam_open': open.c:136: `F_TO_EOF' undeclared (first use in this function) open.c:136: (Each undeclared identifier is reported only once open.c:136: for each function it appears in.) make[2]: *** [open.o] Error 1 make[2]: Leaving directory `/usr/src/mysql-4.1.14/isam' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/usr/src/mysql-4.1.14' make: *** [all] Error 2 -- Petr Chardin, Software Developer MySQL AB, www.mysql.com Are you MySQL certified? www.mysql.com/certification -- MySQL General Mailing List For list archives: http://lists.mysql.com/mysql To unsubscribe:http://lists.mysql.com/[EMAIL PROTECTED]
5.0.15 Compile error on Redhat EL4.0
Sent this before but didn't get a response ... So sending again ... Compiling from source: Platform is RHEL 4.0 # gcc -v Reading specs from /usr/lib/gcc/i386-redhat-linux/3.4.4/specs Configured with: ../configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --enable-shared --enable-threads=posix --disable-checking --with-system-zlib --enable-__cxa_atexit --disable-libunwind-exceptions --enable-java-awt=gtk --host=i386-redhat-linux Thread model: posix gcc version 3.4.4 20050721 (Red Hat 3.4.4-2) configure- CC=gcc ./configure \ --prefix=/usr/local/mysql-5.0.15-i686-linux-rhel4 --with-libwrap=/usr/lib \ --with-ndbcluster --with-ndb-shm \ --with-ndb-sci The above configure runs fine. make ends with: then mv -f .deps/sql_map.Tpo .deps/sql_map.Po; else rm -f .deps/sql_map.Tpo; exit 1; fi if g++ -DMYSQL_SERVER -DDEFAULT_MYSQL_HOME=\/usr/local/mysql-5.0.15-i686-linux-rhel4\ -DDATADIR=\/usr/local/mysql-5.0.15-i686-linux-rhel4/var\ -DSHAREDIR=\/usr/local/mysql-5.0.15-i686-linux-rhel4/share/mysql\ -DHAVE_CONFIG_H -I. -I. -I.. -I../innobase/include -I../ndb/include -I../ndb/include/ndbapi -I../ndb/include/mgmapi -I../include -I../include -I../regex -I. -I/usr/lib/include -O3 -DDBUG_OFF -fno-implicit-templates -fno-exceptions -fno-rtti -MT mysqld.o -MD -MP -MF .deps/mysqld.Tpo -c -o mysqld.o mysqld.cc; \ then mv -f .deps/mysqld.Tpo .deps/mysqld.Po; else rm -f .deps/mysqld.Tpo; exit 1; fi mysqld.cc: In function `int main(int, char**)': mysqld.cc:3279: error: invalid conversion from `const char*' to `char*' make[4]: *** [mysqld.o] Error 1 make[4]: Leaving directory `/usr/local/src/mysql-5.0.15/sql' make[3]: *** [all-recursive] Error 1 make[3]: Leaving directory `/usr/local/src/mysql-5.0.15/sql' make[2]: *** [all] Error 2 make[2]: Leaving directory `/usr/local/src/mysql-5.0.15/sql' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/usr/local/src/mysql-5.0.15' make: *** [all] Error 2 Any clues? Eric Stewart - Network Admin, USF Tampa Library - [EMAIL PROTECTED] Managing sysadmins is like leading a neighborhood gang of neurotic pumas on jet-powered hoverbikes with nasty smack habits and opposable thumbs. - Feen, Benjy: Pumas on Hoverbikes: Sysadmin Management, http://www.monkeybagel.com/pumas.html -- MySQL General Mailing List For list archives: http://lists.mysql.com/mysql To unsubscribe:http://lists.mysql.com/[EMAIL PROTECTED]
Re: compile error
Hello. Usually compiling manually is not a good idea, if there are official binary for your platform available. Ensure that you have the fresh bison. Mir Islam [EMAIL PROTECTED] wrote: I am stumped with this compile problem with 4.0.24 src. Not sure what is causing it. Can anyone provide some insights? Last time I compiled on the same environment was 4.0.20 source. And all was ok. gcc -DMYSQL_SERVER -DDEFAULT_MYSQL_HOME=3D\/ms/svc/mysql/4.0.24\ -DDATADIR=3D\/ms/data/mysql/4.0.24\ -DSHAREDIR=3D\/ms/svc/mysql/4.0.24/share/mysql\ -DHAVE_CONFIG_H -I. -I. -I.. -I../innobase/include -I./../include -I./../regex -I. -I../include -I. -O3 -DDBUG_OFF -O3 -felide-constructors -fno-exceptions -fno-rtti -mcpu=3Dv8 -Wa,-xarch=3Dv8plusa =20 -fno-implicit-templates -fno-exceptions -fno-rtti -D_FILE_OFFSET_BITS=3D64 -DHAVE_CURSES_H -I/netapp/home/mislam/devel/database/mysql40/include -DHAVE_RWLOCK_T -fno-inline -c sql_yacc.cc /usr/local/share/bison.simple: In function `int yyparse()': /usr/local/share/bison.simple:347: `YYSIZE_T' undeclared (first use this function) /usr/local/share/bison.simple:347: (Each undeclared identifier is reported only once /usr/local/share/bison.simple:347: for each function it appears in.) /usr/local/share/bison.simple:347: parse error before `;' make[3]: *** [sql_yacc.o] Error 1 make[3]: Leaving directory `/netapp/home/mislam/devel/database/mysql40/sql' make[2]: *** [install-recursive] Error 1 make[2]: Leaving directory `/netapp/home/mislam/devel/database/mysql40/sql' make[1]: *** [install] Error 2 make[1]: Leaving directory `/netapp/home/mislam/devel/database/mysql40/sql' make: *** [install-recursive] Error 1 -- 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]
compile error
I am stumped with this compile problem with 4.0.24 src. Not sure what is causing it. Can anyone provide some insights? Last time I compiled on the same environment was 4.0.20 source. And all was ok. gcc -DMYSQL_SERVER -DDEFAULT_MYSQL_HOME=\/ms/svc/mysql/4.0.24\ -DDATADIR=\/ms/data/mysql/4.0.24\ -DSHAREDIR=\/ms/svc/mysql/4.0.24/share/mysql\ -DHAVE_CONFIG_H -I. -I. -I.. -I../innobase/include -I./../include -I./../regex -I. -I../include -I. -O3 -DDBUG_OFF -O3 -felide-constructors -fno-exceptions -fno-rtti -mcpu=v8 -Wa,-xarch=v8plusa -fno-implicit-templates -fno-exceptions -fno-rtti -D_FILE_OFFSET_BITS=64 -DHAVE_CURSES_H -I/netapp/home/mislam/devel/database/mysql40/include -DHAVE_RWLOCK_T -fno-inline -c sql_yacc.cc /usr/local/share/bison.simple: In function `int yyparse()': /usr/local/share/bison.simple:347: `YYSIZE_T' undeclared (first use this function) /usr/local/share/bison.simple:347: (Each undeclared identifier is reported only once /usr/local/share/bison.simple:347: for each function it appears in.) /usr/local/share/bison.simple:347: parse error before `;' make[3]: *** [sql_yacc.o] Error 1 make[3]: Leaving directory `/netapp/home/mislam/devel/database/mysql40/sql' make[2]: *** [install-recursive] Error 1 make[2]: Leaving directory `/netapp/home/mislam/devel/database/mysql40/sql' make[1]: *** [install] Error 2 make[1]: Leaving directory `/netapp/home/mislam/devel/database/mysql40/sql' make: *** [install-recursive] Error 1 -- MySQL General Mailing List For list archives: http://lists.mysql.com/mysql To unsubscribe:http://lists.mysql.com/[EMAIL PROTECTED]
Re: mysql 4.1.5 FreeBSD 4.10 compile error
Unreal HSHH [EMAIL PROTECTED] wrote: Making all in sql make all-recursive Making all in share ../../extra/comp_err -C./charsets/ danish/errmsg.sys Usage: ../../extra/comp_err [-?] [-I] [-V] fromfile[s] tofile *** Error code 255 what's this error? Something wrong which is unclear what. comp_err syntax is broken. The Right Way(tm) to install MySQL on FreeBSD, is use the port /usr/ports/databases/mysql40-server Don't forget to add -DWITH_LINUXTHREADS=yes -DBUILD_OPTIMIZED=yes -- For technical support contracts, goto https://order.mysql.com/?ref=ensita This email is sponsored by Ensita.net http://www.ensita.net/ __ ___ ___ __ / |/ /_ __/ __/ __ \/ /Egor Egorov / /|_/ / // /\ \/ /_/ / /__ [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 4.1.5 FreeBSD 4.10 compile error
Making all in sql make all-recursive Making all in share ../../extra/comp_err -C./charsets/ danish/errmsg.sys Usage: ../../extra/comp_err [-?] [-I] [-V] fromfile[s] tofile *** Error code 255 what's this error? -- MySQL General Mailing List For list archives: http://lists.mysql.com/mysql To unsubscribe:http://lists.mysql.com/[EMAIL PROTECTED]
Re: Unixware 7.1.0 compile error... mysql 4.0.18
On Fri, 23 Apr 2004, Steven Palm wrote: Well, using gcc-3.3_branch and UnixWare 7.1.0, I tried the dev release 4.1.1-alpha off the mysql site to see if I would have better luck You need the latest bk http://dev.mysql.com/doc/mysql/en/Installing_source_tree.html You can run bk under the LKP. That is how I do it. Many patches and fixes are in the bk. Some are necessary for UnixWare 7.1.X. Good Luck, -- Boyd Gerber [EMAIL PROTECTED] ZENEZ 1042 East Fort Union #135, Midvale Utah 84047 -- MySQL General Mailing List For list archives: http://lists.mysql.com/mysql To unsubscribe:http://lists.mysql.com/[EMAIL PROTECTED]
Re: Unixware 7.1.0 compile error... mysql 4.0.18
On Thu, 22 Apr 2004, Steven Palm wrote: I built, tested and installed gcc-2.95.3 on my UnixWare 7.1.0 system. I used your exact configure line above and it died on the --with-extra-charset=comples (said unknown charset), so I took that out. However, still the same error: Sorry that should be --with-extra-charset=complex Making all in share UX:make: WARNING: No suffix list. source='sql_lex.cc' object='sql_lex.o' libtool=no \ depfile='.deps/sql_lex.Po' tmpdepfile='.deps/sql_lex.TPo' \ depmode=gcc /bin/ksh ../depcomp \ gcc -pthread -DUNIXWARE_7 -DHAVE_BROKEN_RWLOCK -DMYSQL_SERVER -DDEFAULT_MYSQL_HOME=\/usr/local/mysql\ -DDATADIR=\/usr/local/mysql/var\ -DSHAREDIR=\/usr/local/mysql/share/mysql\ -DHAVE_CONFIG_H -I. -I. -I.. -I../innobase/include -I./../include -I./../regex -I. -I../include -I. -O3 -DDBUG_OFF -DNO_CPLUSPLUS_ALLOCA -fno-implicit-templates -fno-exceptions -fno-rtti -c -o sql_lex.o `test -f 'sql_lex.cc' || echo './'`sql_lex.cc In file included from item.h:474, from mysql_priv.h:311, from sql_lex.cc:20: item_sum.h: In method `Item_sum_and::Item_sum_and(Item *)': item_sum.h:394: integer constant out of range So, if this isn't an error in the gcc version itself, but something else, it it possible to workaround? Any clue what the error really is? :-( I know I do get some warnings that I ignore. I do not have my UnixWare 7.1.0 in a machine right now. I have some deadlines to meet till Tuesday of next week. Sorry, -- Boyd Gerber [EMAIL PROTECTED] ZENEZ 1042 East Fort Union #135, Midvale Utah 84047 -- MySQL General Mailing List For list archives: http://lists.mysql.com/mysql To unsubscribe:http://lists.mysql.com/[EMAIL PROTECTED]
Re: Unixware 7.1.0 compile error... mysql 4.0.18
On Thu, 22 Apr 2004, Steven Palm wrote: Just noticed that what SCO was packaging in their (formerly available) Open Source Tool Kit for Unixware ( ) was 2.95.3pl1... They said it was 2.95.3 with the following patches: I always download the lastest CVS with all patches for the tree of gcc that I am using. The latest patches to all version of gcc are on the CVS tree or branch for the version. These are often needed to get MySQL to work. The OSTK version contains a few additional fixes to correct problems on Open UNIX 8.0 and UnixWare 7.1.1 systems. These corrections include: *a fix for 64 bit integer constant folding *working UNIX profiling (-p) *ability to optionally use the tracing thread library, libthreadT.so *updated system header modification scripts for OU 8.0 and UDK 7.1.1b FS *providing header modification at installation time - allowing same package to be installed on different OS versions The compilers have been configured: *to support 64 bit integer types *to provide the C++ runtime as an archive and a shared object *for thread safety *the C and C++ runtime is configured for POSIX threads *C++ source code is always compiled with _PTHREAD defined to allow the Standard Template Library to be used safely by threaded programs. *to generate Dwarf 2 debugging information. *to use the GNU x86 assembler (/usr/gnu/bin/as). *to use the UNIX linker (/usr/ccs/bin/ld) Since this error is when ULONGLONG_MAX is being used, is this related to the 64-bit integer stuff mentioned above? If so, does anyone have a copy of the required patches? Will going to a later version of gcc help, but not hurt anything else? :-) I hear talk about the big changes between 2.95 and 3.x series, has it settled down finally to the point that 3.x is preferred to use? I use gcc-3.4.0 from CVS and it does work. Yes the above is part of the problem. That is why I said you need all patches both OS and gcc. Good Luck, -- Boyd Gerber [EMAIL PROTECTED] ZENEZ 1042 East Fort Union #135, Midvale Utah 84047 -- MySQL General Mailing List For list archives: http://lists.mysql.com/mysql To unsubscribe:http://lists.mysql.com/[EMAIL PROTECTED]
Re: Unixware 7.1.0 compile error... mysql 4.0.18
On Apr 23, 2004, at 8:30 AM, Boyd Lynn Gerber wrote: I always download the lastest CVS with all patches for the tree of gcc that I am using. The latest patches to all version of gcc are on the CVS tree or branch for the version. These are often needed to get MySQL to work. Bother... I have all the latest patches to UnixWare 7.1.0 installed, and I have a fresh-from-CVS (gcc-2.95_branch) gcc installed (reports 2.95.4 as version). Same error (not a warning) on sql_lex.cc: item_sum.h:394: integer constant out of range I tried to compile gcc-3_40 (release, not CVS) but it wouldn't compile. If I knew for sure that it would fix the problem (where 2.95.4 did not), I would try a 3.3 series, but at this point I've spent quite a bit of time and haven't moved much. :-( -- MySQL General Mailing List For list archives: http://lists.mysql.com/mysql To unsubscribe:http://lists.mysql.com/[EMAIL PROTECTED]
Re: Unixware 7.1.0 compile error... mysql 4.0.18
On Apr 23, 2004, at 8:30 AM, Boyd Lynn Gerber wrote: I always download the lastest CVS with all patches for the tree of gcc that I am using. The latest patches to all version of gcc are on the CVS tree or branch for the version. These are often needed to get MySQL to work. Striking out with the 2.95branch, and not getting 3.40 to compile, I opted for 3.3branch. Looks like the same error (and more): Making all in share UX:make: WARNING: No suffix list. if gcc -pthread -DUNIXWARE_7 -DHAVE_BROKEN_RWLOCK -DMYSQL_SERVER -DDEFA ULT_MYSQL_HOME=\/usr/local/mysql\ -DDATADIR=\/usr/local/mysql/var\ -DS HAREDIR=\/usr/local/mysql/share/mysql\ -DHAVE_CONFIG_H -I. -I. -I.. -I../in nobase/include -I./../include -I./../regex -I. -I../include -I. -I/usr/local/ include -O3 -DDBUG_OFF -I/usr/local/include -DNO_CPLUSPLUS_ALLOCA -fno-impl icit-templates -fno-exceptions -fno-rtti -DUSE_MYSYS_NEW -DDEFINE_CXA_PURE_VIRTU AL -MT sql_lex.o -MD -MP -MF .deps/sql_lex.Tpo \ -c -o sql_lex.o `test -f 'sql_lex.cc' || echo './'`sql_lex.cc; \ then mv -f .deps/sql_lex.Tpo .deps/sql_lex.Po; \ else rm -f .deps/sql_lex.Tpo; exit 1; \ fi In file included from item.h:474, from mysql_priv.h:311, from sql_lex.cc:20: item_sum.h:394: error: integer constant is too large for long type In file included from mysql_priv.h:312, from sql_lex.cc:20: sql_class.h:169: error: non-local function `volatile pthread_mutex_t* MYSQL_LOG::get_log_lock()' uses anonymous type /usr/local/lib/gcc-lib/i686-unknown-sysv5UnixWare7.1.0/3.3.4/include/ sys/types.h :680: error: ` typedef volatile struct anonymous pthread_mutex_t' does not refer to the unqualified type, so it is not used for linkage In file included from mysql_priv.h:312, from sql_lex.cc:20: sql_class.h:521: error: non-local function `const char* THD::enter_cond(volatile pthread_cond_t*, volatile pthread_mutex_t*, const char*)' uses anonymous type /usr/local/lib/gcc-lib/i686-unknown-sysv5UnixWare7.1.0/3.3.4/include/ sys/types.h :704: error: ` typedef volatile struct anonymous pthread_cond_t' does not refer to the unqualified type, so it is not used for linkage In file included from sql_class.h:625, from mysql_priv.h:312, from sql_lex.cc:20: log_event.h:243: error: non-local function `static Log_event* Log_event::read_log_event(IO_CACHE*, volatile pthread_mutex_t*, bool)' uses anonymous type /usr/local/lib/gcc-lib/i686-unknown-sysv5UnixWare7.1.0/3.3.4/include/ sys/types.h :680: error: ` typedef volatile struct anonymous pthread_mutex_t' does not refer to the unqualified type, so it is not used for linkage log_event.h:245: error: non-local function `static int Log_event::read_log_event(IO_CACHE*, String*, volatile pthread_mutex_t*)' uses anonymous type /usr/local/lib/gcc-lib/i686-unknown-sysv5UnixWare7.1.0/3.3.4/include/ sys/types.h :680: error: ` typedef volatile struct anonymous pthread_mutex_t' does not refer to the unqualified type, so it is not used for linkage In file included from sql_lex.cc:20: mysql_priv.h:536: error: non-local function `int mysqld_show(THD*, const char*, show_var_st*, enum_var_type, volatile pthread_mutex_t*)' uses anonymous type /usr/local/lib/gcc-lib/i686-unknown-sysv5UnixWare7.1.0/3.3.4/include/ sys/types.h :680: error: ` typedef volatile struct anonymous pthread_mutex_t' does not refer to the unqualified type, so it is not used for linkage *** Error code 1 (bu21) The OSTK version contains a few additional fixes to correct problems on Open UNIX 8.0 and UnixWare 7.1.1 systems. These corrections include: * a fix for 64 bit integer constant folding * working UNIX profiling (-p) * ability to optionally use the tracing thread library, libthreadT.so * updated system header modification scripts for OU 8.0 and UDK 7.1.1b FS * providing header modification at installation time - allowing same package to be installed on different OS versions The compilers have been configured: *to support 64 bit integer types *to provide the C++ runtime as an archive and a shared object *for thread safety *the C and C++ runtime is configured for POSIX threads *C++ source code is always compiled with _PTHREAD defined to allow the Standard Template Library to be used safely by threaded programs. *to generate Dwarf 2 debugging information. *to use the GNU x86 assembler (/usr/gnu/bin/as). *to use the UNIX linker (/usr/ccs/bin/ld) Since this error is when ULONGLONG_MAX is being used, is this related to the 64-bit integer stuff mentioned above? If so, does anyone have a copy of the required patches? Will going to a later version of gcc help, but not hurt anything else? :-) I hear talk about the
Re: Unixware 7.1.0 compile error... mysql 4.0.18
Well, using gcc-3.3_branch and UnixWare 7.1.0, I tried the dev release 4.1.1-alpha off the mysql site to see if I would have better luck CC=gcc CFLAGS=-I/usr/local/include CXX=gcc CXXFLAGS=-I/usr/local/include ./configure --prefix=/usr/local/mysql --with-innodb --with-berkeley-db=./bdb - -with-openssl --with-extra-charsets=complex (tried with and without --thread-safe-client) UX:make: WARNING: No suffix list. source='sql_lex.cc' object='sql_lex.o' libtool=no \ depfile='.deps/sql_lex.Po' tmpdepfile='.deps/sql_lex.TPo' \ depmode=gcc3 /bin/ksh ../depcomp \ gcc -pthread -DUNIXWARE_7 -DHAVE_BROKEN_RWLOCK -DMYSQL_SERVER -DDEFAULT _MYSQL_HOME=\/usr/local/mysql\ -DDATADIR=\/usr/local/mysql/var\ -DSHAR EDIR=\/usr/local/mysql/share/mysql\ -DHAVE_CONFIG_H -I. -I. -I.. -I../bdb/b uild_unix -I../innobase/include -I../include -I../regex -I. -I/usr/local/inclu de -O3 -DDBUG_OFF -I/usr/local/include -DNO_CPLUSPLUS_ALLOCA -fno-implicit- templates -fno-exceptions -fno-rtti -DUSE_MYSYS_NEW -DDEFINE_CXA_PURE_VIRTUAL -c -o sql_lex.o `test -f sql_lex.cc || echo './'`sql_lex.cc In file included from mysql_priv.h:347, from sql_lex.cc:20: sql_class.h:182: error: non-local function `volatile pthread_mutex_t* MYSQL_LOG::get_log_lock()' uses anonymous type /usr/local/lib/gcc-lib/i686-unknown-sysv5UnixWare7.1.0/3.3.4/include/ sys/types.h :680: error: ` typedef volatile struct anonymous pthread_mutex_t' does not refer to the unqualified type, so it is not used for linkage In file included from mysql_priv.h:347, from sql_lex.cc:20: sql_class.h:653: error: non-local function `const char* THD::enter_cond(volatile pthread_cond_t*, volatile pthread_mutex_t*, const char*)' uses anonymous type /usr/local/lib/gcc-lib/i686-unknown-sysv5UnixWare7.1.0/3.3.4/include/ sys/types.h :704: error: ` typedef volatile struct anonymous pthread_cond_t' does not refer to the unqualified type, so it is not used for linkage In file included from sql_class.h:765, from mysql_priv.h:347, from sql_lex.cc:20: log_event.h:354: error: non-local function `static Log_event* Log_event::read_log_event(IO_CACHE*, volatile pthread_mutex_t*, bool)' uses anonymous type /usr/local/lib/gcc-lib/i686-unknown-sysv5UnixWare7.1.0/3.3.4/include/ sys/types.h :680: error: ` typedef volatile struct anonymous pthread_mutex_t' does not refer to the unqualified type, so it is not used for linkage log_event.h:356: error: non-local function `static int Log_event::read_log_event(IO_CACHE*, String*, volatile pthread_mutex_t*)' uses anonymous type /usr/local/lib/gcc-lib/i686-unknown-sysv5UnixWare7.1.0/3.3.4/include/ sys/types.h :680: error: ` typedef volatile struct anonymous pthread_mutex_t' does not refer to the unqualified type, so it is not used for linkage In file included from sql_lex.cc:20: mysql_priv.h:609: error: non-local function `int mysqld_show(THD*, const char*, show_var_st*, enum_var_type, volatile pthread_mutex_t*)' uses anonymous type /usr/local/lib/gcc-lib/i686-unknown-sysv5UnixWare7.1.0/3.3.4/include/ sys/types.h :680: error: ` typedef volatile struct anonymous pthread_mutex_t' does not refer to the unqualified type, so it is not used for linkage *** Error code 1 (bu21) UX:make: ERROR: fatal error. *** Error code 1 (bu21) UX:make: ERROR: fatal error. *** Error code 1 (bu21) UX:make: ERROR: fatal error. *** Error code 1 (bu21) UX:make: ERROR: fatal error. *** Error code 1 (bu21) UX:make: ERROR: fatal error. -- MySQL General Mailing List For list archives: http://lists.mysql.com/mysql To unsubscribe:http://lists.mysql.com/[EMAIL PROTECTED]
Unixware 7.1.0 compile error... mysql 4.0.18
Using the production code 4.0.18 on a UnixWare 7.1.0 system, it fails to compile here. I do not have a 'CC' executable, so I am using gcc. If this is the problem, did I just miss installng the CC (c++) compiler at some point? Anyway, the errors: source='sql_lex.cc' object='sql_lex.o' libtool=no \ depfile='.deps/sql_lex.Po' tmpdepfile='.deps/sql_lex.TPo' \ depmode=gcc /bin/ksh ../depcomp \ g++ -pthread -DUNIXWARE_7 -DHAVE_BROKEN_RWLOCK -DMYSQL_SERVER -DDEFAULT_MYSQL_HOME=\/usr/local/mysql\ -DDATADIR=\/usr/local/mysql/var\ -DSHAREDIR=\/usr/local/mysql/share/mysql\ -DHAVE_CONFIG_H -I. -I. -I.. -I../innobase/include -I./../include -I./../regex -I. -I../include -I. -O3 -DDBUG_OFF -DNO_CPLUSPLUS_ALLOCA -fno-implicit-templates -fno-exceptions -fno-rtti -c -o sql_lex.o `test -f 'sql_lex.cc' || echo './'`sql_lex.cc In file included from item.h:474, from mysql_priv.h:311, from sql_lex.cc:20: item_sum.h: In method `Item_sum_and::Item_sum_and(Item *)': item_sum.h:394: integer constant out of range Any ideas? I've used the suggested configure line. -- MySQL General Mailing List For list archives: http://lists.mysql.com/mysql To unsubscribe:http://lists.mysql.com/[EMAIL PROTECTED]
Re: Unixware 7.1.0 compile error... mysql 4.0.18
On Thu, 22 Apr 2004, Steven Palm wrote: Using the production code 4.0.18 on a UnixWare 7.1.0 system, it fails to compile here. I do not have a 'CC' executable, so I am using gcc. If this is the problem, did I just miss installng the CC (c++) compiler at some point? You have to use the following. CC=gcc CXX=gcc ./configure . Anyway, the errors: source='sql_lex.cc' object='sql_lex.o' libtool=no \ depfile='.deps/sql_lex.Po' tmpdepfile='.deps/sql_lex.TPo' \ depmode=gcc /bin/ksh ../depcomp \ g++ -pthread -DUNIXWARE_7 -DHAVE_BROKEN_RWLOCK -DMYSQL_SERVER -DDEFAULT_MYSQL_HOME=\/usr/local/mysql\ -DDATADIR=\/usr/local/mysql/var\ -DSHAREDIR=\/usr/local/mysql/share/mysql\ -DHAVE_CONFIG_H -I. -I. -I.. -I../innobase/include -I./../include -I./../regex -I. -I../include -I. -O3 -DDBUG_OFF -DNO_CPLUSPLUS_ALLOCA -fno-implicit-templates -fno-exceptions -fno-rtti -c -o sql_lex.o `test -f 'sql_lex.cc' || echo './'`sql_lex.cc In file included from item.h:474, from mysql_priv.h:311, from sql_lex.cc:20: item_sum.h: In method `Item_sum_and::Item_sum_and(Item *)': item_sum.h:394: integer constant out of range Any ideas? I've used the suggested configure line. I was able to build it with the following... CC=gcc CFLAGS=-I/usr/local/include CXX=gcc CXXFLAGS=-I/usr/local/include ./configure --prefix=/usr/local/mysql --enable-thread-safe-client --with-innodb --with-berkelye-db=./bdb --with-openssl --with-extra-charsets=comples I had to make sure all the patches for the OS were installed. Good Luck, -- Boyd Gerber [EMAIL PROTECTED] ZENEZ 1042 East Fort Union #135, Midvale Utah 84047 -- MySQL General Mailing List For list archives: http://lists.mysql.com/mysql To unsubscribe:http://lists.mysql.com/[EMAIL PROTECTED]
Re: Unixware 7.1.0 compile error... mysql 4.0.18
On Apr 22, 2004, at 3:28 PM, Boyd Lynn Gerber wrote: On Thu, 22 Apr 2004, Steven Palm wrote: Using the production code 4.0.18 on a UnixWare 7.1.0 system, it fails to compile here. Anyway, the errors: source='sql_lex.cc' object='sql_lex.o' libtool=no \ depfile='.deps/sql_lex.Po' tmpdepfile='.deps/sql_lex.TPo' \ depmode=gcc /bin/ksh ../depcomp \ g++ -pthread -DUNIXWARE_7 -DHAVE_BROKEN_RWLOCK -DMYSQL_SERVER -DDEFAULT_MYSQL_HOME=\/usr/local/mysql\ -DDATADIR=\/usr/local/mysql/var\ -DSHAREDIR=\/usr/local/mysql/share/mysql\ -DHAVE_CONFIG_H -I. -I. -I.. -I../innobase/include -I./../include -I./../regex -I. -I../include -I. -O3 -DDBUG_OFF -DNO_CPLUSPLUS_ALLOCA -fno-implicit-templates -fno-exceptions -fno-rtti -c -o sql_lex.o `test -f 'sql_lex.cc' || echo './'`sql_lex.cc In file included from item.h:474, from mysql_priv.h:311, from sql_lex.cc:20: item_sum.h: In method `Item_sum_and::Item_sum_and(Item *)': item_sum.h:394: integer constant out of range I was able to build it with the following... CC=gcc CFLAGS=-I/usr/local/include CXX=gcc CXXFLAGS=-I/usr/local/include ./configure --prefix=/usr/local/mysql --enable-thread-safe-client --with-innodb --with-berkelye-db=./bdb --with-openssl --with-extra-charsets=comples On a 7.1.0 system or a later version? My gcc is 2.95.2. Using the above gives me the same error as originally quoted. I had to make sure all the patches for the OS were installed. I have all the critical ones and nothing else seems relevant. I wish that it wasn't so bloody difficult to figure out from SCO's website what upgrades you are entitled to and how you'd get them. I don't know if we can upgrade our 7.1.0 system to 7.1.1 or later without paying more blood money to SCO or not. I see they have at least a 2.95.3pl1 compiler, but I can't find out where to download it (and associated utils); even then, it's not supported on 7.1.0, only 7.1.1 and up.. Every time I have to compile a piece of software for this system I grit my teeth, so I'd really appreciate any advice, especially since you have managed to get it working. Best, Steve -- MySQL General Mailing List For list archives: http://lists.mysql.com/mysql To unsubscribe:http://lists.mysql.com/[EMAIL PROTECTED]
Re: Unixware 7.1.0 compile error... mysql 4.0.18
On Thu, 22 Apr 2004, Steven Palm wrote: On Apr 22, 2004, at 3:28 PM, Boyd Lynn Gerber wrote: On Thu, 22 Apr 2004, Steven Palm wrote: Using the production code 4.0.18 on a UnixWare 7.1.0 system, it fails to compile here. I was able to build it with the following... CC=gcc CFLAGS=-I/usr/local/include CXX=gcc CXXFLAGS=-I/usr/local/include ./configure --prefix=/usr/local/mysql --enable-thread-safe-client --with-innodb --with-berkelye-db=./bdb --with-openssl --with-extra-charsets=comples On a 7.1.0 system or a later version? My gcc is 2.95.2. Using the above gives me the same error as originally quoted. You need gcc-2.95.3 or newer. There are some patches for gcc on my site ftp.zenez.com. Also when doing things for Both OpenServer and UnixWare I have a FAQ's for UnixWare and OpenUNIX and a programmers FAQ on http://www.zenez.com/cgi-bin/scoprogfaq/faq.pl http://www.zenez.com/cgi-bin/ou8faq/faq.pl These should help you with a lot of your problems. I had to make sure all the patches for the OS were installed. I have all the critical ones and nothing else seems relevant. I wish that it wasn't so bloody difficult to figure out from SCO's website what upgrades you are entitled to and how you'd get them. I don't know if we can upgrade our 7.1.0 system to 7.1.1 or later without paying more blood money to SCO or not. I see they have at least a 2.95.3pl1 compiler, but I can't find out where to download it (and associated utils); even then, it's not supported on 7.1.0, only 7.1.1 and up.. There was a free upgrade from 7.1.0 to 7.1.1 if my memory servers me. The best way to find out about patches is the README files on ftp.sco.com. BTW there my site also has a mirror of the SCO ftp site on ftp.zenez.com in the pub/caldera directory. Every time I have to compile a piece of software for this system I grit my teeth, so I'd really appreciate any advice, especially since you have managed to get it working. I do offer support for a fee. I do try to make sure MySQL works on the various versions for the SCO OS's. I test the bk for UnixWare 7.1.3 and OpenServer 5.0.7 which are the lastest versions of both OS's. Once a release is done I do test it on OpenServer 5.0.6, OpenServer 5.0.7, UnixWare 7.1.1, OpenUNIX 8.0(UnixWare 7.1.2), and UnixWare 7.1.3. Good Luck, -- Boyd Gerber [EMAIL PROTECTED] ZENEZ 1042 East Fort Union #135, Midvale Utah 84047 -- MySQL General Mailing List For list archives: http://lists.mysql.com/mysql To unsubscribe:http://lists.mysql.com/[EMAIL PROTECTED]
Re: Unixware 7.1.0 compile error... mysql 4.0.18
I just wrote: On Apr 22, 2004, at 6:26 PM, Boyd Lynn Gerber wrote: CC=gcc CFLAGS=-I/usr/local/include CXX=gcc CXXFLAGS=-I/usr/local/include ./configure --prefix=/usr/local/mysql --enable-thread-safe-client --with-innodb --with-berkelye-db=./bdb --with-openssl --with-extra-charsets=comples On a 7.1.0 system or a later version? My gcc is 2.95.2. Using the above gives me the same error as originally quoted. You need gcc-2.95.3 or newer. I built, tested and installed gcc-2.95.3 on my UnixWare 7.1.0 system. I used your exact configure line above and it died on the --with-extra-charset=comples (said unknown charset), so I took that out. However, still the same error: Making all in share UX:make: WARNING: No suffix list. source='sql_lex.cc' object='sql_lex.o' libtool=no \ depfile='.deps/sql_lex.Po' tmpdepfile='.deps/sql_lex.TPo' \ depmode=gcc /bin/ksh ../depcomp \ gcc -pthread -DUNIXWARE_7 -DHAVE_BROKEN_RWLOCK -DMYSQL_SERVER -DDEFAULT_MYSQL_HOME=\/usr/local/mysql\ -DDATADIR=\/usr/local/mysql/var\ -DSHAREDIR=\/usr/local/mysql/share/mysql\ -DHAVE_CONFIG_H -I. -I. -I.. -I../innobase/include -I./../include -I./../regex -I. -I../include -I. -O3 -DDBUG_OFF -DNO_CPLUSPLUS_ALLOCA -fno-implicit-templates -fno-exceptions -fno-rtti -c -o sql_lex.o `test -f 'sql_lex.cc' || echo './'`sql_lex.cc In file included from item.h:474, from mysql_priv.h:311, from sql_lex.cc:20: item_sum.h: In method `Item_sum_and::Item_sum_and(Item *)': item_sum.h:394: integer constant out of range Just noticed that what SCO was packaging in their (formerly available) Open Source Tool Kit for Unixware ( ) was 2.95.3pl1... They said it was 2.95.3 with the following patches: The OSTK version contains a few additional fixes to correct problems on Open UNIX 8.0 and UnixWare 7.1.1 systems. These corrections include: * a fix for 64 bit integer constant folding * working UNIX profiling (-p) * ability to optionally use the tracing thread library, libthreadT.so * updated system header modification scripts for OU 8.0 and UDK 7.1.1b FS * providing header modification at installation time - allowing same package to be installed on different OS versions The compilers have been configured: * to support 64 bit integer types * to provide the C++ runtime as an archive and a shared object * for thread safety * the C and C++ runtime is configured for POSIX threads * C++ source code is always compiled with _PTHREAD defined to allow the Standard Template Library to be used safely by threaded programs. * to generate Dwarf 2 debugging information. * to use the GNU x86 assembler (/usr/gnu/bin/as). * to use the UNIX linker (/usr/ccs/bin/ld) Since this error is when ULONGLONG_MAX is being used, is this related to the 64-bit integer stuff mentioned above? If so, does anyone have a copy of the required patches? Will going to a later version of gcc help, but not hurt anything else? :-) I hear talk about the big changes between 2.95 and 3.x series, has it settled down finally to the point that 3.x is preferred to use? Thanks, and sorry if this has gotten a bit off topic. But I'm REALLY needing to get mysql up and running. -- MySQL General Mailing List For list archives: http://lists.mysql.com/mysql To unsubscribe:http://lists.mysql.com/[EMAIL PROTECTED]
Re: Unixware 7.1.0 compile error... mysql 4.0.18
On Apr 22, 2004, at 6:26 PM, Boyd Lynn Gerber wrote: CC=gcc CFLAGS=-I/usr/local/include CXX=gcc CXXFLAGS=-I/usr/local/include ./configure --prefix=/usr/local/mysql --enable-thread-safe-client --with-innodb --with-berkelye-db=./bdb --with-openssl --with-extra-charsets=comples On a 7.1.0 system or a later version? My gcc is 2.95.2. Using the above gives me the same error as originally quoted. You need gcc-2.95.3 or newer. I built, tested and installed gcc-2.95.3 on my UnixWare 7.1.0 system. I used your exact configure line above and it died on the --with-extra-charset=comples (said unknown charset), so I took that out. However, still the same error: Making all in share UX:make: WARNING: No suffix list. source='sql_lex.cc' object='sql_lex.o' libtool=no \ depfile='.deps/sql_lex.Po' tmpdepfile='.deps/sql_lex.TPo' \ depmode=gcc /bin/ksh ../depcomp \ gcc -pthread -DUNIXWARE_7 -DHAVE_BROKEN_RWLOCK -DMYSQL_SERVER -DDEFAULT_MYSQL_HOME=\/usr/local/mysql\ -DDATADIR=\/usr/local/mysql/var\ -DSHAREDIR=\/usr/local/mysql/share/mysql\ -DHAVE_CONFIG_H -I. -I. -I.. -I../innobase/include -I./../include -I./../regex -I. -I../include -I. -O3 -DDBUG_OFF -DNO_CPLUSPLUS_ALLOCA -fno-implicit-templates -fno-exceptions -fno-rtti -c -o sql_lex.o `test -f 'sql_lex.cc' || echo './'`sql_lex.cc In file included from item.h:474, from mysql_priv.h:311, from sql_lex.cc:20: item_sum.h: In method `Item_sum_and::Item_sum_and(Item *)': item_sum.h:394: integer constant out of range So, if this isn't an error in the gcc version itself, but something else, it it possible to workaround? Any clue what the error really is? :-( -- MySQL General Mailing List For list archives: http://lists.mysql.com/mysql To unsubscribe:http://lists.mysql.com/[EMAIL PROTECTED]
a different compile error
I am having some compile problems too: make[4]: Entering directory `/usr/src/mysql-4.1.0-alpha/sql' source='sql_lex.cc' object='sql_lex.o' libtool=no \ depfile='.deps/sql_lex.Po' tmpdepfile='.deps/sql_lex.TPo' \ depmode=gcc /bin/bash ../depcomp \ gcc -DMYSQL_SERVER -DDEFAULT_MYSQL_HOME=\/usr/local/mysql\ -DDATADIR=\/usr/local/mysql/var\ -DSHAREDIR=\/usr/local/mysql/share/mysql\ -DHAVE_CONFIG_H -I. -I. -I.. -I../innobase/include -I../include -I../regex -I. -O3 -DDBUG_OFF -O3 -felide-constructors -fno-exceptions -fno-rtti -fno-implicit-templates -fno-exceptions -fno-rtti -D_FILE_OFFSET_BITS=64 -DHAVE_RWLOCK_T -c -o sql_lex.o `test -f sql_lex.cc || echo './'`sql_lex.cc sql_lex.cc: In function `void lex_init()': sql_lex.cc:83: `symbols' undeclared (first use this function) sql_lex.cc:83: (Each undeclared identifier is reported only once sql_lex.cc:83: for each function it appears in.) sql_lex.cc:85: `sql_functions' undeclared (first use this function) sql_lex.cc: In function `int find_keyword(LEX *, unsigned int, bool)': sql_lex.cc:140: implicit declaration of function `int get_hash_symbol(...)' sql_lex.cc:140: initialization to `SYMBOL *' from `int' lacks a cast make[4]: *** [sql_lex.o] Error 1 make[4]: Leaving directory `/usr/src/mysql-4.1.0-alpha/sql' make[3]: *** [all-recursive] Error 1 make[3]: Leaving directory `/usr/src/mysql-4.1.0-alpha/sql' make[2]: *** [all] Error 2 make[2]: Leaving directory `/usr/src/mysql-4.1.0-alpha/sql' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/usr/src/mysql-4.1.0-alpha' make: *** [all] Error 2 This is mysql 4.1 on solaris with gcc. --ja -- -- MySQL General Mailing List For list archives: http://lists.mysql.com/mysql To unsubscribe:http://lists.mysql.com/[EMAIL PROTECTED]
Re: compile error mysql-4.0.16
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 gcc: cannot specify -o with -c or -S and multiple compilations make[2]: *** [libmysql.lo] Error 1 make[2]: Leaving directory `/usr/local/src/web/mysql-4.0.16/libmysql_r' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/usr/local/src/web/mysql-4.0.16' make: *** [all] Error 2 It seems your GNU Compiler Collection does not support options -o, -c and -S, as well as multiple connections. You should try to get a new one (http://gcc.gnu.org/). Patrik Fimml -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.3 (GNU/Linux) iQEVAwUBP5t155FyPD7t0rMPAQJROgf+PeUtd3LjFWa2Qd/wOkQfP7MQL2E38bVE lcBoE6cyP8yweFBlaqsyXDmvlE00AmNg54MszlUT+n3JuB9oxIKEGQxYcEw16HuC g3LpsG1ruXlJoVTOk83W5Vx90RCM8zSICeEu34ykgrq3fqJsiGLOM0R/MBjARtgv 8tUkYktfu6vnqmZCq9MItCoROptUA3bFQxpCYxNYYBlv1SMe5FKjY//OP613sufO IdGPADo67HfL+Ju59UGEoLZnm6FECDXe1+s3Nalp31oKo9Ca3kZZ5WJtWJIUQ0EQ xQNCPQZy+xJE7FEjVE3VpZIaabSVC31/SHNnLiRBIAgbX+3Dj8bCEw== =wQhH -END PGP SIGNATURE- -- MySQL General Mailing List For list archives: http://lists.mysql.com/mysql To unsubscribe:http://lists.mysql.com/[EMAIL PROTECTED]
RE: compile error mysql-4.0.16
Okay, I've update gcc to : gcc (GCC) 3.3.2 And I'm still getting the same error. It's a RH9.0 box. Hope someone can shed some light on this. Thanks in advance. -Original Message- From: Patrik Fimml [mailto:[EMAIL PROTECTED] Sent: Sunday, October 26, 2003 8:21 AM To: Richard Pijnenburg; [EMAIL PROTECTED] Subject: Re: compile error mysql-4.0.16 -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 gcc: cannot specify -o with -c or -S and multiple compilations make[2]: *** [libmysql.lo] Error 1 make[2]: Leaving directory `/usr/local/src/web/mysql-4.0.16/libmysql_r' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/usr/local/src/web/mysql-4.0.16' make: *** [all] Error 2 It seems your GNU Compiler Collection does not support options -o, -c and -S, as well as multiple connections. You should try to get a new one (http://gcc.gnu.org/). Patrik Fimml -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.3 (GNU/Linux) iQEVAwUBP5t155FyPD7t0rMPAQJROgf+PeUtd3LjFWa2Qd/wOkQfP7MQL2E38bVE lcBoE6cyP8yweFBlaqsyXDmvlE00AmNg54MszlUT+n3JuB9oxIKEGQxYcEw16HuC g3LpsG1ruXlJoVTOk83W5Vx90RCM8zSICeEu34ykgrq3fqJsiGLOM0R/MBjARtgv 8tUkYktfu6vnqmZCq9MItCoROptUA3bFQxpCYxNYYBlv1SMe5FKjY//OP613sufO IdGPADo67HfL+Ju59UGEoLZnm6FECDXe1+s3Nalp31oKo9Ca3kZZ5WJtWJIUQ0EQ xQNCPQZy+xJE7FEjVE3VpZIaabSVC31/SHNnLiRBIAgbX+3Dj8bCEw== =wQhH -END PGP SIGNATURE- -- MySQL General Mailing List For list archives: http://lists.mysql.com/mysql To unsubscribe:http://lists.mysql.com/[EMAIL PROTECTED] -- MySQL General Mailing List For list archives: http://lists.mysql.com/mysql To unsubscribe:http://lists.mysql.com/[EMAIL PROTECTED]
RE: compile error mysql-4.0.16
Like my last mail, I've updated gcc to the newest version. And tried to recompile mysql, without any luck. The strange thing is to, with version 4.0.14 I've got no problems. Only with 4.0.15,4.0.15a 4.0.16 I've got this error message. I hope someone can help me with this caus I'm tierd to stay with an old version of mysql :( Thanks in advanced. ( p.s. a binary is NOT an option ) -Original Message- From: Richard Pijnenburg [mailto:[EMAIL PROTECTED] Sent: Sunday, October 26, 2003 3:48 PM To: 'Patrik Fimml' Cc: [EMAIL PROTECTED] Subject: RE: compile error mysql-4.0.16 Okay, I've update gcc to : gcc (GCC) 3.3.2 And I'm still getting the same error. It's a RH9.0 box. Hope someone can shed some light on this. Thanks in advance. -Original Message- From: Patrik Fimml [mailto:[EMAIL PROTECTED] Sent: Sunday, October 26, 2003 8:21 AM To: Richard Pijnenburg; [EMAIL PROTECTED] Subject: Re: compile error mysql-4.0.16 -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 gcc: cannot specify -o with -c or -S and multiple compilations make[2]: *** [libmysql.lo] Error 1 make[2]: Leaving directory `/usr/local/src/web/mysql-4.0.16/libmysql_r' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/usr/local/src/web/mysql-4.0.16' make: *** [all] Error 2 It seems your GNU Compiler Collection does not support options -o, -c and -S, as well as multiple connections. You should try to get a new one (http://gcc.gnu.org/). Patrik Fimml -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.3 (GNU/Linux) iQEVAwUBP5t155FyPD7t0rMPAQJROgf+PeUtd3LjFWa2Qd/wOkQfP7MQL2E38bVE lcBoE6cyP8yweFBlaqsyXDmvlE00AmNg54MszlUT+n3JuB9oxIKEGQxYcEw16HuC g3LpsG1ruXlJoVTOk83W5Vx90RCM8zSICeEu34ykgrq3fqJsiGLOM0R/MBjARtgv 8tUkYktfu6vnqmZCq9MItCoROptUA3bFQxpCYxNYYBlv1SMe5FKjY//OP613sufO IdGPADo67HfL+Ju59UGEoLZnm6FECDXe1+s3Nalp31oKo9Ca3kZZ5WJtWJIUQ0EQ xQNCPQZy+xJE7FEjVE3VpZIaabSVC31/SHNnLiRBIAgbX+3Dj8bCEw== =wQhH -END PGP SIGNATURE- -- MySQL General Mailing List For list archives: http://lists.mysql.com/mysql To unsubscribe:http://lists.mysql.com/[EMAIL PROTECTED] -- MySQL General Mailing List For list archives: http://lists.mysql.com/mysql To unsubscribe:http://lists.mysql.com/[EMAIL PROTECTED] -- MySQL General Mailing List For list archives: http://lists.mysql.com/mysql To unsubscribe:http://lists.mysql.com/[EMAIL PROTECTED]
compile error mysql-4.0.16
dear list, i've got the folowing compile error. /bin/sh ../libtool --mode=compile gcc -DDEFAULT_CHARSET_HOME=\/usr/local/mysql\ -DDATADIR=\/data/mysql\ -DSHAREDIR=\/usr/local/mysql/share/mysql\ -DDONT_USE_RAID -I. -I. -I.. -I./../include -I../include -I./.. -I.. -I.. /usr/local/openssl/include-O3 -DDBUG_OFF -c -o libmysql.lo `test -f libmysql.c || echo './'`libmysql.c rm -f .libs/libmysql.lo gcc -DDEFAULT_CHARSET_HOME=\/usr/local/mysql\ -DDATADIR=\/data/mysql\ -DSHAREDIR=\/usr/local/mysql/share/mysql\ -DDONT_USE_RAID -I. -I. -I.. -I./../include -I../include -I./.. -I.. -I.. /usr/local/openssl/include -O3 -DDBUG_OFF -c libmysql.c -MT libmysql.lo -MD -MP -MF .deps/libmysql.TPlo -fPIC -DPIC -o .libs/libmysql.lo gcc: cannot specify -o with -c or -S and multiple compilations make[2]: *** [libmysql.lo] Error 1 make[2]: Leaving directory `/usr/local/src/web/mysql-4.0.16/libmysql_r' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/usr/local/src/web/mysql-4.0.16' make: *** [all] Error 2 i'm trying this with mysql-4.0.16, but i also got this with 4.0.15 and 4.0.15a with 4.0.14 it's going good. does anyone know how to solve this? thanks in advance.
Compile error with Mysql-4.0.16
dear list, i've got the folowing compile error. /bin/sh ../libtool --mode=compile gcc -DDEFAULT_CHARSET_HOME=\/usr/local/mysql\ -DDATADIR=\/data/mysql\ -DSHAREDIR=\/usr/local/mysql/share/mysql\ -DDONT_USE_RAID -I. -I. -I.. -I./../include -I../include -I./.. -I.. -I.. /usr/local/openssl/include-O3 -DDBUG_OFF -c -o libmysql.lo `test -f libmysql.c || echo './'`libmysql.c rm -f .libs/libmysql.lo gcc -DDEFAULT_CHARSET_HOME=\/usr/local/mysql\ -DDATADIR=\/data/mysql\ -DSHAREDIR=\/usr/local/mysql/share/mysql\ -DDONT_USE_RAID -I. -I. -I.. -I./../include -I../include -I./.. -I.. -I.. /usr/local/openssl/include -O3 -DDBUG_OFF -c libmysql.c -MT libmysql.lo -MD -MP -MF .deps/libmysql.TPlo -fPIC -DPIC -o .libs/libmysql.lo gcc: cannot specify -o with -c or -S and multiple compilations make[2]: *** [libmysql.lo] Error 1 make[2]: Leaving directory `/usr/local/src/web/mysql-4.0.16/libmysql_r' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/usr/local/src/web/mysql-4.0.16' make: *** [all] Error 2 i'm trying this with mysql-4.0.16, but i also got this with 4.0.15 and 4.0.15a with 4.0.14 it's going good. does anyone know how to solve this? thanks in advance. with kind regards, Richard Pijnenburg
compile error.
i'm trying to compile mysql-4.0.15a on my server and i'm getting the folowing error: gcc -DDEFAULT_CHARSET_HOME=\/usr/local/mysql\ -DDATADIR=\/data/mysql\ -DSHAREDIR=\/usr/local/mysql/share/mysql\ -DUNDEF_THREADS_HACK -DDONT_USE_RAID -DMYSQL_CLIENT -I. -I. -I.. -I./../include -I../include -I./.. -I.. -I.. /usr/local/openssl/include -O3 -DDBUG_OFF -c libmysql.c -MT libmysql.lo -MD -MP -MF .deps/libmysql.TPlo -fPIC -DPIC -o .libs/libmysql.lo gcc: cannot specify -o with -c or -S and multiple compilations make[2]: *** [libmysql.lo] Error 1 make[2]: Leaving directory `/usr/local/src/web/mysql-4.0.15a/libmysql' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/usr/local/src/web/mysql-4.0.15a' make: *** [all] Error 2 my configure command is this: ./configure \ --prefix=/usr/local/mysql \ --localstatedir=/data/mysql \ --enable-large-files \ --with-innodb \ --with-mysqld-user=mysql \ --disable-maintainer-mode \ --without-docs \ --without-debug \ --without-bench \ --enable-assembler \ --with-openssl=/usr/local/openssl \ --with-openssl-includes=/usr/local/openssl/include \ --with-openssl-libs=/usr/local/openssl/lib \ --with-named-z-libs=/usr/local/zlib/lib thanks in advance.
mysql compile error.
i'm trying to compile mysql-4.0.15a on my server and i'm getting the folowing error: gcc -DDEFAULT_CHARSET_HOME=\/usr/local/mysql\ -DDATADIR=\/data/mysql\ -DSHAREDIR=\/usr/local/mysql/share/mysql\ -DUNDEF_THREADS_HACK -DDONT_USE_RAID -DMYSQL_CLIENT -I. -I. -I.. -I./../include -I../include -I./.. -I.. -I.. /usr/local/openssl/include -O3 -DDBUG_OFF -c libmysql.c -MT libmysql.lo -MD -MP -MF .deps/libmysql.TPlo -fPIC -DPIC -o .libs/libmysql.lo gcc: cannot specify -o with -c or -S and multiple compilations make[2]: *** [libmysql.lo] Error 1 make[2]: Leaving directory `/usr/local/src/web/mysql-4.0.15a/libmysql' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/usr/local/src/web/mysql-4.0.15a' make: *** [all] Error 2 my configure command is this: ./configure \ --prefix=/usr/local/mysql \ --localstatedir=/data/mysql \ --enable-large-files \ --with-innodb \ --with-mysqld-user=mysql \ --disable-maintainer-mode \ --without-docs \ --without-debug \ --without-bench \ --enable-assembler \ --with-openssl=/usr/local/openssl \ --with-openssl-includes=/usr/local/openssl/include \ --with-openssl-libs=/usr/local/openssl/lib \ --with-named-z-libs=/usr/local/zlib/lib thanks in advance.
mysql compile error.
i'm trying to compile mysql-4.0.15a on my server and i'm getting the folowing error: gcc -DDEFAULT_CHARSET_HOME=\/usr/local/mysql\ -DDATADIR=\/data/mysql\ -DSHAREDIR=\/usr/local/mysql/share/mysql\ -DUNDEF_THREADS_HACK -DDONT_USE_RAID -DMYSQL_CLIENT -I. -I. -I.. -I./../include -I../include -I./.. -I.. -I.. /usr/local/openssl/include -O3 -DDBUG_OFF -c libmysql.c -MT libmysql.lo -MD -MP -MF .deps/libmysql.TPlo -fPIC -DPIC -o .libs/libmysql.lo gcc: cannot specify -o with -c or -S and multiple compilations make[2]: *** [libmysql.lo] Error 1 make[2]: Leaving directory `/usr/local/src/web/mysql-4.0.15a/libmysql' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/usr/local/src/web/mysql-4.0.15a' make: *** [all] Error 2 my configure command is this: ./configure \ --prefix=/usr/local/mysql \ --localstatedir=/data/mysql \ --enable-large-files \ --with-innodb \ --with-mysqld-user=mysql \ --disable-maintainer-mode \ --without-docs \ --without-debug \ --without-bench \ --enable-assembler \ --with-openssl=/usr/local/openssl \ --with-openssl-includes=/usr/local/openssl/include \ --with-openssl-libs=/usr/local/openssl/lib \ --with-named-z-libs=/usr/local/zlib/lib thanks in advance. -- MySQL General Mailing List For list archives: http://lists.mysql.com/mysql To unsubscribe:http://lists.mysql.com/[EMAIL PROTECTED]
Re: mysql compile error.
On Thu, 25 Sep 2003 15:28:15 +0200 Richard Pijnenburg [EMAIL PROTECTED] wrote: i'm trying to compile mysql-4.0.15a on my server and i'm getting the folowing error: Richard, please, resend your letter one more time, we have real enjoy reading it again and again... =) --- WBR, Antony Dovgal aka tony2001 [EMAIL PROTECTED] -- MySQL General Mailing List For list archives: http://lists.mysql.com/mysql To unsubscribe:http://lists.mysql.com/[EMAIL PROTECTED]
RE: mysql compile error.
Sorry, but because I haven't got it I thought it didn't get here. Sorry! M.v.g. Richard Pijnenburg -Original Message- From: Antony Dovgal [mailto:[EMAIL PROTECTED] Sent: Thursday, September 25, 2003 3:42 PM To: [EMAIL PROTECTED] Subject: Re: mysql compile error. On Thu, 25 Sep 2003 15:28:15 +0200 Richard Pijnenburg [EMAIL PROTECTED] wrote: i'm trying to compile mysql-4.0.15a on my server and i'm getting the folowing error: Richard, please, resend your letter one more time, we have real enjoy reading it again and again... =) --- WBR, Antony Dovgal aka tony2001 [EMAIL PROTECTED] -- MySQL General Mailing List For list archives: http://lists.mysql.com/mysql To unsubscribe: http://lists.mysql.com/[EMAIL PROTECTED] -- MySQL General Mailing List For list archives: http://lists.mysql.com/mysql To unsubscribe:http://lists.mysql.com/[EMAIL PROTECTED]
RE: mysql compile error.
I've installed now mysql-4.0.14 without any problems. So I think it's something about the .15 version. Does anyone know a thing about it? With kind regards, Richard Pijnenburg -Original Message- From: Richard Pijnenburg [mailto:[EMAIL PROTECTED] Sent: Thursday, September 25, 2003 3:28 PM To: [EMAIL PROTECTED] Subject: mysql compile error. i'm trying to compile mysql-4.0.15a on my server and i'm getting the folowing error: gcc -DDEFAULT_CHARSET_HOME=\/usr/local/mysql\ -DDATADIR=\/data/mysql\ -DSHAREDIR=\/usr/local/mysql/share/mysql\ -DUNDEF_THREADS_HACK -DDONT_USE_RAID -DMYSQL_CLIENT -I. -I. -I.. -I./../include -I../include -I./.. -I.. -I.. /usr/local/openssl/include -O3 -DDBUG_OFF -c libmysql.c -MT libmysql.lo -MD -MP -MF .deps/libmysql.TPlo -fPIC -DPIC -o .libs/libmysql.lo gcc: cannot specify -o with -c or -S and multiple compilations make[2]: *** [libmysql.lo] Error 1 make[2]: Leaving directory `/usr/local/src/web/mysql-4.0.15a/libmysql' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/usr/local/src/web/mysql-4.0.15a' make: *** [all] Error 2 my configure command is this: ./configure \ --prefix=/usr/local/mysql \ --localstatedir=/data/mysql \ --enable-large-files \ --with-innodb \ --with-mysqld-user=mysql \ --disable-maintainer-mode \ --without-docs \ --without-debug \ --without-bench \ --enable-assembler \ --with-openssl=/usr/local/openssl \ --with-openssl-includes=/usr/local/openssl/include \ --with-openssl-libs=/usr/local/openssl/lib \ --with-named-z-libs=/usr/local/zlib/lib thanks in advance. -- MySQL General Mailing List For list archives: http://lists.mysql.com/mysql To unsubscribe: http://lists.mysql.com/[EMAIL PROTECTED] -- MySQL General Mailing List For list archives: http://lists.mysql.com/mysql To unsubscribe:http://lists.mysql.com/[EMAIL PROTECTED]
Re: mysql compile error.
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi, On Thu, 25 Sep 2003, Richard Pijnenburg wrote: i'm trying to compile mysql-4.0.15a on my server and i'm getting the folowing error: gcc -DDEFAULT_CHARSET_HOME=\/usr/local/mysql\ -DDATADIR=\/data/mysql\ -DSHAREDIR=\/usr/local/mysql/share/mysql\ -DUNDEF_THREADS_HACK -DDONT_USE_RAID -DMYSQL_CLIENT -I. -I. -I.. -I./../include -I../include -I./.. -I.. -I.. /usr/local/openssl/include -O3 -DDBUG_OFF -c libmysql.c -MT libmysql.lo -MD -MP -MF .deps/libmysql.TPlo -fPIC -DPIC -o .libs/libmysql.lo gcc: cannot specify -o with -c or -S and multiple compilations make[2]: *** [libmysql.lo] Error 1 make[2]: Leaving directory `/usr/local/src/web/mysql-4.0.15a/libmysql' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/usr/local/src/web/mysql-4.0.15a' make: *** [all] Error 2 my configure command is this: ./configure \ --prefix=/usr/local/mysql \ --localstatedir=/data/mysql \ --enable-large-files \ --with-innodb \ --with-mysqld-user=mysql \ --disable-maintainer-mode \ --without-docs \ --without-debug \ --without-bench \ --enable-assembler \ --with-openssl=/usr/local/openssl \ --with-openssl-includes=/usr/local/openssl/include \ --with-openssl-libs=/usr/local/openssl/lib \ --with-named-z-libs=/usr/local/zlib/lib I think you need to install libtool to be able to successfully compile this. Please give it a try. 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 (GNU/Linux) Comment: For info see http://quantumlab.net/pine_privacy_guard/ iD8DBQE/c1b3SVDhKrJykfIRAt8+AJ48Y4CxHEjdLDZA7b0xVXn8/beTVwCbBVQQ W3+jVl+iTSVKqDejinKXxVM= =AEUA -END PGP SIGNATURE- -- MySQL General Mailing List For list archives: http://lists.mysql.com/mysql To unsubscribe:http://lists.mysql.com/[EMAIL PROTECTED]
Solaris 8x86. compile error (sql_lex.cc)
I've seen this problem listed before in newsgroup postings, but I haven't been able to find any concrete answers. On a Solaris 8x86 environment, using the Sun Freeware releases of gcc and gmake, a MySQL build fails during sql_lex.cc g++ -DMYSQL_SERVER -DDEFAULT_MYSQL_HOME=\/opt/mysql\ -DDATADIR=\/var/opt/mysql\ -DSHAREDIR=\/opt/mysql/share/mysql\ -DHAVE_CONFIG_H -I. -I. -I.. -I./../include -I./../regex -I. -I../include -I.. -I.-O3 -DDBUG_OFF -O3 -fomit-frame-pointer -felide-constructors -fno-exceptions -fno-rtti -DHAVE_CURSES_H -fno-implicit-templates -fno-exceptions -fno-rtti -DHAVE_CURSES_H -I/home/chrisj/src/mysql-3.23.55/include -DHAVE_RWLOCK_T -c -o sql_lex.o `test -f sql_lex.cc || echo './'`sql_lex.cc sql_lex.cc: In function `void lex_init()': sql_lex.cc:85: `symbols' undeclared (first use this function) sql_lex.cc:85: (Each undeclared identifier is reported only once sql_lex.cc:85: for each function it appears in.) sql_lex.cc:87: `sql_functions' undeclared (first use this function) sql_lex.cc: In function `int find_keyword(LEX *, unsigned int, bool)': sql_lex.cc:168: implicit declaration of function `int get_hash_symbol(...)' sql_lex.cc:168: initialization to `SYMBOL *' from `int' lacks a cast Here is the build environment I'm using for MySQL, as advised by the INSTALL-SOURCE file. The only changes I made were to the paths. CC=gcc CFLAGS=-O3 -fomit-frame-pointer CXX=gcc CXXFLAGS=-O3 -fomit-frame-pointer -felide-constructors -fno-exceptions -fno-rtt i -DHAVE_CURSES_H LDFLAGS=-L/opt/sfw/lib LD_LIBRARY_PATH=/opt/sfw/lib export CC CFLAGS CXXFLAGS LDFLAGS LD_LIBRARY_PATH ./configure --prefix=/opt/mysql --sysconfdir=/etc/opt/mysql \ --localstatedir=/var/opt/mysql --enable-thread-safe-client --disable-shared \ --enable-local-infile --with-extra-charsets=complex \ --with-named-curses-libs=-lcurses --with-named-z-libs=no Any ideas on what the problem could be? Christopher Josephes [EMAIL PROTECTED] - 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
Fw: mysql compile error
NOBODY has an idea??? it's a redhat linux box with downgraded gcc 2.95.4 - glibc 2.2.4 hi list, getting this with mysql-3.23.55 on 2 machines (on other it compiled): make all-am make[3]: Entering directory `/usr/src/mysql-3.23.55/include' make[3]: Nothing to be done for `all-am'. make[3]: Leaving directory `/usr/src/mysql-3.23.55/include' make[2]: Leaving directory `/usr/src/mysql-3.23.55/include' Making all in Docs make[2]: Entering directory `/usr/src/mysql-3.23.55/Docs' make all-am make[3]: Entering directory `/usr/src/mysql-3.23.55/Docs' make[3]: Nothing to be done for `all-am'. make[3]: Leaving directory `/usr/src/mysql-3.23.55/Docs' make[2]: Leaving directory `/usr/src/mysql-3.23.55/Docs' Making all in readline make[2]: Entering directory `/usr/src/mysql-3.23.55/readline' source='readline.c' object='readline.o' libtool=no \ depfile='.deps/readline.Po' tmpdepfile='.deps/readline.TPo' \ depmode=gcc /bin/sh ../depcomp \ gcc -DUNDEF_THREADS_HACK -DHAVE_CONFIG_H -DNO_KILL_INTR -I. -I. -I.. -I./../ include -I./.. -I..-O3 -DDBUG_OFF -c `test -f readline.c || echo './'`readline.c source='funmap.c' object='funmap.o' libtool=no \ depfile='.deps/funmap.Po' tmpdepfile='.deps/funmap.TPo' \ depmode=gcc /bin/sh ../depcomp \ gcc -DUNDEF_THREADS_HACK -DHAVE_CONFIG_H -DNO_KILL_INTR -I. -I. -I.. -I./../ include -I./.. -I..-O3 -DDBUG_OFF -c `test -f funmap.c || echo './'`funmap.c source='keymaps.c' object='keymaps.o' libtool=no \ depfile='.deps/keymaps.Po' tmpdepfile='.deps/keymaps.TPo' \ depmode=gcc /bin/sh ../depcomp \ gcc -DUNDEF_THREADS_HACK -DHAVE_CONFIG_H -DNO_KILL_INTR -I. -I. -I.. -I./../ include -I./.. -I..-O3 -DDBUG_OFF -c `test -f keymaps.c || echo './'`keymaps.c source='vi_mode.c' object='vi_mode.o' libtool=no \ depfile='.deps/vi_mode.Po' tmpdepfile='.deps/vi_mode.TPo' \ depmode=gcc /bin/sh ../depcomp \ gcc -DUNDEF_THREADS_HACK -DHAVE_CONFIG_H -DNO_KILL_INTR -I. -I. -I.. -I./../ include -I./.. -I..-O3 -DDBUG_OFF -c `test -f vi_mode.c || echo './'`vi_mode.c source='parens.c' object='parens.o' libtool=no \ depfile='.deps/parens.Po' tmpdepfile='.deps/parens.TPo' \ depmode=gcc /bin/sh ../depcomp \ gcc -DUNDEF_THREADS_HACK -DHAVE_CONFIG_H -DNO_KILL_INTR -I. -I. -I.. -I./../ include -I./.. -I..-O3 -DDBUG_OFF -c `test -f parens.c || echo './'`parens.c source='rltty.c' object='rltty.o' libtool=no \ depfile='.deps/rltty.Po' tmpdepfile='.deps/rltty.TPo' \ depmode=gcc /bin/sh ../depcomp \ gcc -DUNDEF_THREADS_HACK -DHAVE_CONFIG_H -DNO_KILL_INTR -I. -I. -I.. -I./../ include -I./.. -I..-O3 -DDBUG_OFF -c `test -f rltty.c || echo './'`rltty.c source='complete.c' object='complete.o' libtool=no \ depfile='.deps/complete.Po' tmpdepfile='.deps/complete.TPo' \ depmode=gcc /bin/sh ../depcomp \ gcc -DUNDEF_THREADS_HACK -DHAVE_CONFIG_H -DNO_KILL_INTR -I. -I. -I.. -I./../ include -I./.. -I..-O3 -DDBUG_OFF -c `test -f complete.c || echo './'`complete.c source='bind.c' object='bind.o' libtool=no \ depfile='.deps/bind.Po' tmpdepfile='.deps/bind.TPo' \ depmode=gcc /bin/sh ../depcomp \ gcc -DUNDEF_THREADS_HACK -DHAVE_CONFIG_H -DNO_KILL_INTR -I. -I. -I.. -I./../ include -I./.. -I..-O3 -DDBUG_OFF -c `test -f bind.c || echo './'`bind.c source='isearch.c' object='isearch.o' libtool=no \ depfile='.deps/isearch.Po' tmpdepfile='.deps/isearch.TPo' \ depmode=gcc /bin/sh ../depcomp \ gcc -DUNDEF_THREADS_HACK -DHAVE_CONFIG_H -DNO_KILL_INTR -I. -I. -I.. -I./../ include -I./.. -I..-O3 -DDBUG_OFF -c `test -f isearch.c || echo './'`isearch.c source='display.c' object='display.o' libtool=no \ depfile='.deps/display.Po' tmpdepfile='.deps/display.TPo' \ depmode=gcc /bin/sh ../depcomp \ gcc -DUNDEF_THREADS_HACK -DHAVE_CONFIG_H -DNO_KILL_INTR -I. -I. -I.. -I./../ include -I./.. -I..-O3 -DDBUG_OFF -c `test -f display.c || echo './'`display.c source='signals.c' object='signals.o' libtool=no \ depfile='.deps/signals.Po' tmpdepfile='.deps/signals.TPo' \ depmode=gcc /bin/sh ../depcomp \ gcc -DUNDEF_THREADS_HACK -DHAVE_CONFIG_H -DNO_KILL_INTR -I. -I. -I.. -I./../ include -I./.. -I..-O3 -DDBUG_OFF -c `test -f signals.c || echo './'`signals.c source='util.c' object='util.o' libtool=no \ depfile='.deps/util.Po' tmpdepfile='.deps/util.TPo' \ depmode=gcc /bin/sh ../depcomp \ gcc -DUNDEF_THREADS_HACK -DHAVE_CONFIG_H -DNO_KILL_INTR -I. -I. -I.. -I./../ include -I./.. -I..-O3 -DDBUG_OFF -c `test -f util.c || echo './'`util.c source='kill.c' object='kill.o' libtool=no \ depfile='.deps/kill.Po' tmpdepfile='.deps/kill.TPo' \ depmode=gcc /bin/sh ../depcomp \ gcc -DUNDEF_THREADS_HACK -DHAVE_CONFIG_H -DNO_KILL_INTR -I. -I. -I.. -I./../ include -I./.. -I..-O3 -DDBUG_OFF -c `test -f kill.c || echo './'`kill.c source='undo.c' object='undo.o' libtool=no \ depfile='.deps/undo.Po' tmpdepfile='.deps/undo.TPo' \ depmode=gcc /bin/sh ../depcomp \ gcc -DUNDEF_THREADS_HACK -DHAVE_CONFIG_H -DNO_KILL_INTR -I.
mysql compile error
hi list, getting this with mysql-3.23.55 on 2 machines (on other it compiled): make all-am make[3]: Entering directory `/usr/src/mysql-3.23.55/include' make[3]: Nothing to be done for `all-am'. make[3]: Leaving directory `/usr/src/mysql-3.23.55/include' make[2]: Leaving directory `/usr/src/mysql-3.23.55/include' Making all in Docs make[2]: Entering directory `/usr/src/mysql-3.23.55/Docs' make all-am make[3]: Entering directory `/usr/src/mysql-3.23.55/Docs' make[3]: Nothing to be done for `all-am'. make[3]: Leaving directory `/usr/src/mysql-3.23.55/Docs' make[2]: Leaving directory `/usr/src/mysql-3.23.55/Docs' Making all in readline make[2]: Entering directory `/usr/src/mysql-3.23.55/readline' source='readline.c' object='readline.o' libtool=no \ depfile='.deps/readline.Po' tmpdepfile='.deps/readline.TPo' \ depmode=gcc /bin/sh ../depcomp \ gcc -DUNDEF_THREADS_HACK -DHAVE_CONFIG_H -DNO_KILL_INTR -I. -I. -I.. -I./../ include -I./.. -I..-O3 -DDBUG_OFF -c `test -f readline.c || echo './'`readline.c source='funmap.c' object='funmap.o' libtool=no \ depfile='.deps/funmap.Po' tmpdepfile='.deps/funmap.TPo' \ depmode=gcc /bin/sh ../depcomp \ gcc -DUNDEF_THREADS_HACK -DHAVE_CONFIG_H -DNO_KILL_INTR -I. -I. -I.. -I./../ include -I./.. -I..-O3 -DDBUG_OFF -c `test -f funmap.c || echo './'`funmap.c source='keymaps.c' object='keymaps.o' libtool=no \ depfile='.deps/keymaps.Po' tmpdepfile='.deps/keymaps.TPo' \ depmode=gcc /bin/sh ../depcomp \ gcc -DUNDEF_THREADS_HACK -DHAVE_CONFIG_H -DNO_KILL_INTR -I. -I. -I.. -I./../ include -I./.. -I..-O3 -DDBUG_OFF -c `test -f keymaps.c || echo './'`keymaps.c source='vi_mode.c' object='vi_mode.o' libtool=no \ depfile='.deps/vi_mode.Po' tmpdepfile='.deps/vi_mode.TPo' \ depmode=gcc /bin/sh ../depcomp \ gcc -DUNDEF_THREADS_HACK -DHAVE_CONFIG_H -DNO_KILL_INTR -I. -I. -I.. -I./../ include -I./.. -I..-O3 -DDBUG_OFF -c `test -f vi_mode.c || echo './'`vi_mode.c source='parens.c' object='parens.o' libtool=no \ depfile='.deps/parens.Po' tmpdepfile='.deps/parens.TPo' \ depmode=gcc /bin/sh ../depcomp \ gcc -DUNDEF_THREADS_HACK -DHAVE_CONFIG_H -DNO_KILL_INTR -I. -I. -I.. -I./../ include -I./.. -I..-O3 -DDBUG_OFF -c `test -f parens.c || echo './'`parens.c source='rltty.c' object='rltty.o' libtool=no \ depfile='.deps/rltty.Po' tmpdepfile='.deps/rltty.TPo' \ depmode=gcc /bin/sh ../depcomp \ gcc -DUNDEF_THREADS_HACK -DHAVE_CONFIG_H -DNO_KILL_INTR -I. -I. -I.. -I./../ include -I./.. -I..-O3 -DDBUG_OFF -c `test -f rltty.c || echo './'`rltty.c source='complete.c' object='complete.o' libtool=no \ depfile='.deps/complete.Po' tmpdepfile='.deps/complete.TPo' \ depmode=gcc /bin/sh ../depcomp \ gcc -DUNDEF_THREADS_HACK -DHAVE_CONFIG_H -DNO_KILL_INTR -I. -I. -I.. -I./../ include -I./.. -I..-O3 -DDBUG_OFF -c `test -f complete.c || echo './'`complete.c source='bind.c' object='bind.o' libtool=no \ depfile='.deps/bind.Po' tmpdepfile='.deps/bind.TPo' \ depmode=gcc /bin/sh ../depcomp \ gcc -DUNDEF_THREADS_HACK -DHAVE_CONFIG_H -DNO_KILL_INTR -I. -I. -I.. -I./../ include -I./.. -I..-O3 -DDBUG_OFF -c `test -f bind.c || echo './'`bind.c source='isearch.c' object='isearch.o' libtool=no \ depfile='.deps/isearch.Po' tmpdepfile='.deps/isearch.TPo' \ depmode=gcc /bin/sh ../depcomp \ gcc -DUNDEF_THREADS_HACK -DHAVE_CONFIG_H -DNO_KILL_INTR -I. -I. -I.. -I./../ include -I./.. -I..-O3 -DDBUG_OFF -c `test -f isearch.c || echo './'`isearch.c source='display.c' object='display.o' libtool=no \ depfile='.deps/display.Po' tmpdepfile='.deps/display.TPo' \ depmode=gcc /bin/sh ../depcomp \ gcc -DUNDEF_THREADS_HACK -DHAVE_CONFIG_H -DNO_KILL_INTR -I. -I. -I.. -I./../ include -I./.. -I..-O3 -DDBUG_OFF -c `test -f display.c || echo './'`display.c source='signals.c' object='signals.o' libtool=no \ depfile='.deps/signals.Po' tmpdepfile='.deps/signals.TPo' \ depmode=gcc /bin/sh ../depcomp \ gcc -DUNDEF_THREADS_HACK -DHAVE_CONFIG_H -DNO_KILL_INTR -I. -I. -I.. -I./../ include -I./.. -I..-O3 -DDBUG_OFF -c `test -f signals.c || echo './'`signals.c source='util.c' object='util.o' libtool=no \ depfile='.deps/util.Po' tmpdepfile='.deps/util.TPo' \ depmode=gcc /bin/sh ../depcomp \ gcc -DUNDEF_THREADS_HACK -DHAVE_CONFIG_H -DNO_KILL_INTR -I. -I. -I.. -I./../ include -I./.. -I..-O3 -DDBUG_OFF -c `test -f util.c || echo './'`util.c source='kill.c' object='kill.o' libtool=no \ depfile='.deps/kill.Po' tmpdepfile='.deps/kill.TPo' \ depmode=gcc /bin/sh ../depcomp \ gcc -DUNDEF_THREADS_HACK -DHAVE_CONFIG_H -DNO_KILL_INTR -I. -I. -I.. -I./../ include -I./.. -I..-O3 -DDBUG_OFF -c `test -f kill.c || echo './'`kill.c source='undo.c' object='undo.o' libtool=no \ depfile='.deps/undo.Po' tmpdepfile='.deps/undo.TPo' \ depmode=gcc /bin/sh ../depcomp \ gcc -DUNDEF_THREADS_HACK -DHAVE_CONFIG_H -DNO_KILL_INTR -I. -I. -I.. -I./../ include -I./.. -I..-O3 -DDBUG_OFF -c `test -f undo.c || echo './'`undo.c source='macro.c' object='macro.o' libtool=no \ depfile='.deps/macro.Po'
Source RPM Compile Error
i downloaded mysql-4.0.8-0.src.rpm off of the mysql web-site and have tried to compile it on several different redhat 8.0 boxes. the same error happens whether compiling latest mysql 3.23 or 4.0 source rpms. the build moves along for about fifteen minutes (long after i begin to believe it will succeed without error). i don't know if it is redhat specific or not. anyone have any suggestions or ideas about how to resolve the error below? thanks all. automake: strings/Makefile.am: Assembler source seen but `CCAS' not defined in `configure.in' automake: strings/Makefile.am: Assembler source seen but `CCASFLAGS' not defined in `configure.in' error: Bad exit status from /var/tmp/rpm-tmp.37688 (%build) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.37688 (%build) -chris - 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 3.23 compile error on HPUX IPF
Hi, I am trying to compile MySQL 3.23 on HPUX 11.23 IPF. I am using gcc 3.0. gcc 2.95 is not available on HPUX 11.23. CC=gcc \ CXX=g++ \ CFLAGS=-D_HPUX_SOURCE -D__hpux__ -D_REENTRANT \ CXXFLAGS=-D_HPUX_SOURCE -D__hpux__ -D_REENTRANT \ CPPFLAGS=-D_HPUX_SOURCE -D__hpux__ -D_REENTRANT \ LDFLAGS=-L/usr/local/lib \ ./configure \ --prefix=/usr/local/mysql \ --exec-prefix=/usr/local/mysql \ --with-libwrap=/usr/local \ --with-low-memory gmake gcc -DHAVE_CONFIG_H -I. -I. -I.. -I./../include -I../include -D_POSIX_C_SOURCE=199506L -D_HPUX_SOURCE -D__hpux__ -D_REENTRANT -O3 -DDBUG_OFF -D_POSIX_C_SOURCE=199506L -D_HPUX_SOURCE -D__hpux__ -D_REENTRANT -DHAVE_BROKEN_PREAD -DDONT_USE_FINITE -DHAVE_BROKEN_GETPASS -DNO_FCNTL_NONBLOCK -DDO_NOT_REMOVE_THREAD_WRAPPERS -DHAVE_BROKEN_PTHREAD_COND_TIMEDWAIT -c strxmov.c In file included from /usr/include/pthread.h:7, from ../include/global.h:97, from strxmov.c:33: /usr/include/sys/pthread.h:1039: parse error before '*' token gmake[2]: *** [strxmov.o] Error 1 gmake[2]: Leaving directory `/var/mysql-3.23.52/strings' gmake[1]: *** [all-recursive] Error 1 gmake[1]: Leaving directory `/var/mysql-3.23.52' gmake: *** [all-recursive-am] Error 2 Does any one have some ideas? Thanks! Zengfa __ Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now. http://mailplus.yahoo.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.54 compile error
check Compiling 3.23.54-1 - new tools installed! thread... t GC GC When I start mysql with GC GC service mysql start GC GC I get this error: GC GC /usr/bin/safe_mysqld: 5: command not found GC What's that? GC GC By the way mysql seems up and running... GC GC GC GC - GC Before posting, please check: GChttp://www.mysql.com/manual.php (the manual) GChttp://lists.mysql.com/ (the list archive) GC GC To request this thread, e-mail [EMAIL PROTECTED] GC To unsubscribe, e-mail [EMAIL PROTECTED] GC Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php GC GC - 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.54 compile error
i mean... MySQL 3.23.54 safe_mysqld fix thread, sorry! t GC GC When I start mysql with GC GC service mysql start GC GC I get this error: GC GC /usr/bin/safe_mysqld: 5: command not found GC What's that? GC GC By the way mysql seems up and running... GC GC GC GC - GC Before posting, please check: GChttp://www.mysql.com/manual.php (the manual) GChttp://lists.mysql.com/ (the list archive) GC GC To request this thread, e-mail [EMAIL PROTECTED] GC To unsubscribe, e-mail [EMAIL PROTECTED] GC Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php GC GC - 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
/usr/bin/safe_mysqld: 5: command not found (WAS: Re: 3.23.54 compile error)
I got that as well., and like the case below, MySQL is up and running just fine. I tried looking in safe_mysqld for a spurious '5' but couldn't find anything. Does anyone know what's up with the most recent safe_mysqld? j-- k- On Thursday 12 December 2002 17:16, Gabriele Carioli wrote: When I start mysql with service mysql start I get this error: /usr/bin/safe_mysqld: 5: command not found What's that? -- Joshua Kugler, Information Services Director Associated Students of the University of Alaska Fairbanks [EMAIL PROTECTED], 907-474-7601 - 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.54 compile error
I've tried to build mysql-3.23.54 from rpm sources. My system is a RedHat 6.2 with glibc-2.1.3-28 and the compiler is gcc-2.95.4-4h. Had no problems at all building mysql until mysql-3.23.53, but now I get this error: [...] Making distclean in . make[1]: Entering directory `/usr/src/redhat/BUILD/mysql-3.23.54' test -z linked_client_sources linked_server_sources linked_libmysql_sources linked_libmysql_r_sources linked_include_sources || rm -f linked_client_sources linked_server_sources linked_libmysql_sources linked_libmysql_r_sources linked_include_sources rm -rf .libs _libs rm -f *.lo rm -f Makefile bdb/Makefile stamp-h stamp-h[0-9]* rm -f config.h rm -f libtool rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH make[1]: Leaving directory `/usr/src/redhat/BUILD/mysql-3.23.54' rm -f config.status config.cache config.log + mv Docs/manual.ps.save Docs/manual.ps + automake aclocal.m4: 1272: `AM_PROG_INSTALL' is obsolete; use `AC_PROG_INSTALL' aclocal.m4: 1273: `AM_PROG_INSTALL' is obsolete; use `AC_PROG_INSTALL' aclocal.m4: 1379: `AM_PROG_INSTALL' is obsolete; use `AC_PROG_INSTALL' libmysql_r/Makefile.am:26: library used but `LIBTOOL' not defined in `configure.in' error: Bad exit status from /var/tmp/rpm-tmp.34718 (%build) Any hint? Maybe a newer libtool is required? - 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.54 compile error
I reply to myself... I've tried to build mysql-3.23.54 from rpm sources. [...] error: Bad exit status from /var/tmp/rpm-tmp.34718 (%build) Any hint? Maybe a newer libtool is required? Got a clean compile with libtool-1.4-8 and automake-1.5-1. Now I'll test it. - 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.54 compile error
Maybe I'm paranoid I reply to myself... I've tried to build mysql-3.23.54 from rpm sources. [...] error: Bad exit status from /var/tmp/rpm-tmp.34718 (%build) Any hint? Maybe a newer libtool is required? Got a clean compile with libtool-1.4-8 and automake-1.5-1. Now I'll test it. When I start mysql with service mysql start I get this error: /usr/bin/safe_mysqld: 5: command not found What's that? By the way mysql seems up and running... - 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: Compile error on HPUX
Hello. As a side note, did you try the precompiled binary for HP-UX already? http://www.mysql.com/downloads/mysql-3.23.html On Mon 2002-12-09 at 08:22:44 -0800, [EMAIL PROTECTED] wrote: Benjamin, Thanks for you information, now I tried to use gcc Which version? compile: CC=gcc CXX=gcc CXXFLAGS=-O3 ./configure You left out the info from mysqlbug again. Although I doubt that this has to do with the error you see below, you do not seem to honor the notes about building from the manual: http://www.mysql.com/doc/en/HP-UX_10.20.html http://www.mysql.com/doc/en/HP-UX_11.x.html The configure line above looks incomplete. Configure has no problem. But When I run make, I got: gcc -O3 -DDBUG_OFF -DHAVE_BROKEN_PREAD -DDONT_USE_FINITE -DHAVE_BROKEN_GETPASS -DNO_FCNTL_NONBLOCK -DDO_NOT_REMOVE_THREAD_WRAPPERS -DHAVE_BROKEN_PTHREAD_COND_TIMEDWAIT -o hp_test2 hp_test2.o libheap.a ../mysys/libmysys.a ../dbug/libdbug.a ../strings/libmystrings.a -lpthread -lcrypt -lnsl -lm -lpthread Making all in sql Making all in share No suffix list. ../../extra/comp_err czech/errmsg.sys Usage: ../../extra/comp_err [-?] [-I] [-V] fromfile[s] tofile *** Error exit code 255 I am sorry, but I am not able to help here. As I said, I am not familiar with HP-UX (an neither with build problems, because I never had any). HTH, Benjamin. -- [EMAIL PROTECTED] - 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: Compile error on HPUX
Benjamin, Thanks for you information, now I tried to use gcc compile: CC=gcc CXX=gcc CXXFLAGS=-O3 ./configure Configure has no problem. But When I run make, I got: gcc -O3 -DDBUG_OFF -DHAVE_BROKEN_PREAD -DDONT_USE_FINITE -DHAVE_BROKEN_GETPASS -DNO_FCNTL_NONBLOCK -DDO_NOT_REMOVE_THREAD_WRAPPERS -DHAVE_BROKEN_PTHREAD_COND_TIMEDWAIT -o hp_test2 hp_test2.o libheap.a ../mysys/libmysys.a ../dbug/libdbug.a ../strings/libmystrings.a -lpthread -lcrypt -lnsl -lm -lpthread Making all in sql Making all in share No suffix list. ../../extra/comp_err czech/errmsg.sys Usage: ../../extra/comp_err [-?] [-I] [-V] fromfile[s] tofile *** Error exit code 255 Stop. *** Error exit code 1 Stop. *** Error exit code 1 Stop. *** Error exit code 1 --- Benjamin Pflugmann [EMAIL PROTECTED] wrote: Hello. On Fri 2002-12-06 at 09:59:25 -0800, [EMAIL PROTECTED] wrote: Hi, I just send this email again. Does anyone care about HPUX build? You need to be more specific in the future. That will enhance the chance for someone seing the problem. I have never used HP-UX. That said, some comments. --- Zengfa Gao [EMAIL PROTECTED] wrote: Hi, I tried to compile mysql-3.23.49 on HPUX 11.11 system. Please include complete info from mysqlbug. When I run: CC=cc CXX=aCC CFLAGS=+DD64 CXXFLAGS=+DD64 ./configure Everything is fine, no errors. But when I run: make I got: cc: password.c, line 95: error 1000: Unexpected symbol: char_val. Which password.c? There are 3 in the source. Please include some of the make output next time. [...] Do anyone have some ideas? Presumed this is about sql/password.c, this seems to be about inline uint char_val(char X) The error you cited is typical, if the compiler does not know uint as type and therefore considered it a label and now bails out because there is another label following. That would mean, uint is not defined. include/globals.h defines it if the system does not provide it: #if defined(__EMX__) || !defined(HAVE_UINT) typedef unsigned int uint; typedef unsigned short ushort; #endif So it seems, configure set HAVE_UINT, but sys/types.h either does not set it or HAVE_SYS_TYPES_H is unset. No idea, why configure did not the right thing here, but it could be that it got confused from several runs. Be sure to try with a clean tarball again. HTH, Benjamin. -- [EMAIL PROTECTED] - 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 __ Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now. http://mailplus.yahoo.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: Compile error on HPUX
Hello. On Fri 2002-12-06 at 09:59:25 -0800, [EMAIL PROTECTED] wrote: Hi, I just send this email again. Does anyone care about HPUX build? You need to be more specific in the future. That will enhance the chance for someone seing the problem. I have never used HP-UX. That said, some comments. --- Zengfa Gao [EMAIL PROTECTED] wrote: Hi, I tried to compile mysql-3.23.49 on HPUX 11.11 system. Please include complete info from mysqlbug. When I run: CC=cc CXX=aCC CFLAGS=+DD64 CXXFLAGS=+DD64 ./configure Everything is fine, no errors. But when I run: make I got: cc: password.c, line 95: error 1000: Unexpected symbol: char_val. Which password.c? There are 3 in the source. Please include some of the make output next time. [...] Do anyone have some ideas? Presumed this is about sql/password.c, this seems to be about inline uint char_val(char X) The error you cited is typical, if the compiler does not know uint as type and therefore considered it a label and now bails out because there is another label following. That would mean, uint is not defined. include/globals.h defines it if the system does not provide it: #if defined(__EMX__) || !defined(HAVE_UINT) typedef unsigned int uint; typedef unsigned short ushort; #endif So it seems, configure set HAVE_UINT, but sys/types.h either does not set it or HAVE_SYS_TYPES_H is unset. No idea, why configure did not the right thing here, but it could be that it got confused from several runs. Be sure to try with a clean tarball again. HTH, Benjamin. -- [EMAIL PROTECTED] - 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: Compile error on HPUX
Hi, I just send this email again. Does anyone care about HPUX build? Zengfa --- Zengfa Gao [EMAIL PROTECTED] wrote: Hi, I tried to compile mysql-3.23.49 on HPUX 11.11 system. When I run: CC=cc CXX=aCC CFLAGS=+DD64 CXXFLAGS=+DD64 ./configure Everything is fine, no errors. But when I run: make I got: cc: password.c, line 95: error 1000: Unexpected symbol: char_val. cc: panic 2017: Cannot recover from earlier errors, terminating. *** Error exit code 1 Stop. *** Error exit code 1 Stop. *** Error exit code 1 Do anyone have some ideas? Thanks a lot! Zengfa __ Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now. http://mailplus.yahoo.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 __ Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now. http://mailplus.yahoo.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
Compile error on HPUX
Hi, I tried to compile mysql-3.23.49 on HPUX 11.11 system. When I run: CC=cc CXX=aCC CFLAGS=+DD64 CXXFLAGS=+DD64 ./configure Everything is fine, no errors. But when I run: make I got: cc: password.c, line 95: error 1000: Unexpected symbol: char_val. cc: panic 2017: Cannot recover from earlier errors, terminating. *** Error exit code 1 Stop. *** Error exit code 1 Stop. *** Error exit code 1 Do anyone have some ideas? Thanks a lot! Zengfa __ Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now. http://mailplus.yahoo.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
mysql 3.23.53 compile error
make[2]: Wechsel in das Verzeichnis Verzeichnis »/usr/src/mysql-3.23.53/libmysql« /bin/sh ../libtool --mode=compile ME=\/usr\ -DDATADIR=\/usr/var\ -DSHAREDIR=\/usr/share/mysql\ -DUNDEF_THREADS_HA CK -DDONT_USE_RAID -I./../include -I../incl ude -I./.. -I.. -I..-O3 -DDBUG_OFF -c libmysql.c rm -f .libs/libmysql.lo gcc -DDEFAULT_CHARSET_HOME=\/usr\ -DDATADIR=\/usr/var\ -DSHAREDIR=\/usr /share/mysql\ -DUNDEF_THREADS_HACK -DDONT_U SE_RAID -I./../include -I../include -I./.. -I.. -I.. -O3 -DDBUG_OFF -c libmysql.c -fPIC -DPIC -o .libs/libmysql.lo libmysql.c: In function `mysql_real_connect': libmysql.c:1325: warning: passing arg 5 of `gethostbyname_r' from incompatible pointer type libmysql.c:1325: too few arguments to function `gethostbyname_r' libmysql.c:1325: warning: assignment makes pointer from integer without a cast make[2]: *** [libmysql.lo] Fehler 1 make[2]: Verlassen des Verzeichnisses Verzeichnis »/usr/src/mysql-3.23.53/libmysql« make[1]: *** [all-recursive] Fehler 1 make[1]: Verlassen des Verzeichnisses Verzeichnis »/usr/src/mysql-3.23.53« make: *** [all-recursive-am] Fehler 2 [root@sky /usr/src/mysql-3.23.53]# what is that, ahh? btw: which configure parameter is for the datadir, where the mysql databases are? regards, soenke. Mit freundlichem Gruß Sönke Ruempler top concepts Internetmarketing GmbH -- http://www.topconcepts.com Tel. +49 4141 9912 30 mail: [EMAIL PROTECTED] Fax. +49 4141 9912 33 -- 24h-Support Hotline: +49 1908 34697 (EUR 1.86/Min,CNS24) -- - 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: mysql 3.23.53 compile error
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Thursday 21 November 2002 13:49, Sönke Ruempler wrote: make[2]: Wechsel in das Verzeichnis Verzeichnis »/usr/src/mysql-3.23.53/libmysql« /bin/sh ../libtool --mode=compile ME=\/usr\ -DDATADIR=\/usr/var\ -DSHAREDIR=\/usr/share/mysql\ -DUNDEF_THREADS_HA CK -DDONT_USE_RAID -I./../include -I../incl ude -I./.. -I.. -I..-O3 -DDBUG_OFF -c libmysql.c rm -f .libs/libmysql.lo gcc -DDEFAULT_CHARSET_HOME=\/usr\ -DDATADIR=\/usr/var\ -DSHAREDIR=\/usr /share/mysql\ -DUNDEF_THREADS_HACK -DDONT_U SE_RAID -I./../include -I../include -I./.. -I.. -I.. -O3 -DDBUG_OFF -c libmysql.c -fPIC -DPIC -o .libs/libmysql.lo libmysql.c: In function `mysql_real_connect': libmysql.c:1325: warning: passing arg 5 of `gethostbyname_r' from incompatible pointer type libmysql.c:1325: too few arguments to function `gethostbyname_r' libmysql.c:1325: warning: assignment makes pointer from integer without a cast make[2]: *** [libmysql.lo] Fehler 1 make[2]: Verlassen des Verzeichnisses Verzeichnis »/usr/src/mysql-3.23.53/libmysql« make[1]: *** [all-recursive] Fehler 1 make[1]: Verlassen des Verzeichnisses Verzeichnis »/usr/src/mysql-3.23.53« make: *** [all-recursive-am] Fehler 2 [root@sky /usr/src/mysql-3.23.53]# what is that, ahh? Make sure that the GNU C++ compiler g++ is installed (Package gpp on SuSE Linux) or set the environment variable CXX=gcc. btw: which configure parameter is for the datadir, where the mysql databases are? The parameter --localstatedir=path is used for that. 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) iD8DBQE93OYmSVDhKrJykfIRArP9AJ4vxMs4FVpUz2Y69FkTFBD6lHw19wCfeEm7 FTjLozeyRIQTYWCzKTDZz9Y= =aoil -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
Mysql 3.32.53 Compile error
Hi has anyone seen a workaround for the following error: Thanks in advance, Drew. Environment: Solaris 9 u1 (Kernel: 112233-02) All GNU compilers tools installed. output as follows: gcc -DMYSQL_SERVER -DDEFAULT_MYSQL_HOME=\/usr/local/mysql\ -DDATADIR=\/usr/local/mysql/var\ -DSHAREDIR=\/usr/local/mysql/share/mysql\ -DHAVE_CONFIG_H -I./../include -I./../regex-I. -I../include -I.. -I.-O3 -DDBUG_OFF -O3 -felide-constructors -fno-exceptions -fno-rtti -fno-implicit-templates -fno-exceptions -fno-rtti -DUSE_MYSYS_NEW -DDEFINE_CXA_PURE_VIRTUAL -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 `/export/home/drew/mysql-3.23.53/sql' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/export/home/drew/mysql-3.23.53/sql' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/export/home/drew/mysql-3.23.53' make: *** [all-recursive-am] Error 2 bash-2.05# gcc -v Reading specs from /usr/local/lib/gcc-lib/sparc-sun-solaris2.9/3.2/specs Configured with: ../configure --with-as=/usr/ccs/bin/as --with-ld=/usr/ccs/bin/ld --disable-nls Thread model: posix gcc version 3.2 bash-2.05# /usr/local/bin/make -v GNU Make 3.80 Copyright (C) 2002 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. Attempted to compile with: CFLAGS=-O3 CXX=gcc CXXFLAGS=-O3 -felide-constructors -fno-exceptions -fno-rtti ./configure --prefix=/usr/local/mysql --enable-assembler --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
Compile Error on Sun 2.8[50 character or so descriptive subject here (for reference)]
Description: Compile Error make[3]: Entering directory `/home/akbeech/sinbad_software/secure_server/mysql-3.23.52/sql' /usr/local/bin/gcc -DMYSQL_SERVER -DDEFAULT_MYSQL_HOME=\/usr/local/mysql\ -DDATADIR=\/usr/local/mysql/var\ -DSHAREDIR=\/usr/local/mysql/share/mysql\ -DHAVE_CONFIG_H -I./../include -I./../regex-I. -I../include -I.. -I.-O3 -DDBUG_OFF -O3 -fno-implicit-templates -fno-exceptions -fno-rtti -DHAVE_CURSES_H -I/home/akbeech/sinbad_software/secure_server/mysql-3.23.52/include -DHAVE_RWLOCK_T -c sql_lex.cc sql_lex.cc: In function `void lex_init()': sql_lex.cc:85: `symbols' undeclared (first use this function) sql_lex.cc:85: (Each undeclared identifier is reported only once for each function it appears in.) sql_lex.cc:87: `sql_functions' undeclared (first use this function) sql_lex.cc: In function `int find_keyword(LEX*, unsigned int, bool)': sql_lex.cc:168: `get_hash_symbol' undeclared (first use this function) make[3]: *** [sql_lex.o] Error 1 How-To-Repeat: Recompile Fix: Submitter-Id: submitter ID Originator:Beech Rintoul Organization: Sinbad Network Communications Inc. MySQL support: None[none | licence | email support | extended email support ] Synopsis: Compile Error Severity: serious Priority: high Category: mysql Class: sw-bug Release: mysql-3.23.52 (Source distribution) Environment: System: SunOS anchor 5.8 Generic_108528-13 sun4u sparc SUNW,Ultra-5_10 Architecture: sun4 Some paths: /usr/local/bin/perl /usr/local/bin/make /usr/local/bin/gmake /opt/sfw/bin/gcc /usr/ucb/cc GCC: Reading specs from /opt/sfw/lib/gcc-lib/sparc-sun-solaris2.8/2.95.3/specs gcc version 2.95.3 20010315 (release) Compilation info: CC='/usr/local/bin/gcc' CFLAGS='-O3' CXX='/usr/local/bin/g++' CXXFLAGS='-O3 -felide-constructors -fno-exceptions -fno-rtti' LDFLAGS='' LIBC: -rw-r--r-- 1 root bin 1761380 Nov 30 2001 /lib/libc.a lrwxrwxrwx 1 root root 11 Sep 20 05:23 /lib/libc.so - ./libc.so.1 -rwxr-xr-x 1 root bin 1132064 Nov 30 2001 /lib/libc.so.1 -rw-r--r-- 1 root bin 1761380 Nov 30 2001 /usr/lib/libc.a lrwxrwxrwx 1 root root 11 Sep 20 05:23 /usr/lib/libc.so - ./libc.so.1 -rwxr-xr-x 1 root bin 1132064 Nov 30 2001 /usr/lib/libc.so.1 Configure command: ./configure --prefix=/usr/local/mysql --with-low-memory --with-extra-charsets=complex --enable-assembler CC=/usr/local/bin/gcc CFLAGS=-O3 'CXXFLAGS=-O3 -felide-constructors -fno-exceptions -fno-rtti' CXX=/usr/local/bin/g++ - 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
Compile error on Solaris
Getting the following error trying to build mysql-3.23.52 on a solaris 8 box. 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/nfs2/home/akbeech/sinbad_software/secure_server/mysql-3.23.52/include -DHAVE_RWLOCK_T -c sql_lex.cc sql_lex.cc: In function `void lex_init()': sql_lex.cc:85: `symbols' undeclared (first use this function) sql_lex.cc:85: (Each undeclared identifier is reported only once sql_lex.cc:85: for each function it appears in.) sql_lex.cc:87: `sql_functions' undeclared (first use this function) sql_lex.cc: In function `int find_keyword(LEX *, unsigned int, bool)': sql_lex.cc:168: implicit declaration of function `int get_hash_symbol(...)' sql_lex.cc:168: initialization to `SYMBOL *' from `int' lacks a cast make[3]: *** [sql_lex.o] Error 1 make[3]: Leaving directory `/nfs2/home/akbeech/sinbad_software/secure_server/mysql-3.23.52/sql' make[2]: *** [all-recursive] Error 1 This is a new solaris and mysql install, am I missing a lib or something? Could use some help here, thanks in advance. Beech -- --- Beech Rintoul - SysAdmin - [EMAIL PROTECTED] /\ ASCII Ribbon Campaign | Sinbad Network Communications \ / - NO HTML/RTF in e-mail | 3101 Penland Parkway #K-38 X - NO Word docs in e-mail | Anchorage, AK 99508-1957 / \ - - 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
source compile error with tcpd.h
Description: source compiling with configure option --with-libwrap, will cause make fail about: mysqld.cc:2395: at this point in file /usr/include/tcpd.h:73: too many arguments to function `int hosts_access ()' mysqld.cc:2396: at this point in file /usr/include/tcpd.h:128: too many arguments to function `char *eval_client ()' mysqld.cc:2401: at this point in file make[3]: *** [mysqld.o] Error 1 make[3]: Leaving directory `/usr/local/src/mysql-3.23.49.tcpd/sql' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/usr/local/src/mysql-3.23.49.tcpd/sql' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/usr/local/src/mysql-3.23.49.tcpd' make: *** [all-recursive-am] Error 2 Error can reproduce by: ./configure --with-libwrap make Finally, take out '--with-libwrap' everything work fine Submitter-Id: submitter ID Originator:chris Organization: MySQL support: none Synopsis: make fail when --with-libwrap Severity: critical Priority: low Category: mysql Class: sw-bug Release: mysql-3.23.49-max (yes) Environment: System: Linux mmp4.ust.hk 2.4.7-10 #1 Thu Sep 6 17:27:27 EDT 2001 i686 unknown Architecture: i686 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.1 2.96-98) Compilation info: CC='gcc' CFLAGS='' CXX='c++' CXXFLAGS='' LDFLAGS='' LIBC: lrwxrwxrwx1 root root 13 Apr 11 00:43 /lib/libc.so.6 - libc-2.2.4.so -rwxr-xr-x2 root root 1282588 Sep 5 2001 /lib/libc-2.2.4.so -rw-r--r--1 root root 27304836 Sep 5 2001 /usr/lib/libc.a -rw-r--r--1 root root 178 Sep 5 2001 /usr/lib/libc.so Configure command: ./configure --prefix=/usr/local/mysql --enable-assembler --without-docs --without-bench --with-charset=big5 --with-extra-charsets=all --with-innodb --with-server-suffix=-max --without-debug --with-comment --with-mysqld-user=mysql --with-berkeley-db - 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: source compile error with tcpd.h
chris, Friday, April 12, 2002, 11:09:06 AM, you wrote: ñ Description: c source compiling with configure option --with-libwrap, will cause c make fail about: c mysqld.cc:2395: at this point in file c /usr/include/tcpd.h:73: too many arguments to function `int c hosts_access ()' c mysqld.cc:2396: at this point in file c /usr/include/tcpd.h:128: too many arguments to function `char c *eval_client ()' c mysqld.cc:2401: at this point in file c make[3]: *** [mysqld.o] Error 1 c make[3]: Leaving directory `/usr/local/src/mysql-3.23.49.tcpd/sql' c make[2]: *** [all-recursive] Error 1 c make[2]: Leaving directory `/usr/local/src/mysql-3.23.49.tcpd/sql' c make[1]: *** [all-recursive] Error 1 c make[1]: Leaving directory `/usr/local/src/mysql-3.23.49.tcpd' c make: *** [all-recursive-am] Error 2 c Error can reproduce by: c ./configure --with-libwrap c make c Finally, take out '--with-libwrap' everything work fine It will be fixed in 3.23.50 and 4.0.2 ... -- For technical support contracts, goto https://order.mysql.com/ This email is sponsored by Ensita.net http://www.ensita.net/ __ ___ ___ __ / |/ /_ __/ __/ __ \/ /Victoria Reznichenko / /|_/ / // /\ \/ /_/ / /__ [EMAIL PROTECTED] /_/ /_/\_, /___/\___\_\___/ MySQL AB / Ensita.net ___/ 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: Compile error. MySql C++ API
Vipul Kotecha writes: Hi List, I am new to the MySql C++ API and I am compiling one file it gives me error saying Error E2303 ..\..\include\sqlplus\resiter1.hh 56: Type name expected Error E2275 ..\..\include\sqlplus\resiter1.hh 56: { expected Error E2275 ..\..\include\sqlplus\resiter1.hh 56: { expected and many warnings. Can you please tell me what option I have to set in my make file. Thanks, Vipul. What compiler are you using ?? -- 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
Compile error. MySql C++ API
Hi List, I am new to the MySql C++ API and I am compiling one file it gives me error saying Error E2303 ..\..\include\sqlplus\resiter1.hh 56: Type name expected Error E2275 ..\..\include\sqlplus\resiter1.hh 56: { expected Error E2275 ..\..\include\sqlplus\resiter1.hh 56: { expected and many warnings. Can you please tell me what option I have to set in my make file. Thanks, Vipul. - 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: mysql-3.23.47 Compile Error on Linux
-I/usr/include -I./../include -I./../regex-I. -I../include -I.. -I. snip mysqld.cc:1767: implicit declaration of function `int regex_init(...)' A carefull look reveals that the commandline above is seeing /usr/include/regex.h instead of /usr/src/mysql-3.23.47/regex/regex.h. The system header does not have regex_init(); A temporary symlink in /usr/include seemed to fix this, but I'm sure that's not the correct way. The closest explenation I could find was somthing about the @bdb_includes@ macro in sql/Makefile.am being resposible for this. oop, next error, guess db-4.0.11 will not work... Cheers, ~Jason -- - 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-3.23.47 Compile Error on Linux
Running Kernel 2.4.17 gcc-2.95.3 glibc-2.2.5 I read through the manual for hints and searched the mailing list archives but couldn't find a similar report. Here's the build output: c++ -DMYSQL_SERVER -DDEFAULT_MYSQL_HOME=\/usr\ -DDATADIR=\/var/mysql\ -DSHAREDIR=\/usr/share/mysql\ -DHAVE_CONFIG_H -I/usr/include -I./../include -I./../regex-I. -I../include -I.. -I.-O3 -DDBU G_OFF -fno-implicit-templates -fno-exceptions -fno-rtti -c mysqld.cc mysqld.cc: In function `int main(int, char **)': mysqld.cc:1767: implicit declaration of function `int regex_init(...)' make[3]: *** [mysqld.o] Error 1 Can anyone offer help? ~Jason -- - 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: MySQL compile error, mysql-3.23.47, Mac OS X 10.1.2
Yes. Dumb question. You did install the OS X developer tools, yes? I just compiled 3.23.47 from source this morning on 10.1.2 with not a problem at all. -- John McCauley CTGi Oakton, VA 703-352-0590 http://www.ctgusa.com From: Ryan Walker [EMAIL PROTECTED] Date: Tue, 29 Jan 2002 18:40:12 -0800 To: [EMAIL PROTECTED] Subject: MySQL compile error, mysql-3.23.47, Mac OS X 10.1.2 I'm trying to compile MySQL on Mac OS X 10.1.2. Ideally, I'd like to compile it with: ./configure --with-mysqld-user=mysql \ --enable-thread-safe-client \ --with-pthread \ --with-raid Unfortunately, I can't even get it to compile with just: ./configure Produces error: sql_show.cc c++ -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 -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 Any suggestions? Ryan - 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 - 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: MySQL compile error, mysql-3.23.47, Mac OS X 10.1.2
Cool. And the file ./mysql-3.23.47/sql/sql_udf.cc is present? Did you try a make clean? It shouldn't have any effect on configure but... -- John McCauley CTGi Oakton, VA 703-352-0590 http://www.ctgusa.com From: Ryan Walker [EMAIL PROTECTED] Date: Wed, 30 Jan 2002 00:21:44 -0800 To: [EMAIL PROTECTED] Subject: Re: MySQL compile error, mysql-3.23.47, Mac OS X 10.1.2 Yes. Dumb question. You did install the OS X developer tools, yes? I just compiled 3.23.47 from source this morning on 10.1.2 with not a problem at all. -- John McCauley CTGi Oakton, VA 703-352-0590 http://www.ctgusa.com From: Ryan Walker [EMAIL PROTECTED] Date: Tue, 29 Jan 2002 18:40:12 -0800 To: [EMAIL PROTECTED] Subject: MySQL compile error, mysql-3.23.47, Mac OS X 10.1.2 I'm trying to compile MySQL on Mac OS X 10.1.2. Ideally, I'd like to compile it with: ./configure --with-mysqld-user=mysql \ --enable-thread-safe-client \ --with-pthread \ --with-raid Unfortunately, I can't even get it to compile with just: ./configure Produces error: sql_show.cc c++ -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 -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 Any suggestions? Ryan - 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 - 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 - 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: MySQL compile error, mysql-3.23.47, Mac OS X 10.1.2
Yes, the file is present. Yes, I've made clean between each attempt. At 10:11 AM -0500 1/30/02, John McCauley wrote: Cool. And the file ./mysql-3.23.47/sql/sql_udf.cc is present? Did you try a make clean? It shouldn't have any effect on configure but... -- John McCauley CTGi Oakton, VA 703-352-0590 http://www.ctgusa.com From: Ryan Walker [EMAIL PROTECTED] Date: Wed, 30 Jan 2002 00:21:44 -0800 To: [EMAIL PROTECTED] Subject: Re: MySQL compile error, mysql-3.23.47, Mac OS X 10.1.2 Yes. Dumb question. You did install the OS X developer tools, yes? I just compiled 3.23.47 from source this morning on 10.1.2 with not a problem at all. -- John McCauley CTGi Oakton, VA 703-352-0590 http://www.ctgusa.com From: Ryan Walker [EMAIL PROTECTED] Date: Tue, 29 Jan 2002 18:40:12 -0800 To: [EMAIL PROTECTED] Subject: MySQL compile error, mysql-3.23.47, Mac OS X 10.1.2 I'm trying to compile MySQL on Mac OS X 10.1.2. Ideally, I'd like to compile it with: ./configure --with-mysqld-user=mysql \ --enable-thread-safe-client \ --with-pthread \ --with-raid Unfortunately, I can't even get it to compile with just: ./configure Produces error: sql_show.cc c++ -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 -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 Any suggestions? Ryan - 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 - 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 - 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 - 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 compile error, mysql-3.23.47, Mac OS X 10.1.2
I'm trying to compile MySQL on Mac OS X 10.1.2. Ideally, I'd like to compile it with: ./configure --with-mysqld-user=mysql \ --enable-thread-safe-client \ --with-pthread \ --with-raid Unfortunately, I can't even get it to compile with just: ./configure Produces error: sql_show.cc c++ -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 -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 Any suggestions? Ryan - 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: MySQL compile error, mysql-3.23.47, Mac OS X 10.1.2
Dumb question. You did install the OS X developer tools, yes? I just compiled 3.23.47 from source this morning on 10.1.2 with not a problem at all. -- John McCauley CTGi Oakton, VA 703-352-0590 http://www.ctgusa.com From: Ryan Walker [EMAIL PROTECTED] Date: Tue, 29 Jan 2002 18:40:12 -0800 To: [EMAIL PROTECTED] Subject: MySQL compile error, mysql-3.23.47, Mac OS X 10.1.2 I'm trying to compile MySQL on Mac OS X 10.1.2. Ideally, I'd like to compile it with: ./configure --with-mysqld-user=mysql \ --enable-thread-safe-client \ --with-pthread \ --with-raid Unfortunately, I can't even get it to compile with just: ./configure Produces error: sql_show.cc c++ -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 -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 Any suggestions? Ryan - 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 - 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
Compile Error 4.0.1-alpha
Hi, I downloaded the tar.gz and the src.rpm files for the 4.0.1-alpha version. When I try to compile it (with/without options), I get an error: *** ../merge/libmerge.a ../myisam/libmyisam.a ..! /myisammrg/libmyisammrg.a ../heap/libheap.a ../vio/libvio.a ../mysys/l ibmysys.a ../dbug/libdbug.a ../regex/libregex.a ../strings/libmystrings.a -ldl -lpthread -lz -lcrypt -lnsl -lm -lpthread ../innobase/btr/libbtr.a(btr0sea.o): In function `btr_search_guess_on_hash': btr0sea.o(.text+0x1c58): undefined reference to `btr_search_check_guess' collect2: ld returned 1 exit status make[3]: *** [mysqld] Error 1 make[3]: Leaving directory `/download/mysql-4.0.1-alpha/sql' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/download/mysql-4.0.1-alpha/sql' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/download/mysql-4.0.1-alpha' make: *** [all-recursive-am] Error 2 *** I tried various options, but that didn't help. Any hints, ideas? BTW: My system: Sun Ultra 5 / SuSE Linux 7.3 Kind regards Jan Albrecht -- Jan AlbrechtSystem Consultant Bertelsmann mediaSystems NMI-DC UNIX/NT/Windows 2000 An der Autobahn 33311 Gütersloh Germany Phone: +49-5241-80-88404 mobile: +49-172-2978914 Fax:+49-5241-80-688404 Mail: [EMAIL PROTECTED] - 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
Gemini compile error
While compiling MySQL+Gemini-3.23.41 i received the following error: gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../incl -I../msgs -O3 -DDBUG_OFF -c dsmindex.c In file included from dsmindex.c:39: /usr/include/string.h:245: parse error before `(' /usr/include/string.h:245: warning: conflicting types for built-in function `memset' /usr/include/string.h:245: parse error before `int' make[4]: *** [dsmindex.o] Error 1 make[4]: Leaving directory `/usr/local/src/Apache/mysql+gemini-3.23.41/gemini/api' System is RedHat 7.1, with their GCC 2.96-85 While I'm on the subject, does BDB tables provide the same type of locking that Gemini does? Is there any reason to favor Gemini over BDB? -- H | Life is the art of drawing without an eraser. - John Gardner + Ashley M. Kirchner mailto:[EMAIL PROTECTED] . 303.442.6410 x130 Director of Internet Operations / SysAdmin. 800.441.3873 x130 Photo Craft Laboratories, Inc.. 3550 Arapahoe Ave, #6 http://www.pcraft.com . . .. Boulder, CO 80303, U.S.A. - 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: Gemini compile error
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Thu, 22 Nov 2001, Ashley M. Kirchner wrote: While compiling MySQL+Gemini-3.23.41 i received the following error: System is RedHat 7.1, with their GCC 2.96-85 Same here, althogh the binary version starts up fine. While I'm on the subject, does BDB tables provide the same type of locking that Gemini does? Is there any reason to favor Gemini over BDB? While on the subject: has anyone seen a WORKING gemini table? I've tried 2 different redhat systes, and 3 different debian systems, and always got the same result: starts up fine, dies in about 15 seconds, safe_mysqld tries to bring it up, so it recoveres from the crash, repeats the whole thing a few times, and then no longer recovers. Max uptime, starting with a new database, ending with an unrecoverable one, has never exceeded 30 minutes. So I'm trying Innodb tables now. Initial tests (the ones that caused gemini to die in less than a minute) have been runing for about 4 days in a row now, and it's very stable. I have yet to test what it does with 50-60k users at the same time. (That's what is causing me problems with myisam table locks now.) I need to modiy a lot of code to use row-level locks. I'll let you know about the result. :) BDB as far as I know does not support row-level locking, it has page-level locks. Attila ... Actual newspaper headline, 1/17/77: Cold Wave Linked to Temperatures - --- Public key: http://civ.hu/attila.asc -BEGIN PGP SIGNATURE- Version: GnuPG v1.0.6 (GNU/Linux) Comment: For info see http://www.gnupg.org iD8DBQE7/LqgDeyfLhmXxQwRAkXyAJ9yj0BLVxqQrrH9UYkTWXX18/hrAQCgiSqX 7CMbRMZz2qhiy7y/fnwqyKw= =NsLE -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
Re: Gemini compile error
At 9:43 AM +0100 11/22/01, Attila Beno wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Thu, 22 Nov 2001, Ashley M. Kirchner wrote: While compiling MySQL+Gemini-3.23.41 i received the following error: System is RedHat 7.1, with their GCC 2.96-85 Same here, althogh the binary version starts up fine. While I'm on the subject, does BDB tables provide the same type of locking that Gemini does? Is there any reason to favor Gemini over BDB? While on the subject: has anyone seen a WORKING gemini table? I've tried 2 different redhat systes, and 3 different debian systems, and always got the same result: starts up fine, dies in about 15 seconds, safe_mysqld tries to bring it up, so it recoveres from the crash, repeats the whole thing a few times, and then no longer recovers. I've not had any problems with GEMINI tables, though I've seen something like what you describe with BDB tables. RedHat 7.0, gcc 2.96-85. - 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: Gemini compile error
Hi Ashley, - Original Message - From: Ashley M. Kirchner [EMAIL PROTECTED] While compiling MySQL+Gemini-3.23.41 i received the following error: [...] System is RedHat 7.1, with their GCC 2.96-85 No idea about Gemini, but we do have an advisory against using gcc 2.96 on RedHat to compile MySQL, it appears to produce faulty code. We currently use gcc 2.95 to create our binary distribution. While I'm on the subject, does BDB tables provide the same type of locking that Gemini does? Is there any reason to favor Gemini over BDB? BDB locks on page level. You'll want to have a look at the InnoDB tables, which provide row-level locking and many other features. See http://www.mysql.com/doc/I/n/InnoDB.html If you're just starting out, I would recommend you grab the latest version from www.mysql.com (3.23.44 or 4.0.0 at the time of writing this message, but 3.23.45 will be out soon). Also, only compile from source if you really need to, otherwise it is recommended to use the binaries as provided by MySQL AB which have been compiled with optimal settings, and tested with our test suite before release. Regards, Arjen. -- MySQL Training Worldwide, http://www.mysql.com/training/ __ ___ ___ __ / |/ /_ __/ __/ __ \/ /Mr. Arjen G. Lentz [EMAIL PROTECTED] / /|_/ / // /\ \/ /_/ / /__ MySQL AB, Technical Writer /_/ /_/\_, /___/\___\_\___/ Brisbane, QLD Australia ___/ 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
compile error, on SuSe 7.0, in mysql_base.cc, with gcc 2.95.2
Description: -- trying to compile source dist 3.23.44 from tarball -- OS: SuSe 7.0 with gcc 2.95.2 -- configure went fine, with the below specified options -- I appended the configure output -- make interrupts with the following error sql_base.cc: In function `int setup_fields(THD *, TABLE_LIST *, ListItem , bool, ListItem *)': sql_base.cc:1776: parse error at null character sql_base.cc:1783: confused by earlier errors, bailing out make[3]: *** [sql_base.o] Error 1 make[2]: *** [all-recursive] Error 1 make[1]: *** [all-recursive] Error 1 make: *** [all-recursive-am] Error 2 How-To-Repeat: Fix: Submitter-Id: jan griebsch [EMAIL PROTECTED] Originator:root Organization: PennState University MySQL support: none Synopsis: source compilation ends with error in sql_base.cc, gcc 2.95.2 Severity: non-critical Priority: medium Category: mysql Class: sw-bug Release: mysql-3.23.44 (Source distribution) Environment: Athlon 768MB RAM, SuSe 7.0, gcc 2.95.2 System: Linux depcla8 2.2.16 i686 Architecture: i686 Some paths: /usr/local/bin/perl /usr/bin/make /usr/bin/gmake /usr/bin/gcc /usr/bin/cc GCC: Reading specs from /usr/lib/gcc-lib/i486-suse-linux/2.95.2/specs gcc version 2.95.2 19991024 (release) Compilation info: CFLAGS=-O3 -mpentiumpro CXX=gcc CXXFLAGS=-O3 -mpentiumpro -felide-constructors -fno-exceptions -fno-rtti LIBC: lrwxrwxrwx 1 root root 13 Jun 21 13:55 /lib/libc.so.4 - libc.so.4.7.6 -rwxr-xr-x 1 root root 634880 Apr 29 1996 /lib/libc.so.4.7.6 -rwxr-xr-x 1 root root 4070406 Jul 30 2000 /lib/libc.so.6 -rw-r--r-- 1 root root 19185232 Jul 30 2000 /usr/lib/libc.a -rw-r--r-- 1 root root 178 Jul 30 2000 /usr/lib/libc.so -rw-r--r-- 1 root root 2032004 Jul 29 2000 /usr/lib/libc-client.a lrwxrwxrwx 1 root root 20 Jun 19 20:46 /usr/lib/libc-client.so - ./libc-client.so.4.7 -rwxr-xr-x 1 root root 668784 Jul 29 2000 /usr/lib/libc-client.so.4.7 Configure command: ./configure --prefix=/usr/local/mysql --enable-assembler --with-mysqld-ldflags=-all-static --disable-shared --with-extra-charset=complex --with-raid -- configure output: creating cache ./config.cache checking host system type... i686-pc-linux-gnu checking target system type... i686-pc-linux-gnu checking build system type... i686-pc-linux-gnu checking for a BSD compatible install... /usr/bin/ginstall -c checking whether build environment is sane... yes checking whether make sets ${MAKE}... yes checking for working aclocal... found checking for working autoconf... found checking for working automake... found checking for working autoheader... found checking for working makeinfo... found 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... gawk checking for gcc... gcc checking whether the C compiler (gcc -O3 -mpentiumpro ) works... yes checking whether the C compiler (gcc -O3 -mpentiumpro ) is a cross-compiler... no checking whether we are using GNU C... yes checking whether gcc accepts -g... yes checking for c++... gcc checking whether the C++ compiler (gcc -O3 -mpentiumpro -felide-constructors -fno-exceptions -fno-rtti ) works... yes checking whether the C++ compiler (gcc -O3 -mpentiumpro -felide-constructors -fno-exceptions -fno-rtti ) is a cross-compiler... no checking whether we are using GNU C++... yes checking whether gcc accepts -g... yes checking how to run the C preprocessor... gcc -E checking for ranlib... ranlib checking for ld used by GCC... /usr/i486-suse-linux/bin/ld checking if the linker (/usr/i486-suse-linux/bin/ld) is GNU ld... yes checking for BSD-compatible nm... /usr/bin/nm -B checking whether ln -s works... yes updating cache ./config.cache loading cache ./config.cache within ltconfig checking for object suffix... o checking for executable suffix... no checking for gcc option to produce PIC... -fPIC checking if gcc PIC flag -fPIC works... yes checking if gcc supports -c -o file.o... yes checking if gcc supports -c -o file.lo... yes checking if gcc supports -fno-rtti -fno-exceptions ... yes checking if gcc static flag -static works... -static checking if the linker (/usr/i486-suse-linux/bin/ld) is GNU ld... yes checking whether the linker (/usr/i486-suse-linux/bin/ld) supports shared libraries... yes checking command to parse /usr/bin/nm -B output... ok checking how to hardcode library paths into programs... immediate checking for /usr/i486-suse-linux/bin/ld option to reload object files... -r checking dynamic linker characteristics... Linux ld.so checking if libtool supports shared libraries... yes checking whether to build shared libraries... no checking whether to build static libraries... yes checking for objdir... .libs creating libtool updating cache
Compile error, 3.23.42 error with macro uint8korr
Description: I am attempting to compile 3.23.42 for testing the innodb and gemini tables. I'm also going to test the RAID tables. The configure works fine. However, when the compiler enters the sql directory there is an error in field.cc, this is shown below with nice spacing added and the error emphasized. gcc -DMYSQL_SERVER -DDEFAULT_MYSQL_HOME=\/usr/local/mysql\ -DDATADIR=\/usr/local/mysql/var\ -DSHAREDIR=\/usr/local/mysql/share/mysql\ -DHAVE_CONFIG_H -I../innobase/include -I../gemini/incl -I../gemini -I./../include -I./../regex -I. -I../include -I.. -I.-O3 -DDBUG_OFF -O3 -mpentiumpro -felide-constructors -fno-exceptions -fno-rtti -fno-implicit-templates -fno-exceptions -fno-rtti -c field.cc -- field.cc:4125:34: macro uint8korr passed 2 arguments, but takes just 1 make[3]: *** [field.o] Error 1 make[3]: Leaving directory `/home/shane/mysql-3.23.42/sql' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/home/shane/mysql-3.23.42/sql' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/home/shane/mysql-3.23.42' make: *** [all-recursive-am] Error 2 How-To-Repeat: First, run configure as follows (new-lines added): CFLAGS=-O3 -mpentiumpro CXX=gcc CXXFLAGS=-O3 -mpentiumpro -felide-constructors -fno-exceptions -fno-rtti ./configure --prefix=/usr/local/mysql --enable-assembler --with-mysqld-ldflags=-all-static --disable-shared --with-extra-charset=complex --with-unix-socket-path=/usr/local/mysql/tmp/mysql.sock --with-raid --with-gemini --with-innodb Then, do a make Fix: I don't know, probably just make the call to uint8korr in field.cc just pass one argument, but since I don't know what was intended or what the purpose of the call is, I don't want to go messing around. Submitter-Id: Shane Originator: Organization: ICServ MySQL support: none Synopsis: Can't compile due to an error in field.cc with uint8korr Severity: serious Priority: medium Category: mysql Class: sw-bug Release: mysql-3.23.42 (Source distribution) Environment: machine, os, target, libraries (multiple lines) System: Linux homer 2.4.2-2 #1 Sun Apr 8 20:41:30 EDT 2001 i686 unknown Architecture: i686 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.1 2.96-81) -- NOTE -- This doesn't match the compiler flags that I used. Compilation info: CC='gcc' CFLAGS='' CXX='gcc' CXXFLAGS='' LDFLAGS='' LIBC: lrwxrwxrwx1 root root 13 Sep 12 06:40 /lib/libc.so.6 - libc-2.2.2.so -rwxr-xr-x2 root root 1236396 Apr 6 15:58 /lib/libc-2.2.2.so -rw-r--r--1 root root 26350254 Apr 6 13:27 /usr/lib/libc.a -rw-r--r--1 root root 178 Apr 6 13:27 /usr/lib/libc.so -- NOTE -- This doesn't match the configure line that I used and doesn't correspond with my make file. Configure command: ./configure --with-unix-socket-path=/var/tmp/mysql.sock --with-low-memory --with-mit-threads=yes --without-perl --enable-thread-safe-client --with-berkeley-db --with-innodb - 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: Compile error, 3.23.42 error with macro uint8korr
*mysql-list has an annoying filter* [EMAIL PROTECTED] writes: Environment: machine, os, target, libraries (multiple lines) System: Linux homer 2.4.2-2 #1 Sun Apr 8 20:41:30 EDT 2001 i686 unknown Architecture: i686 It would be useful if you made sure that all errata are applied to your machine, and then try again - the simplest way is just running up2date on your system. It compiles here, on a Roswellish system (and slightly different opions - no Gemini, only BDB and innodb) -- Trond Eivind Glomsrød Red Hat, 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
Re: Compile error, 3.23.42 error with macro uint8korr
It compiles here, on a Roswellish system (and slightly different opions - no Gemini, only BDB and innodb) I removed the --with-gemini option and everything compiles beautifully. I tried it with the mysql+gemini-3.23.41 source and I still get errors. I wanted to compare Innobase and Gemini, but if I can't get the source to compile with gemini enabled, maybe that's my answer. :) However, If anyone knows how to do it I would still appreciate the help. Thanks, Shane Corgatelli [EMAIL PROTECTED] - 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: Compile error, 3.23.42 error with macro uint8korr
Shane Corgatelli [EMAIL PROTECTED] writes: It compiles here, on a Roswellish system (and slightly different opions - no Gemini, only BDB and innodb) I removed the --with-gemini option and everything compiles beautifully. I tried it with the mysql+gemini-3.23.41 source and I still get errors. 3.23.41 had assembly problems which was fixed in 3.23.42. This was also released as a patch to this list by the innodb people, who seem to a pretty responsive group. -- Trond Eivind Glomsrød Red Hat, 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
bug report / source compile error
Hi, I have Windows NT 4.0 (build 1381/SP6a) running IIS4 Webserver ( http://www.abadon.net or 212.30.85.173 ) connected via CableModem/LAN to Internet. I have also PHP ( Version 4.0.6 )scripting engine and MySQL server ( Client API version 3.23.32 said PHP info page, but in WinMySQL admin Ver 1.3 is : Server : 3.23.41-nt Client: 3.23.36 - but It doesen`t matter - MySQL working perfect without any problems or bugs ( info page is: http://212.30.85.173/phpinfo.php with UN info and PW guest, `cause my server is not public, only developing ...). But my problem is: I have downloaded SourceCode for MySQL ( mysql-3.23.41-win-src.zip ), unzip and open workspace with Visual C++ ( part of MS VisualStudio 6 Pro with SP 4 ) and rebuild all - without problem, excepcion one with describe: Configuration: strings - Win32 Debug Performing Custom Build Step on .\Strxmov.asm The name specified is not recognized as an internal or external command, operable program or batch file. Error executing e:\winnt\system32\cmd.exe. mysqld.exe - 1 error(s), 0 warning(s) I haven`t idea what`s that: bug or is something wrong with my machine or IDE ( my knowledge is not so perfect... )... regards ps - I haven`t any problems with other sources codes, like Macromedia SWF flash source, etc sorry to my bad english language... Slevec Brane, Slovenia mailto:[EMAIL PROTECTED] Here is complete log: Deleting intermediate files and output files for project 'heap - Win32 Debug'. Deleting intermediate files and output files for project 'isam - Win32 Debug'. Deleting intermediate files and output files for project 'merge - Win32 Debug'. Deleting intermediate files and output files for project 'mysys - Win32 Debug'. Deleting intermediate files and output files for project 'regex - Win32 Debug'. Deleting intermediate files and output files for project 'strings - Win32 Debug'. Deleting intermediate files and output files for project 'dbug - Win32 Debug'. Deleting intermediate files and output files for project 'zlib - Win32 Debug'. Deleting intermediate files and output files for project 'mysqlclient - Win32 Debug'. Deleting intermediate files and output files for project 'mysql - Win32 Debug'. Deleting intermediate files and output files for project 'mysqladmin - Win32 Debug'. Deleting intermediate files and output files for project 'mysqldump - Win32 Debug'. Deleting intermediate files and output files for project 'mysqlimport - Win32 Debug'. Deleting intermediate files and output files for project 'MySqlManager - Win32 Debug'. Deleting intermediate files and output files for project 'mysqlshow - Win32 Debug'. Deleting intermediate files and output files for project 'libmySQL - Win32 Debug'. Deleting intermediate files and output files for project 'myTest - Win32 Debug'. Deleting intermediate files and output files for project 'thr_test - Win32 Debug'. Deleting intermediate files and output files for project 'replace - Win32 Debug'. Deleting intermediate files and output files for project 'myisam - Win32 Debug'. Deleting intermediate files and output files for project 'myisammrg - Win32 Debug'. Deleting intermediate files and output files for project 'innobase - Win32 Debug'. Deleting intermediate files and output files for project 'bdb - Win32 Debug'. Deleting intermediate files and output files for project 'mysqld - Win32 Debug'. Configuration: heap - Win32 Debug Compiling... _check.c _rectest.c hp_block.c hp_clear.c hp_close.c hp_create.c hp_delete.c hp_extra.c hp_hash.c hp_info.c hp_open.c hp_panic.c hp_rename.c hp_rfirst.c hp_rkey.c hp_rlast.c hp_rnext.c hp_rprev.c hp_rrnd.c hp_rsame.c Generating Code... Compiling... hp_scan.c hp_static.c hp_update.c hp_write.c Generating Code... Creating library... Configuration: isam - Win32 Debug Compiling... _cache.c _dbug.c _dynrec.c _key.c _locking.c _packrec.c _page.c _search.c _statrec.c changed.c close.c create.c delete.c extra.c info.c log.c open.c panic.c range.c rfirst.c Generating Code... Compiling... rkey.c rlast.c rnext.c rprev.c rrnd.c rsame.c rsamepos.c static.c update.c write.c Generating Code... Creating library... Configuration: merge - Win32 Debug Compiling... _locking.c close.c create.c delete.c extra.c info.c open.c panic.c rrnd.c rsame.c static.c update.c Generating Code... Creating library... Configuration: mysys - Win32 Debug Compiling... array.c Compiling... charset.c checksum.c default.c errors.c getopt.c getopt1.c getvar.c hash.c list.c mf_brkhant.c mf_cache.c mf_casecnv.c mf_dirname.c mf_fn_ext.c mf_format.c mf_getdate.c mf_iocache.c mf_iocache2.c mf_keycache.c mf_loadpath.c Generating Code... Compiling... mf_pack.c mf_pack2.c mf_path.c mf_qsort.c mf_qsort2.c mf_radix.c mf_same.c mf_sort.c mf_soundex.c mf_stripp.c mf_tempfile.c mf_wcomp.c mf_wfile.c mulalloc.c my_alarm.c
Re: bug report / source compile error
At 10:33 05/09/2001 +0200, abadon wrote: Hi, Hi, I have Windows NT 4.0 (build 1381/SP6a) running IIS4 Webserver ( http://www.abadon.net or 212.30.85.173 ) connected via CableModem/LAN to Internet. I have also PHP ( Version 4.0.6 )scripting engine and MySQL server ( Client API version 3.23.32 said PHP info page, but in WinMySQL admin Ver 1.3 is : Server : 3.23.41-nt Client: 3.23.36 - This means that the server is 3.23.41 release and the WinMySQLAdmin that is the client was compiled with the 3.23.36 library. I will update the libraries for the next release. but It doesen`t matter - MySQL working perfect without any problems or bugs ( info page is: http://212.30.85.173/phpinfo.php with UN info and PW guest, `cause my server is not public, only developing ...). But my problem is: I have downloaded SourceCode for MySQL ( mysql-3.23.41-win-src.zip ), unzip and open workspace with Visual C++ ( part of MS VisualStudio 6 Pro with SP 4 ) and rebuild all - without problem, excepcion one with describe: Configuration: strings - Win32 Debug Performing Custom Build Step on .\Strxmov.asm The name specified is not recognized as an internal or external command, operable program or batch file. Error executing e:\winnt\system32\cmd.exe. This means that you don't have the MS Macro Assembler Compiler in your environment to perform the custom build of strxmov.asm file. In your strings project file you have instructions for the MASM 5.0 and if you don't have it, your options are: - Change the strings.dsp and strings dsw files by the files you find in \strings\NOMASM directory. In this case you won't compile the strings stuff with the assembler. - Get the Masm 6.x from Microsoft and change the custom command. You find instructions about at: http://msdn.microsoft.com/vstudio/sp/vs6sp5/faq.asp - If you have the MASM 6.x: - Right click over the strings project and click Set as Active Project. - Right click again and click Settings. - Open the strings tree. - Click over the Strings.asm file and at right side click the tab Custom Build. In the windows Commands, change the line: masm -Mx -t -DDOS386 -DM_I386 $(InputPath),$(Outdir)\$(InputName).obj,,, by the line below: ml /Cx /nologo /DDOS386 /DM_I386 /Zm /coff /c /Fo $(Outdir)\$(InputName).obj $(InputPath) - Do the same with the file Strxmov.asm. - Change the assembler command for the Win32 debug and release trees. Regards, Miguel mysqld.exe - 1 error(s), 0 warning(s) I haven`t idea what`s that: bug or is something wrong with my machine or IDE ( my knowledge is not so perfect... )... regards ps - I haven`t any problems with other sources codes, like Macromedia SWF flash source, etc sorry to my bad english language... Slevec Brane, Slovenia mailto:[EMAIL PROTECTED] Here is complete log: Deleting intermediate files and output files for project 'heap - Win32 Debug'. Deleting intermediate files and output files for project 'isam - Win32 Debug'. Deleting intermediate files and output files for project 'merge - Win32 Debug'. Deleting intermediate files and output files for project 'mysys - Win32 Debug'. Deleting intermediate files and output files for project 'regex - Win32 Debug'. Deleting intermediate files and output files for project 'strings - Win32 Debug'. Deleting intermediate files and output files for project 'dbug - Win32 Debug'. Deleting intermediate files and output files for project 'zlib - Win32 Debug'. Deleting intermediate files and output files for project 'mysqlclient - Win32 Debug'. Deleting intermediate files and output files for project 'mysql - Win32 Debug'. Deleting intermediate files and output files for project 'mysqladmin - Win32 Debug'. Deleting intermediate files and output files for project 'mysqldump - Win32 Debug'. Deleting intermediate files and output files for project 'mysqlimport - Win32 Debug'. Deleting intermediate files and output files for project 'MySqlManager - Win32 Debug'. Deleting intermediate files and output files for project 'mysqlshow - Win32 Debug'. Deleting intermediate files and output files for project 'libmySQL - Win32 Debug'. Deleting intermediate files and output files for project 'myTest - Win32 Debug'. Deleting intermediate files and output files for project 'thr_test - Win32 Debug'. Deleting intermediate files and output files for project 'replace - Win32 Debug'. Deleting intermediate files and output files for project 'myisam - Win32 Debug'. Deleting intermediate files and output files for project 'myisammrg - Win32 Debug'. Deleting intermediate files and output files for project 'innobase - Win32 Debug'. Deleting intermediate files and output files for project 'bdb - Win32 Debug'. Deleting intermediate files and output files for project 'mysqld - Win32 Debug'. Configuration: heap - Win32 Debug Compiling... _check.c _rectest.c
Re: compile error - ld: cannot find -lrt
Hi! Sinisa == Sinisa Milivojevic [EMAIL PROTECTED] writes: Sinisa Faine, Mark writes: Ok, so I've downgraded my compiler (gcc) to 2.95.3 since mysql seems to be incompatible with 3.0, yet I'm still getting an error during the make: /usr/local/sparc-sun-solaris2.8/bin/ld: cannot find -lrt cut my config: ./configure --enable-static --enable-assembler --disable-shared --with-libwrap --without-debug --with-mysqld-ldflags=-all-static --without-docs --without-bench --with-charset=latin1 --with-berkeley-db --with-innodb --with-mysqld-user=mysql The problem is that Solaris 2.8 doesn't support the option --all-static when using threads. Please remove this option from configure and it should work. (This is actually mentioned in the Solaris section in the MySQL manual). 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: compile error - ld: cannot find -lrt
Faine, Mark writes: Ok, so I've downgraded my compiler (gcc) to 2.95.3 since mysql seems to be incompatible with 3.0, yet I'm still getting an error during the make: /usr/local/sparc-sun-solaris2.8/bin/ld: cannot find -lrt collect2: ld returned 1 exit status make[3]: *** [mysqld] Error 1 make[3]: Leaving directory `/export/home6/temp/mysql-3.23.41/sql' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/export/home6/temp/mysql-3.23.41/sql' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/export/home6/temp/mysql-3.23.41' make: *** [all-recursive-am] Error 2 my config: ./configure --enable-static --enable-assembler --disable-shared --with-libwrap --without-debug --with-mysqld-ldflags=-all-static --without-docs --without-bench --with-charset=latin1 --with-berkeley-db --with-innodb --with-mysqld-user=mysql OS: Solaris 8 Looks like a missing library to me but I checked and it's there? -Mark MySQL builds just fine with gcc 3.0. All you have to do is : export CXXLD=g++ prior to running configure -- 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
Compile error (checking for restartable system calls... configure: error can not run test while cross compiling)
I get the following error when running configure on a mysql-3.22.32 source distribution for Solaris 2.7: == checking for restartable system calls... configure: error can not run test while cross compiling == I found the message in the manual, but it claims I have a broken compiler. Yet, I am able to actually compile and run the simple program buried in the configure script using gcc without any problems. This is on a newly built Solaris box also. Here is the build level of the box... locutus# uname -a SunOS locutus 5.7 Generic_106541-16 sun4u sparc SUNW,Ultra-5_10 Kevin - 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: C API Compile Error
Good Morning - Thank you so much, your suggestion worked perfectly! Best Regards, Rob --- Grigory Bakunov [EMAIL PROTECTED] wrote: Date |Mon, 6 Aug 2001 14:46:13 -0700 (PDT) From |Rob Doornbos [EMAIL PROTECTED] Hello! RD Good Afternoon - RD I receive the following error when attempting to RD compile an application to use the C API. RD gcc -oclient1 client1.c -I/usr/local/mysql/include RD -L/usr/local/mysql/lib -lmysqlclient RD /usr/local/mysql/lib/libmysqlclient.a(my_compress.o): RD In function `my_uncompress': RD my_compress.o(.text+0x9a): undefined reference to RD `uncompress' RD /usr/local/mysql/lib/libmysqlclient.a(my_compress.o): RD In function `my_compress_alloc': RD my_compress.o(.text+0x12a): undefined reference to RD `compress' RD collect2: ld returned 1 exit status RD Any ideas would be much appreciated. RD Best Regards, RD Rob Try to add -lz to gcc command line, gcc -oclient1 client1.c -I/usr/local/mysql/include -L/usr/local/mysql/lib -lmysqlclient -lz ___ Truly yours, Grigory Bakunov ASPLinux Support Team http://www.asplinux.ru = ~~ Robert A. Doornbos, Jr. Leader, Forecast Systems Group WeatherNews, Inc. (USA) [EMAIL PROTECTED](530) 893-0308 ~~ __ Do You Yahoo!? Make international calls for as low as $.04/minute with Yahoo! Messenger http://phonecard.yahoo.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
C API Compile Error
Good Afternoon - I receive the following error when attempting to compile an application to use the C API. gcc -oclient1 client1.c -I/usr/local/mysql/include -L/usr/local/mysql/lib -lmysqlclient /usr/local/mysql/lib/libmysqlclient.a(my_compress.o): In function `my_uncompress': my_compress.o(.text+0x9a): undefined reference to `uncompress' /usr/local/mysql/lib/libmysqlclient.a(my_compress.o): In function `my_compress_alloc': my_compress.o(.text+0x12a): undefined reference to `compress' collect2: ld returned 1 exit status Any ideas would be much appreciated. Best Regards, Rob = ~~ Robert A. Doornbos, Jr. Leader, Forecast Systems Group WeatherNews, Inc. (USA) [EMAIL PROTECTED](530) 893-0308 ~~ __ Do You Yahoo!? Make international calls for as low as $.04/minute with Yahoo! Messenger http://phonecard.yahoo.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: C API Compile Error
Date |Mon, 6 Aug 2001 14:46:13 -0700 (PDT) From |Rob Doornbos [EMAIL PROTECTED] Hello! RD Good Afternoon - RD I receive the following error when attempting to RD compile an application to use the C API. RD gcc -oclient1 client1.c -I/usr/local/mysql/include RD -L/usr/local/mysql/lib -lmysqlclient RD /usr/local/mysql/lib/libmysqlclient.a(my_compress.o): RD In function `my_uncompress': RD my_compress.o(.text+0x9a): undefined reference to RD `uncompress' RD /usr/local/mysql/lib/libmysqlclient.a(my_compress.o): RD In function `my_compress_alloc': RD my_compress.o(.text+0x12a): undefined reference to RD `compress' RD collect2: ld returned 1 exit status RD Any ideas would be much appreciated. RD Best Regards, RD Rob Try to add -lz to gcc command line, gcc -oclient1 client1.c -I/usr/local/mysql/include -L/usr/local/mysql/lib -lmysqlclient -lz ___ Truly yours, Grigory Bakunov ASPLinux Support Team http://www.asplinux.ru - 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: Compile Error Tru64 __cxa_pure_virtual
Kundiger, Rick writes: When compiling with gcc3.0 mysql 3.23.4 I get the following error trying to link the mysqlbinlog (I think) any idaes? Rick lmach -lexc mkdir .libs gcc -O3 -DDBUG_OFF -O3 -felide-constructors -fno-exceptions -fno-rtti -fno-implicit-templates -fno-exceptions -fno-rtti -o mysqlbinlog mysqlbinlog.o mini_client.o net_serv.o mini_client_errors.o violite.o password.o ../isam/libnisam.a ../merge/libmerge.a ../myisam/libmyisam.a ../myisammrg/libmyisammrg.a ../heap/libheap.a ../mysys/libmysys.a ../dbug/libdbug.a ../regex/libregex.a ../strings/libmystrings.a -lpthread -lmach -lexc -lm -lpthread -lmach -lexc /usr/bin/ld: Unresolved: __cxa_pure_virtual Hi! Please check out that you have exported CXX=gcc prior to running configure. -- 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
Compile Error Tru64 __cxa_pure_virtual
When compiling with gcc3.0 mysql 3.23.4 I get the following error trying to link the mysqlbinlog (I think) any idaes? Rick lmach -lexc mkdir .libs gcc -O3 -DDBUG_OFF -O3 -felide-constructors -fno-exceptions -fno-rtti -fno-implicit-templates -fno-exceptions -fno-rtti -o mysqlbinlog mysqlbinlog.o mini_client.o net_serv.o mini_client_errors.o violite.o password.o ../isam/libnisam.a ../merge/libmerge.a ../myisam/libmyisam.a ../myisammrg/libmyisammrg.a ../heap/libheap.a ../mysys/libmysys.a ../dbug/libdbug.a ../regex/libregex.a ../strings/libmystrings.a -lpthread -lmach -lexc -lm -lpthread -lmach -lexc /usr/bin/ld: Unresolved: __cxa_pure_virtual collect2: ld returned 1 exit status gmake[3]: *** [mysqlbinlog] Error 1 gmake[3]: Leaving directory `/usr/mysql/mysql323.4/sql' gmake[2]: *** [all-recursive] Error 1 gmake[2]: Leaving directory `/usr/mysql/mysql323.4/sql' gmake[1]: *** [all-recursive] Error 1 gmake[1]: Leaving directory `/usr/mysql/mysql323.4' gmake: *** [all-recursive-am] Error 2 # ^D script done on Thu Jul 26 15:11:26 2001 - 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: RE: thread compile error on MySQL 4.0
here I hope this will get into your mailing list query query query query query query query query query query query query query query query query query query I am having a small problem compiling V4.0 on RedHat 6.2. At the end of the make process, it dumps out with undefined references to some functions in the thread library. I'm sorry that I cannot paste the exact error. I'm on a windows box. I saw a few days back in the archives that someone had the same error, and the next in thread said it was fixed with help from a previous reply, but I cannot find that message. It seems that the thread library is not included correctly some where. any help would be appreciated thank you brian austin - 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
Super-smack compile error
Hi All anyone ever get this? FreeBSD 4.3 OS, using default configure. $ gmake -s Making all in src client.cc:21: redefinition of `union semun' /usr/include/sys/sem.h:49: previous definition here client.cc: In method `void Client::setup_pipe()': client.cc:286: no matching function for call to `semun::semun ()' client.cc:26: candidates are: semun::semun(const semun ) client.cc: In method `void Client::thread_sync()': client.cc:321: `ERESTART' undeclared (first use this function) client.cc:321: (Each undeclared identifier is reported only once client.cc:321: for each function it appears in.) gmake[2]: *** [client.o] Error 1 gmake[1]: *** [all-recursive] Error 1 gmake: *** [all-recursive-am] Error 2 $ pwd /usr/home/sysadm/mysql/super-smack-1.0 $ Any suggestions? Ken - Ken Menzel ICQ# 9325188 www.icarz.com [EMAIL PROTECTED] - 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
compile error
Hi, I'm developing an application with mysqlclient library, my code is right but i get an error: /usr/lib/mysql/libmysqlclient.a(my_compress.o): In function 'my_uncompress': my_compress.o(.text+0x9a): undefined reference to 'uncompress' /usr/lib/mysql/libmysqlclient.a(my_compress.o): In function 'my_compress_alloc': my_compress.o(.text+0x12a): undefined reference to 'compress' i'm using Linux Red Hat 6.2, mysql 3.23.35, mysql-devel-3.23.38-1, gcc version egcs-2.91.66 i'm very new in Linux programming and i really need help! thanks in advance. José -- Obtén gratis tu cuenta de correo en StarMedia Email. ¡Regístrate hoy mismo!. http://www.starmedia.com/email -- - 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: compile error
Hi José Could you give us some more information ? Something like gcc -I/usr. Generally you didn't point the compiler which library to use or where is it or simply did it in wrong order. I think so but I'm not 100% sure of it because I'm a novice too ;-) Regards Karol Majewski query / sql / database -- Ile zarabiasz? Wypelnij ankiete, dowiesz sie jak zarabiac wiecej [ http://listaplac.onet.pl ] - 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
Borland C++Builder compile error
I am attempting to add SQL client-server functionality to a Window's (2000) app I am developing in Borland's C++Builder v5. After installing the mysql C API, including the mysql.h header and setting my include and library paths appropriately, I was unable to compile the API code. The compiling error occurs in mysql_com.h at line 115 which reads my_socket fd; the compiling error is type name expected, followed by a second error Declaration missing ';'. I've looked at the code which I can see, and there doesn't seem to be any syntax errors. Has anyone seen something like this occur before?? I may need to change some settings or macros to get this to compile, but I don't know where to start. Any suggestions for getting around this problem? Thanks in advance, Jay - 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: Borland C++Builder compile error
At 10:03 07/06/2001 -0700, Jay Stewart wrote: Hi! Please add #include winsock.h at your main unit. Regards, Miguel I am attempting to add SQL client-server functionality to a Window's (2000) app I am developing in Borland's C++Builder v5. After installing the mysql C API, including the mysql.h header and setting my include and library paths appropriately, I was unable to compile the API code. The compiling error occurs in mysql_com.h at line 115 which reads my_socket fd; the compiling error is type name expected, followed by a second error Declaration missing ';'. I've looked at the code which I can see, and there doesn't seem to be any syntax errors. Has anyone seen something like this occur before?? I may need to change some settings or macros to get this to compile, but I don't know where to start. Any suggestions for getting around this problem? Thanks in advance, Jay - 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 -- For technical support contracts, goto https://order.mysql.com/ __ ___ ___ __ / |/ /_ __/ __/ __ \/ /Mr. Miguel A. Solórzano [EMAIL PROTECTED] / /|_/ / // /\ \/ /_/ / /__ MySQL AB, FullTime Developer /_/ /_/\_, /___/\___\_\___/ Mogi das Cruzes - São Paulo, Brazil ___/ 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
MySQL compile error
Help me please ! installing MySQL 3.23.36 on Ultra SPARC/Solaris 2.7 GNU make 3.79.1, binutils, and libtool latest version, gcc 2.95.2 environment variables: CC=gcc CFLAGS=-O6 CXX=gcc CXXFLAGS=-O6 -felide -constructors -fno-exceptions -fno-rtti at the command line: ./configure --prefix=myprefix --with-low-memory --enable-assembler# configure completed OK make After entering make, it ran for awhile and then I got the following error: . . . gcc -O6 -DDBUG_OFF -O6 -DHAVE_CURSES_H -I/vendors/wwsoft/software/opensource/mysql/src/3.23.36/include -DHAVE_RWLOCK_T -o resolveip resolveip.o ../mysys/libmysys.a ../dbug/libdbug.a ../strings/libmystrings.a -ldl -lz -lcrypt -lgen -lsocket -lnsl -lm -lpthread -lthread Undefined first referenced symbol in file __h_errno resolveip.o ld: fatal: Symbol referencing errors. No output written to resolveip collect2: ld returned 1 exit status make[2]: *** [resolveip] Error 1 make[2]: Leaving directory `/vendors/wwsoft/software/opensource/mysql/src/3.23.36/extra' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/vendors/wwsoft/software/opensource/mysql/src/3.23.36' make: *** [all-recursive-am] Error 2 . . . Is there anything I can do ?
Re: MySQL compile error
You might want to try downloading binutils from the GNU web site. It has a modified version of the linker libraries (ld). I still wasn't able to get past the yacc compile even with 512MB RAM. Let me know how you make out. I ended up using the binary distribution. James Bonham wrote: Help me please ! installing MySQL 3.23.36 on Ultra SPARC/Solaris 2.7 GNU make 3.79.1, binutils, and libtool latest version, gcc 2.95.2 environment variables: CC=gcc CFLAGS=-O6 CXX=gcc CXXFLAGS=-O6 -felide -constructors -fno-exceptions -fno-rtti at the command line: ./configure --prefix=myprefix --with-low-memory --enable-assembler# configure completed OK make After entering make, it ran for awhile and then I got the following error: . . . gcc -O6 -DDBUG_OFF -O6 -DHAVE_CURSES_H -I/vendors/wwsoft/software/opensource/mysql/src/3.23.36/include -DHAVE_RWLOCK_T -o resolveip resolveip.o ../mysys/libmysys.a ../dbug/libdbug.a ../strings/libmystrings.a -ldl -lz -lcrypt -lgen -lsocket -lnsl -lm -lpthread -lthread Undefined first referenced symbol in file __h_errno resolveip.o ld: fatal: Symbol referencing errors. No output written to resolveip collect2: ld returned 1 exit status make[2]: *** [resolveip] Error 1 make[2]: Leaving directory `/vendors/wwsoft/software/opensource/mysql/src/3.23.36/extra' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/vendors/wwsoft/software/opensource/mysql/src/3.23.36' make: *** [all-recursive-am] Error 2 . . . Is there anything I can do ? - 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: make fails with compile error using MacOS X Darwin
Nigel Gilbert writes: From: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: make fails with compile error using MacOS X Darwin Description: make gives: mysqld.cc: In function `void init_signals()': mysqld.cc:1241: assignment to `void (*)(int)' from `void (*)()' make[3]: *** [mysqld.o] Error 1 make[2]: *** [all-recursive] Error 1 make[1]: *** [all-recursive] Error 1 make: *** [all-recursive-am] Error 2 Although the installation manual warns about a compile error in mysqld, it is not this one, and the cause (failure to edit config.h) is not the cause of this problem. How-To-Repeat: just run ./configure --prefix=/usr/local/mysql make Fix: not known Submitter-Id: Nigel Gilbert Originator: Nigel Gilbert Organization: organization of PR author (multiple lines) MySQL support: None Synopsis:le fails on MacOS X Severity: Priority:[ low | medium | high ] (one line) Category:mysql Class: sw-bug Release: mysql-3.23.36 (Source distribution) Environment: machine, os, target, libraries (multiple lines) System: Darwin bootd.soc.surrey.ac.uk 1.3 Darwin Kernel Version 1.3: Thu Mar 1 06:56:40 PST 2001; root:xnu/xnu-123.5.obj~1/RELEASE_PPC Power Macintosh powerpc Some paths: /usr/bin/perl /usr/bin/make /usr/bin/cc Compilation info: CC='gcc' CFLAGS='' CXX='gcc' CXXFLAGS='' LDFLAGS='' LIBC: lrwxr-xr-x 1 root wheel 15 Apr 6 13:04 /usr/lib/libc.dylib - libSystem.dylib Configure command: ./configure --with-unix-socket-path=/var/tmp/mysql.sock --with-low-memory --with-mit-threads=yes --without-perl --enable-thread-safe-client --with-berkeley-db --with-innobase Hi! The above is due to changes Apple made for signal handlers. Corrected code should appear in 3.23.37. Also, please do not use MIT threads. Follow instructions in our manual on which thread lib to use for your flavour of OS X. Regards, Sinisa __ _ _ ___ == MySQL AB /*/\*\/\*\ /*/ \*\ /*/ \*\ |*| Sinisa Milivojevic /*/ /*/ /*/ \*\_ |*| |*||*| mailto:[EMAIL PROTECTED] /*/ /*/ /*/\*\/*/ \*\|*| |*||*| Larnaca, Cyprus /*/ /*/ /*/\*\_/*/ \*\_/*/ |*| /*/^^^\*\^^^ /*/ \*\Developers Team - 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
make fails with compile error using MacOS X Darwin
From: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: make fails with compile error using MacOS X Darwin Description: make gives: mysqld.cc: In function `void init_signals()': mysqld.cc:1241: assignment to `void (*)(int)' from `void (*)()' make[3]: *** [mysqld.o] Error 1 make[2]: *** [all-recursive] Error 1 make[1]: *** [all-recursive] Error 1 make: *** [all-recursive-am] Error 2 Although the installation manual warns about a compile error in mysqld, it is not this one, and the cause (failure to edit config.h) is not the cause of this problem. How-To-Repeat: just run ./configure --prefix=/usr/local/mysql make Fix: not known Submitter-Id: Nigel Gilbert Originator:Nigel Gilbert Organization: organization of PR author (multiple lines) MySQL support: None Synopsis:le fails on MacOS X Severity: Priority: [ low | medium | high ] (one line) Category: mysql Class: sw-bug Release: mysql-3.23.36 (Source distribution) Environment: machine, os, target, libraries (multiple lines) System: Darwin bootd.soc.surrey.ac.uk 1.3 Darwin Kernel Version 1.3: Thu Mar 1 06:56:40 PST 2001; root:xnu/xnu-123.5.obj~1/RELEASE_PPC Power Macintosh powerpc Some paths: /usr/bin/perl /usr/bin/make /usr/bin/cc Compilation info: CC='gcc' CFLAGS='' CXX='gcc' CXXFLAGS='' LDFLAGS='' LIBC: lrwxr-xr-x 1 root wheel 15 Apr 6 13:04 /usr/lib/libc.dylib - libSystem.dylib Configure command: ./configure --with-unix-socket-path=/var/tmp/mysql.sock --with-low-memory --with-mit-threads=yes --without-perl --enable-thread-safe-client --with-berkeley-db --with-innobase -- _ Prof Nigel Gilbert, FREng AcSS, Dept. of Sociology, University of Surrey, Guildford GU2 7XH, UK. Tel: +44 (0)1483 259173 Fax: +44 (0)1483 259551 - 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: Innobase compile error on MacOS X/Darwin 1.3
Scott Ellsworth writes: Please find ctype.h attached. (I could have just trimmed, but it seemed likely that you might want info I blatantly trimmed away...) Also, on another topic, I tried building the berkeleydb option the other day, and got an error on startup about a lack of proper threads. I have found Apple responsive about missing bits in Darwin, so if anyone wants to forward me offlist what this wants, I will happily file a bug report with them. My apologies - this was 3.23.36. Attachment missing Scott On Friday, March 30, 2001, at 03:29 AM, Sinisa Milivojevic wrote: Scott Ellsworth writes: Howdy, all. The following error came up when compiling under OS X release. c++ -DMYSQL_SERVER -DDEFAULT_MYSQL_HOME="\"/usr/local/mysql\"" -DDATADIR="\"/usr/local/mysql/var\"" -DSHAREDIR="\"/usr/local/mysql/share/mysql\"" -DHAVE_CONFIG_H -I../bdb/build_unix -I../innobase/include -I./../include -I./../regex-I. -I../include -I.. -I.-O3 -DDBUG_OFF -O3 -fomit-frame-pointer -fno-implicit-templates -traditional-cpp -DHAVE_DARWIN_THREADS -traditional-cpp -DHAVE_DARWIN_THREADS -D_P1003_1B_VISIBLE -c ha_innobase.cc In file included from ../innobase/include/ut0ut.h:13, from ../innobase/include/univ.i:178, from ha_innobase.cc:48: ...see last message for gory details... /usr/include/ctype.h:99: warning: `toascii' redefined ../include/m_ctype.h:105: warning: this is the location of the previous definition In file included from ../innobase/include/ut0ut.h:13, from ../innobase/include/univ.i:178, from ha_innobase.cc:48: /usr/include/ctype.h:144: parse error before `char' /usr/include/ctype.h:151: parse error before `char' ha_innobase.cc:63: parse error before `}' make[3]: *** [ha_innobase.o] Error 1 make[2]: *** [all-recursive] Error 1 make[1]: *** [all-recursive] Error 1 make: *** [all-recursive-am] Error 2 My configure line was: CFLAGS="-O3 -fomit-frame-pointer" CXXFLAGS="-O3 -fomit-frame-pointer" ./configure --prefix=/usr/local/mysql --with-extra-charsets=complex --with-berkeley-db --with-innobase Hi! Regarding the above warnings, seems like our m_ctype.h has to be changed to include Mac OS X beside Win32 in skipping those macros. But in order to find out how to circumvent the error, we should know what code is like on these lines in ctyp.h. Please find ctype.h attached. (I could have just trimmed, but it seemed likely that you might want info I blatantly trimmed away...) Also, on another topic, I tried building the berkeleydb option the other day, and got an error on startup about a lack of proper threads. I have found Apple responsive about missing bits in Darwin, so if anyone wants to forward me offlist what this wants, I will happily file a bug report with them. You also did not say what MySQL version you are trying to build. Please try 3.23.36. My apologies - this was 3.23.36. Scott Hi! Your attachment is missing. Please repeat your message and include info I asked in the message itself. Regarding missing threads, all info you need is in our manual. Regards, Sinisa __ _ _ ___ == MySQL AB /*/\*\/\*\ /*/ \*\ /*/ \*\ |*| Sinisa Milivojevic /*/ /*/ /*/ \*\_ |*| |*||*| mailto:[EMAIL PROTECTED] /*/ /*/ /*/\*\/*/ \*\|*| |*||*| Larnaca, Cyprus /*/ /*/ /*/\*\_/*/ \*\_/*/ |*| /*/^^^\*\^^^ /*/ \*\Developers Team - 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: Innobase compile error on MacOS X/Darwin 1.3
Scott Ellsworth writes: Howdy, all. The following error came up when compiling under OS X release. c++ -DMYSQL_SERVER -DDEFAULT_MYSQL_HOME="\"/usr/local/mysql\"" -DDATADIR="\"/usr/local/mysql/var\"" -DSHAREDIR="\"/usr/local/mysql/share/mysql\"" -DHAVE_CONFIG_H -I../bdb/build_unix -I../innobase/include -I./../include -I./../regex-I. -I../include -I.. -I.-O3 -DDBUG_OFF -O3 -fomit-frame-pointer -fno-implicit-templates -traditional-cpp -DHAVE_DARWIN_THREADS -traditional-cpp -DHAVE_DARWIN_THREADS -D_P1003_1B_VISIBLE -c ha_innobase.cc In file included from ../innobase/include/ut0ut.h:13, from ../innobase/include/univ.i:178, from ha_innobase.cc:48: /usr/include/ctype.h:71: warning: `_C' redefined ../include/m_ctype.h:78: warning: this is the location of the previous definition /usr/include/ctype.h:74: warning: `_L' redefined ../include/m_ctype.h:74: warning: this is the location of the previous definition /usr/include/ctype.h:75: warning: `_P' redefined ../include/m_ctype.h:77: warning: this is the location of the previous definition /usr/include/ctype.h:76: warning: `_S' redefined ../include/m_ctype.h:76: warning: this is the location of the previous definition /usr/include/ctype.h:77: warning: `_U' redefined ../include/m_ctype.h:73: warning: this is the location of the previous definition /usr/include/ctype.h:78: warning: `_X' redefined ../include/m_ctype.h:80: warning: this is the location of the previous definition /usr/include/ctype.h:79: warning: `_B' redefined ../include/m_ctype.h:79: warning: this is the location of the previous definition /usr/include/ctype.h:85: warning: `isalnum' redefined ../include/m_ctype.h:98: warning: this is the location of the previous definition /usr/include/ctype.h:86: warning: `isalpha' redefined ../include/m_ctype.h:93: warning: this is the location of the previous definition /usr/include/ctype.h:87: warning: `iscntrl' redefined ../include/m_ctype.h:103: warning: this is the location of the previous definition /usr/include/ctype.h:88: warning: `isdigit' redefined ../include/m_ctype.h:96: warning: this is the location of the previous definition /usr/include/ctype.h:89: warning: `isgraph' redefined ../include/m_ctype.h:102: warning: this is the location of the previous definition /usr/include/ctype.h:90: warning: `islower' redefined ../include/m_ctype.h:95: warning: this is the location of the previous definition /usr/include/ctype.h:91: warning: `isprint' redefined ../include/m_ctype.h:101: warning: this is the location of the previous definition /usr/include/ctype.h:92: warning: `ispunct' redefined ../include/m_ctype.h:100: warning: this is the location of the previous definition /usr/include/ctype.h:93: warning: `isspace' redefined ../include/m_ctype.h:99: warning: this is the location of the previous definition /usr/include/ctype.h:94: warning: `isupper' redefined ../include/m_ctype.h:94: warning: this is the location of the previous definition /usr/include/ctype.h:95: warning: `isxdigit' redefined ../include/m_ctype.h:97: warning: this is the location of the previous definition /usr/include/ctype.h:98: warning: `isascii' redefined ../include/m_ctype.h:104: warning: this is the location of the previous definition /usr/include/ctype.h:99: warning: `toascii' redefined ../include/m_ctype.h:105: warning: this is the location of the previous definition In file included from ../innobase/include/ut0ut.h:13, from ../innobase/include/univ.i:178, from ha_innobase.cc:48: /usr/include/ctype.h:144: parse error before `char' /usr/include/ctype.h:151: parse error before `char' ha_innobase.cc:63: parse error before `}' make[3]: *** [ha_innobase.o] Error 1 make[2]: *** [all-recursive] Error 1 make[1]: *** [all-recursive] Error 1 make: *** [all-recursive-am] Error 2 My configure line was: CFLAGS="-O3 -fomit-frame-pointer" CXXFLAGS="-O3 -fomit-frame-pointer" ./configure --prefix=/usr/local/mysql --with-extra-charsets=complex --with-berkeley-db --with-innobase Scott --- [EMAIL PROTECTED] http://www.iceweasel.com/~scott/ "You die, she dies, EVERYbody dies" - Heavy Metal "When a great many people are unable to find work, unemployment results" - Calvin Coolidge, attrib. by Stanley Walker, City Editor, p. 131 (1934) Hi! Regarding the above warnings, seems like our m_ctype.h has to be changed to include Mac OS X beside Win32 in skipping those macros. But in order to find out how to circumvent the error, we should know what code is like on these lines in ctyp.h. You also did not say what MySQL version you are trying to build. Please try 3.23.36.