Hi Vadim, I don't know but have you read the instructions on the
Mysql-website?
To determine if you should be concerned about this compiler issue, execute
gcc -v from the command prompt on your system. If the compiler reports
version 2.96, then there is a problem (this is the case, for example on RH
7.x series or Mandrake 8.x). In this case, you should not try to compile
your own binary before downgrading to one of the compilers mentioned above.
You should also NOT use the MySQL server provided with your distribution --
as this copy of MySQL was compiled with the same ill-advised compiler
version.
I've seen your files and its reporting you have a 2.96 compiler
greetings
Jurgen Campforts
Meidoornlaan 2/1
2200 Herentals
0496/60.25.75
http://www.scnoorderwijk.be
http://crashke.no-ip.biz
-Oorspronkelijk bericht-
Van: Vadim P. [mailto:[EMAIL PROTECTED]]
Verzonden: donderdag 9 mei 2002 23:07
Aan: [EMAIL PROTECTED]
Onderwerp: Re: Help! Error building 4.0.2 under RH Linux 7.2
Just tried building Mysql-3.x.x cloned from the Development Tree on the same
machine - works like a charm. Still no luck with 4.0.2
Is there any known issue regarding building 4.0.2 under RedHat7.2?
Thanks,
Vadim.
"Vadim P." wrote:
>
> The Dev. Tree Source MySQL 4.0 no longer builds on this machine, giving
lots
> of errors. Had been able to build from the same source w/o any problems up
> until a few days ago, when I 'bk resync'ed the source. Any ideas?
>
> Thanks for your help!
>
> --
> A snapshot of build transcript. Invoked by ./BUILD/compile-pentium.
> --
>
> [sql]# make
> Making all in share
> make[1]: Entering directory `/root/mysql-4.0/sql/share'
> make[1]: Nothing to be done for `all'.
> make[1]: Leaving directory `/root/mysql-4.0/sql/share'
> make[1]: Entering directory `/root/mysql-4.0/sql'
> 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./../include
> -I./../regex -I. -I../include -I.
> -O3 -DDBUG_OFF -Wimplicit -Wreturn-type -Wid-clash-51 -Wswitch -Wtrigraphs
> -Wcomment -W -Wchar-subscripts -Wformat
> -Wimplicit-function-dec -Wimplicit-int -Wparentheses -Wsign-compare
> -Wwrite-strings -Woverloaded-virtual -Wextern-inline
> -Wsign-promo -Wreorder -Wctor-dtor-privacy -Wnon-virtual-dtor
> -felide-constructors -fno-exceptions -fno-rtti
> -mcpu=pentiumpro -O3 -fno-omit-frame-pointer -fno-implicit-templates
> -fno-exceptions -fno-rtti -c mysqld.cc
> cc1plus: warning: Ignoring command line option '-Wimplicit-function-dec'
> cc1plus: warning: Ignoring command line option '-Wimplicit-int'
> mysqld.cc: In function `void *handle_connections_sockets (void *)':
> mysqld.cc:2425: warning: `my_socket new_sock' might be used
> uninitialized in this function
> mysqld.cc: At top level:
> mysqld.cc:3045: `disconnect_slave_event_count' was not declared in this
> scope
> mysqld.cc:3046: `disconnect_slave_event_count' was not declared in this
> scope
> mysqld.cc:3050: `abort_slave_event_count' was not declared in this
> scope
> mysqld.cc:3050: `abort_slave_event_count' was not declared in this
> scope
> mysqld.cc:3053: `max_binlog_dump_events' was not declared in this scope
> mysqld.cc:3053: `max_binlog_dump_events' was not declared in this scope
> mysqld.cc:3056: `opt_sporadic_binlog_dump_fail' was not declared in
> this scope
> mysqld.cc:3057: `opt_sporadic_binlog_dump_fail' was not declared in
> this scope
> mysqld.cc:3299: `OPT_INNODB_MIRRORED_LOG_GROUPS' was not declared in
> this scope
> mysqld.cc:3304: `OPT_INNODB_LOG_FILES_IN_GROUP' was not declared in
> this scope
> mysqld.cc:3308: `OPT_INNODB_LOG_FILE_SIZE' was not declared in this
> scope
> mysqld.cc:3312: `OPT_INNODB_LOG_BUFFER_SIZE' was not declared in this
> scope
> mysqld.cc:3316: `OPT_INNODB_BUFFER_POOL_SIZE' was not declared in this
> scope
> mysqld.cc:3320: `OPT_INNODB_ADDITIONAL_MEM_POOL_SIZE' was not declared
> in this scope
> mysqld.cc:3325: `OPT_INNODB_FILE_IO_THREADS' was not declared in this
> scope
> mysqld.cc:3329: `OPT_INNODB_LOCK_WAIT_TIMEOUT' was not declared in this
> scope
> mysqld.cc:: `OPT_INNODB_THREAD_CONCURRENCY' was not declared in
> this scope
> mysqld.cc:3337: `OPT_INNODB_FORCE_RECOVERY' was not declared in this
> scope
> make[1]: *** [mysqld.o] Error 1
> make[1]: Leaving directory `/root/mysql-4.0/sql'
> make: *** [all-recursive] Error 1
>
> --
> ./configure output:
> --
>
> loading 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 compatib