most likely a missing include it should have at least:
#include sys/time.h
#include sys/resource.h
Dave Shariff Yadallee - System Administrator a.k.a. The Root of the Problem
schrieb:
make all-am
Making all in mysql-test
Making all in lib/My/SafeProcess
g++ -DHAVE_CONFIG_H -I.
make all-am
Making all in mysql-test
Making all in lib/My/SafeProcess
g++ -DHAVE_CONFIG_H -I. -I../../../../include -O3
-fno-implicit-templates -fno-exceptions -fno-rtti -MT safe_process.o -MD -MP
-MF .deps/safe_process.Tpo -c -o safe_process.o safe_process.cc
In file included from
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
I posted this on the ODBC list, but there is not much traffic there and
no one replied. Hopefully someone here has dealt with this.
I am setting up ColdFusion to access a MySQL 4.1.x database. This
required new MyODBC drivers to be installed on the system for
ColdFusion. After a lot of trial
Ryan Stille wrote:
I posted this on the ODBC list, but there is not much traffic there and
no one replied. Hopefully someone here has dealt with this.
I am setting up ColdFusion to access a MySQL 4.1.x database. This
required new MyODBC drivers to be installed on the system for
ColdFusion.
Hi Jon, all!
Jon Earle wrote:
Joerg Bruehe said:
Still, this seems to be a problem with the header files supplied / used
by gcc. Are you sure you used the fixincludes script?
Hi Joerg,
I tried your suggestion as per:
cd /opt/freeware/lib/gcc-lib/powerpc-ibm-aix5.1.0.0/3.3.2/
mv include inc
cd
Joerg Bruehe said:
Still, this seems to be a problem with the header files supplied / used
by gcc. Are you sure you used the fixincludes script?
Hi Joerg,
I tried your suggestion as per:
cd /opt/freeware/lib/gcc-lib/powerpc-ibm-aix5.1.0.0/3.3.2/
mv include inc
cd install-tools
export
Hi!
Jon Earle wrote:
Hi all!
I'm having trouble building the latest stable on AIX 5.1. My env is as follows:
Relevant GNU tools:
[[...]]
gcc-3.3.2-4.aix5.1.ppc.rpm
[[...]]
I admit I did not use gcc on AIX for quite some time.
Results in the following error:
...
checking term.h usability... no
Hi all!
I'm having trouble building the latest stable on AIX 5.1. My env is as follows:
Relevant GNU tools:
autoconf-2.58-1.aix5.1.noarch.rpm
automake-1.7.9-1.aix5.1.noarch.rpm
binutils-2.14-3.aix5.1.ppc.rpm
bison-1.875-2.aix5.1.ppc.rpm
flex-2.5.4a-6.aix4.3.ppc.rpm
gcc-3.3.2-4.aix5.1.ppc.rpm
Description:
I have gcc installed in a nonstandard place so on the first
run gen_lex_hash failed becuase it could not find libstdc++.so.2.10.0.
I did a 'make distclean' and the reran configure with correct flags.
Unfortunately the build failed again, this time in
Does anybody have any idea why this program won't compile, it seems to
be straightforward, but it I can't get it to compile on Redhat-7.3.
It starts screaming about mysql.h immediately, I use this link to
compile with, on my machine at the house, it compiles just fine and runs
just fine, but I
At 02:55 AM 9/25/03 -0400, you wrote:
Does anybody have any idea why this program won't compile,
it compiles fine on my slak box with includes from 4.0.15 so the program is
probably ok.
...
It starts screaming about mysql.h immediately,...
gcc -c -I/usr/include/mysql mysql1.c
make sure the
I found the answer in the archives:
http://marc.theaimsgroup.com/?l=mysqlm=104770109826977w=2
/* client1.c - connect to and disconnect from MySQL server */
#include my_global.h
#include my_sys.h /* - Added this and it all works fine now */
#include mysql.h
thanks Paul :)
KL
Kelley
Hi,
I try to compile mysql-4.1.0-alpha on my GNU/Linux system with gcc-3.2
there was no problem with the configure, but for the make I got this :
[...]
Making all in cmd-line-utils
gmake[2]: Entering directory `/tmp/mysql-4.1.0-alpha/cmd-line-utils'
Making all in libedit
gmake[3]: Entering
Mark Matthews wrote:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Pierre wrote:
Hi,
I try to compile mysql-connector-java-3.1.0-alpha on my GNU/Linux system
with gcc-3.2,
but for the make I got this :
# ant
Buildfile: build.xml
Overriding previous definition of reference to non.test.sources
Hi,
I try to compile MyODBC-3.51.06 on my GNU/Linux system with gcc-3.2
there was no problem with the configure, but for the make I got this :
# gmake
Making all in driver
gmake[1]: Entering directory `/tmp/MyODBC-3.51.06/driver'
gmake all-am
gmake[2]: Entering directory
Hi,
I try to compile mysql-connector-java-3.1.0-alpha on my GNU/Linux system
with gcc-3.2,
but for the make I got this :
# ant
Buildfile: build.xml
Overriding previous definition of reference to non.test.sources
clean:
[delete] Deleting directory /tmp/build-mysql-jdbc
init:
[copy]
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Pierre wrote:
Hi,
I try to compile mysql-connector-java-3.1.0-alpha on my GNU/Linux system
with gcc-3.2,
but for the make I got this :
# ant
Buildfile: build.xml
Overriding previous definition of reference to non.test.sources
clean:
Hi all,
I get this error when compiling MySQL 4.0.9-gamma on Windows
.\debug\Strings.obj
LINK : fatal error LNK1181: cannot open input file .\debug\Strings.obj
Error executing link.exe.
Am using VC++ 6.0
Any help you can offer would be appreciated. Thanks!
Vikram
I can not compile the release of MySQL-3.23.54. Below is the errors.
make[4]: Entering directory `/home/build/ou8/mysql-3.23.54/sql'
source='mysqld.cc' object='mysqld.o' libtool=no \
depfile='.deps/mysqld.Po' tmpdepfile='.deps/mysqld.TPo' \
depmode=none /bin/bash ../depcomp \
CC -Kthread
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
On Mon, 9 Dec 2002, Pierre wrote:
I tried mysql-4.0.5a-beta, and same error...
Try to compile without --with-libwrap - seems like there is a buglet in
this part of the code - or do you desperately need TCP wrapper support?
Bye,
LenZ
- --
I tried mysql-4.0.5a-beta, and same error...
Pierre.
On 2002.12.08 02:36 Pierre wrote:
Hi,
I try to compile mysql-3.23.53 on my GNU/Linux system with gcc-3.2
there was no problem with the configure, but for the make I got this :
[...]
gmake[3]: Entering directory `/tmp/mysql-3.23.53/sql'
I finally found the solution :
I had bad old include files in
/usr/local/lib/gcc-lib/i686-pc-linux-gnu/3.2/include/
that come from a old gcc installation.
I removed them and now it's ok.
Pierre.
On 2002.11.13 06:50 Pierre wrote:
Hi,
I try to compile mysql-3.23.53 on my GNU/Linux system with
Hi,
I try to compile mysql-3.23.53 on my GNU/Linux system with gcc-3.2
there was no problem with the configure, but for the make I got this :
[...]
gmake[3]: Entering directory `/tmp/mysql-3.23.53/sql'
g++ -s -DMYSQL_SERVER
-DDEFAULT_MYSQL_HOME=\/usr/local\
-DDATADIR=\/usr/local/var\
Hi,
I try to compile mysql-3.23.53 on my GNU/Linux system with gcc-3.2
there was no problem with the configure, but for the make I got this :
[...]
Making all in client
gmake[2]: Entering directory `/tmp/mysql-3.23.53/client'
g++ -s -DUNDEF_THREADS_HACK -I./../include
-I../include -I./..
Hi,
I try to compile mysqlgui-src-1.7.5 on my GNU/Linux system with gcc-3.2
but with the make I got this :
# gmake
gmake: *** No rule to make target `edfile.o', needed by `mysqlgui'.
Stop.
It would be great if you could help me with this !
Best regards,
Pierre.
See the file INSTALL_BINARY
~KB
-Original Message-
From: Pierre [mailto:pierre;epinetworx.com]
Sent: Tuesday, November 12, 2002 1:45 AM
To: [EMAIL PROTECTED]
Subject: Problem compiling mysqlgui 1.7.5
Hi,
I try to compile mysqlgui-src-1.7.5 on my GNU/Linux system with gcc-3.2
Hi,
I try to compile mysql-4.0.4-beta on my GNU/Linux system with gcc-3.2
There was no problem with the configure but for the make i got this :
[...]
Making all in isam
gmake[2]: Entering directory `/tmp/mysql-4.0.4-beta/isam'
/bin/sh ../libtool --mode=link gcc -O3 -DDBUG_OFF -O3 -march=i686
Hello
I'm having a problem compiling the version of the subject, the problem is
with the gethotsbyname function and the message is the next:
libmysql.c: In function `mysql_real_connect':
libmysql.c:1325: warning: passing arg 5 of `gethostbyname_r' from
incompatible pointer type
libmysql.c
Hello,
Is anyone using Borland's C compiler with Windows (XP) ? I am trying to
compile/link a very simple MySQL client written in C, using MySQL include
files and mysqlclient library, but it does not want to work. What command
line(s) should I use to have it compiled right ? By advance, thank
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
On Sunday 08 September 2002 02:25, Javier Suarez wrote:
Im having a problem compiling the version of the subject, the problem is
with the gethotsbyname function and the message is the next:
libmysql.c: In function `mysql_real_connect
Hello,
Is anyone using Borland's C compiler with Windows (XP) ? I am trying to
compile/link a very simple MySQL client written in C, using MySQL include
files and mysqlclient library, but it does not want to work. What command
line(s) should I use to have it compiled right ? By advance, thank
Hello
Im having a problem compiling the version of the subject, the problem is
with the gethotsbyname function and the message is the next:
libmysql.c: In function `mysql_real_connect':
libmysql.c:1325: warning: passing arg 5 of `gethostbyname_r' from
incompatible pointer type
libmysql.c:1325
Hello
I have a compilation problem with MySQLGUI.
I have downloaded ans installed
MySQL using the following version
mysql-3.23.52
Msql-Mysql-modules-1.2219
DBI-1.18
Data-Dumper-2.101
MySQL pass all the tests and work OK.
then MYSQLGUI using the following version
Hello,
I have problems to compiling Mysql-3.23.47 on HPUX 11.0, When I run the
make , the get the next error:
Making all in readline
gcc -DUNDEF_THREADS_HACK -DHAVE_CONFIG_H -I./../include -I./.. -I.. -D__STD
C_EXT__ -O3 -DDBUG_OFF -DHAVE_BROKEN_PREAD -DDONT_USE_FINITE -DHAVE_BROKE
In the last episode (Nov 18), Ovanes Manucharyan said:
Hi,
I have a problem compiling MySQL on FreeBSD 4.0-RELEASE.
./configure --with-libwrap --enable-shared
gcc -DHAVE_CONFIG_H -I. -I../.././innobase/pars -I.. -I../.././innobase/pars/../
include -I../.././innobase/pars/../../include
Manucharyan said:
Hi,
I have a problem compiling MySQL on FreeBSD 4.0-RELEASE.
./configure --with-libwrap --enable-shared
gcc -DHAVE_CONFIG_H -I. -I../.././innobase/pars -I.. -I../.././innobase/pars/../
include -I../.././innobase/pars/../../include -I../../include-DDBUG_OFF -O3
In the last episode (Nov 18), Ovanes Manucharyan said:
Thanks, I tried it again and it worked. (at least it seemst to have
created some seemingly working binaries.) (I had tried 5 times to no
avail before I sent a message to the list.. so go figger.)
Now to my real problem. I'm trying to
Stephan Skusa ([EMAIL PROTECTED]) writes:
./conf_to_src .. german1 \
./ctype_extra_sources.c
make[2]: *** [ctype_extra_sources.c] Error 132
make[2]: Leaving directory `/usr/src/mysql-4.0.0-alpha/libmysql'
I'm running RedHat 6.2 and I'm seeing the same error with latin1.
It
PLEASE HELP!
if I do a
./configure --prefix=/usr/local/mysql-4.0.0 --with-charset=german1 --with-in
nodb --with-tcp-port=3307 --with-unix-socket-path=/tmp/mysql4.sock
and after this a
make
I get an error:
./conf_to_src .. german1 \
./ctype_extra_sources.c
make[2]: ***
On Fri, 26 Oct 2001, Stephan Skusa wrote:
if I do a
./configure --prefix=/usr/local/mysql-4.0.0 --with-charset=german1 --with-in
nodb --with-tcp-port=3307 --with-unix-socket-path=/tmp/mysql4.sock
what about
./configure --with-charset=latin1_de
??
Thomas Spahni
latin1_de results in the same problem!
-Ursprungliche Nachricht-
Von: Thomas Spahni [mailto:[EMAIL PROTECTED]]
Gesendet: Freitag, 26. Oktober 2001 11:32
An: Stephan Skusa
Cc: [MYSQL]
Betreff: Re: Problem compiling MySQL-4.0.0-alpha with charset german1
On Fri, 26 Oct 2001
. Oktober 2001 11:32
An: Stephan Skusa
Cc: [MYSQL]
Betreff: Re: Problem compiling MySQL-4.0.0-alpha with charset german1
On Fri, 26 Oct 2001, Stephan Skusa wrote:
if I do a
./configure --prefix=/usr/local/mysql-4.0.0
--with-charset=german1 --with-in
nodb --with-tcp-port=3307
Fournier Jocelyn [Presence-PC] writes:
Hi,
I know this problem has already been reported (but I don't remember the
solution :( ) :
I encounter the following error after installing gcc 3.0.1 and trying to
compile MySQL 4.0 :
mysqlbinlog.o(.gnu.linkonce.d._ZTV9Log_event+0x14): undefined
Hi,
I know this problem has already been reported (but I don't remember the
solution :( ) :
I encounter the following error after installing gcc 3.0.1 and trying to
compile MySQL 4.0 :
mysqlbinlog.o(.gnu.linkonce.d._ZTV9Log_event+0x14): undefined reference to
`__cxa_pure_virtual'
Ing. Gustavo Edelstein writes:
Hi Sinisa,
I've downloaded the gnu make, installed it OK and tried to compile again
MySQL. This is the new err msg:
make[1]: Entering directory `/usr/local/mysql-3.22.32/sql/share'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory
Ing. Gustavo Edelstein writes:
Hi list members,
After
./configure --prefix=/usr/local/mysql
I do a make and when change dir to mit-pthreads, I got following err msg:
Making all in mit-pthreads
Make: Must be a separator on rules line 26. Stop.
Thanks for any help.
Ing. Gustavo
PROTECTED]
Cc: [EMAIL PROTECTED]
Sent: Wednesday, August 01, 2001 7:15 AM
Subject: Re: Problem compiling on HPUX 10.20
Also, follow our manual versus required patches for 10.20
--
Regards,
__ ___ ___ __
/ |/ /_ __/ __/ __ \/ /Mr. Sinisa Milivojevic [EMAIL PROTECTED
Jose Vilmar Estacio de Souza writes:
Hi,
Sorry by my dumb question.
Could you tell me where I could find this manual? Also in what section of the
manual could I find the info about the patches for hp-ux 10.20?
Many thanks in advance!
Our manual comes with both binary and source
Subject: Re: Problem compiling on HPUX 10.20
Ing. Gustavo Edelstein writes:
Hi list members,
After
./configure --prefix=/usr/local/mysql
I do a make and when change dir to mit-pthreads, I got following err
msg:
Making all in mit-pthreads
Make: Must be a separator on rules line 26
Hi list members,
After
./configure --prefix=/usr/local/mysql
I do a make and when change dir to mit-pthreads, I got following err msg:
Making all in mit-pthreads
Make: Must be a separator on rules line 26. Stop.
Thanks for any help.
Ing. Gustavo A. Edelstein
Tech. Mgr.
Equiplus Argentina
Hi list members,
After
./configure --prefix=/usr/local/mysql
I do a make and when change dir to mit-pthreads, I got following err msg:
Making all in mit-pthreads
Make: Must be a separator on rules line 26. Stop.
Thanks for any help.
Ing. Gustavo A. Edelstein
Tech. Mgr.
Equiplus Argentina
Would appreciate any help / tips regarding the following problem :
Trying to compile mysql-3.23.39 with GCC 3.0 ( on Solaris 8 ) and the following
configuration options :
CC=gcc CFLAGS="-O1" CXX=gcc CXXFLAGS="-O1 -felide-constructors -fno-exceptions
-fno-rtti" \
./configure
I am quite new to programming in Linux although I am no stranger to
programming in Windows.
This is my problem:
I downloaded the mysql++ API and extracted it to /root/mysql++-1.7.9/
I browsed to /examples/ and thought I would try and compile simple1.cc.
This is what I did from the terminal:
I am quite new to programming in Linux although I am no stranger to
programming in Windows.
This is my problem:
I downloaded the mysql++ API and extracted it to /root/mysql++-1.7.9/
I browsed to /examples/ and thought I would try and compile simple1.cc.
This is what I did from the terminal:
Hello,
when trying to compile mysql-3.23.37 on solaris 8, using either just
./configure or
CC=gcc CXX=gcc CXXFLAGS=-O3
./configure --prefix=/usr/local/mysql --with-low-memory --with-extra-charset
s=complex
I get the message:
checking return type of sprintf... configure: error: can not run
I'm trying to compile the FastBase TCL/MySQL interface under Solaris 7 using
GCC, and
I'm get the following problem:-
ld doesn't like the -B and -x parameters set in the makefile line...
LDFLAGS = -Bshareable -lz -x $(MYSQLLIBDIR)/libmysqlclient.a
...it gives the this error:-
checking for crypt.h... yes
checking for alloca.h... yes
checking for floor in -lm... yes
checking for gethostbyname_r in -lnsl_r... no
checking for gethostbyname_r in -lnsl... yes
checking for socket in -lsocket... yes
checking for p2open in -lgen... yes
checking for bind in -lbind... no
]
Sent: Wednesday, February 28, 2001 11:56 PM
Subject: Re: Problem compiling mysql on FreeBSD
Hi Bill and All,
Thanks for the suggestions. Here's what I've tried:
Installed gmake and gcc. My pkg_info looks like the following (I've cut
out
the irrelevant ones):
bash-2.03 The GNU
Try upgrading to gcc 2.95.2. That should fix the problem.
This cured my 'Installation of grant tables failed' error
condition.
Rgds, Bill Swanson
DNA Enterprises, Inc.
MIS Manager
972-671-1972
email: [EMAIL PROTECTED]
-- Original Message --
From:
Hi folks,
This appears to be a common problem that I can't seem to find a solution.
No matter which approach I take to trying to install mysql-server, the end
result is the same. It doesn't work. I apologize for the long message.
Thanks for the help.
System Specs
FreeBSD www.machine.com
Hello,
here attached you'll find a mysqlbug report des cribing a compilation
problem of the mysql client.
Thanks for any help
--
Grard GACHELIN e-mail : [EMAIL PROTECTED]
Universit de la Runion Tl: 0262 93 82 72
15, Avenue Ren Cassin - BP 7151
Hi all,
I've a little problem at the linking stage. I've always have the following error :
g++ -g -o mainTest mainTest.o worldFactory.o -L/usr/local/OpenInventor26/lib
-limage -lInventor
-lInventorXt -L/usr/lib/mysql -lmysqlclient -lsqlplus -lpthread -L/usr/X11R6/lib -lX11
-lGL -lGLU
-lGLw
63 matches
Mail list logo