470,602 Members | 1,652 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 470,602 developers. It's quick & easy.

MySQL 4.1.16 compile failure under Linux 2.6.12.2

Hello:

Trying to upgrade from MySQL 3.23.40 to 4.1.16 and am having no luck
getting the sources compiled.

If you need further information or output please ask, I would be happy
to provide it, but don't wish to clog up the ng with unneeded info.

I run the configure as follows (as shown in the INSTALL-SOURCES doc:

CFLAGS="-O3" CXX=gcc CXXFLAGS="-O3 -felide-constructors \
-fno-exceptions -fno-rtti" ./configure \
--prefix=/usr/local/mysql --enable-assembler \
--with-mysqld-ldflags=-all-static

It will complete witout error however make fails as follows:

gcc -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. -DDBUG_OFF -O3
-felide-constructors -fno-exceptions -fno-rtti
-fno-implicit-templates -fno-exceptions -fno-rtti
-DUSE_PRAGMA_IMPLEMENTATION -c -o my_new.o my_new.cc
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 prefetch(const void
*)':
/usr/include/asm/processor.h:665: parse error before `::'
/usr/include/asm/processor.h: In function `void prefetchw(const void
*)':
/usr/include/asm/processor.h:679: parse error before `::'
make[2]: *** [my_new.o] Error 1
make[2]: Leaving directory `/mnt/scsi-1/Linux/mysql-4.1.16/mysys'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/mnt/scsi-1/Linux/mysql-4.1.16'
make: *** [all] Error 2
What amI missing here or how do I correct this to get a compiled
version running? Sysetm is Linux on an Intel P-III 933mhz cpu Kernel
version as shown below:

Linux xxxxxxxxxxxxxxxxx 2.6.12.2 #4 Sun Aug 21 10:04:50 CDT 2005 i686
unknown

I'mnot a C Programmer or developer, but am able to work with edit and
compile files given clear good directions in terms of patches or
edits.

Thank you very much,

===[George R. Kasica]=== +1 262 677 0766
President +1 206 374 6482 FAX
Netwrx Consulting Inc. Jackson, WI USA
http://www.netwrx1.com
ge*****@netwrx1.com
ICQ #12862186
Feb 2 '06 #1
0 1039

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

reply views Thread by Lenz Grimmer | last post: by
reply views Thread by David Bernick | last post: by
1 post views Thread by Eric Losier | last post: by
reply views Thread by Mike Chirico | last post: by
reply views Thread by jwl | last post: by
reply views Thread by Bill Bevis | last post: by
1 post views Thread by PowerLifter1450 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.