MySQL 4.1.16 compile failure under Linux

Do you have a question? Post it now! No Registration Necessary.  Now with pictures!


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 \

It will complete witout error however make fails as follows:

gcc -DDEFAULT_BASEDIR=\"/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
In file included from /usr/include/asm/atomic.h:6,
                 from ../include/my_global.h:280,
                 from mysys_priv.h:17,
/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 #4 Sun Aug 21 10:04:50 CDT 2005 i686

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

Thank you very much,

===[George R. Kasica]===        +1 262 677 0766
President                       +1 206 374 6482 FAX
Netwrx Consulting Inc.          Jackson, WI USA
ICQ #12862186

Site Timeline