473,387 Members | 1,512 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

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 1098

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: Lenz Grimmer | last post by:
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi, MySQL 4.0.14, a new version of the popular Open Source/Free Software Database, has been released. It is now available in source and binary...
0
by: David Bernick | last post by:
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 We're doing a select query on our INNODB database. Linux 2.4.21 on x86 (Athlon). Mysql is 4.0.13. Anyone seen this problem before? - ----- InnoDB:...
1
by: Eric Losier | last post by:
Hi all, This question has been asked quite a few times, but my situation is a little bit different from what I've already read from other people. Here I go: I need to load-balance two servers...
0
by: Mike Chirico | last post by:
Interesting Things to Know about MySQL Mike Chirico (mchirico@users.sourceforge.net) Copyright (GPU Free Documentation License) 2004 Last Updated: Mon Jun 7 10:37:28 EDT 2004 The latest...
1
by: Maxim. V. | last post by:
Hello to everone, As mentioned in this *guide(1), i've compiled mysql on my fedora Core 2 system, with the following spec's : *(1) http://hulan.info/blog/index.php?itemid=576 ...
0
by: jwl | last post by:
I'm having a problem with a bit of code that I have "adopted". It was partially complete when I took it over. The function of the code is to read a log file, locate files described in that log...
0
by: Bill Bevis | last post by:
I'm trying to set up PHP 5.1.3 to run under Apache2, and talk to a MySQL 5.0.21 database, and have been banging my head against a tough install for days. I'm getting a slough of errors like this: ...
1
by: PowerLifter1450 | last post by:
I've been having a very rough time installinig mySQL on Linux. I have been following the instructions form here: http://www.hostlibrary.com/installing_apache_mysql_php_on_linux Everytime I get to...
110
by: alf | last post by:
Hi, is it possible that due to OS crash or mysql itself crash or some e.g. SCSI failure to lose all the data stored in the table (let's say million of 1KB rows). In other words what is the worst...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.