Hi!
Am Di, den 15.03.2005 schrieb Heikki Tuuri um 8:21:
Douglas,
- Original Message -
From: Douglas B. Jones [EMAIL PROTECTED]
Newsgroups: mailing.database.myodbc
Sent: Monday, March 14, 2005 11:19 PM
Subject: compilation problems with 4.1.10a on Tru64 5.1
Here is the script to compile 4.1.10a, it worked compiled fine
with the directory changed on 4.0.23a and before:
#!/usr/bin/ksh
PATH=/usr/local/bin:$PATH
export PATH
echo $PATH
D=mysql-4.1.10a
CC=cc
export CC
CXX=cxx -O
export CXX
cd $D
./configure \
--prefix=/usr/local/mysql-test\
Douglas,
- Original Message -
From: Douglas B. Jones [EMAIL PROTECTED]
Newsgroups: mailing.database.myodbc
Sent: Monday, March 14, 2005 11:19 PM
Subject: compilation problems with 4.1.10a on Tru64 5.1
Here is the script to compile 4.1.10a, it worked compiled fine
with the directory
hi,
I upgraded from the gcc-2.96 because of warnings in the notes about possible bugs, so
I got the newest redhat gcc package which is gcc-3.2.1-1.i386.rpm. I also upgraded to
glibc-{devel common utils}-2.3.1-6 and am trying to compile the new mysql-4.0.9-gamma
and am running into problems
Hi Mark,
I had the same problem too.
I downloaded the gcc 2.95.3 and compiled it myself.
Using thatt gcc to compile MySQL, and everything worked fine.
kind regrads
Peter Bethke
-
Before posting, please check:
Ya know, why is solaris such a pain in the butt. I
have issues, no one appears to be able so answer it.
When i compile this on linux, it works great.
WTF
--- Josh Rivel [EMAIL PROTECTED] wrote:
Hi.
I am trying to compile MySQL-3.23.38 on Solaris 8
box.
This is a Sun Netra T1 (1u rackmount,
Hello,
I took out the m_string.h file from include directive and I get the following
error
gcc -g Bug_Report.c -O -o TEST1 -I/usr/include/mysql -L/usr/lib/mysql
-lmysqlclient -lnsl
/tmp/ccWyxVrf.o: In function `main':
/home/nicu/QA/Bug_Report.c:15: undefined reference to
Hello guys,
I managed to compile succesfully my C program but now when I run it I get
something like the following
---
TEST1
Failed in SELECT , Error: You have an error in your SQL syntax near ')' at
line 1
What I want to ask , I have to do
At 10:22 AM -0400 5/28/01, Nicu Popovici wrote:
Hello,
I took out the m_string.h file from include directive and I get the following
error
Well, sure. You already know that you need that file; taking it out
won't help anything.
gcc -g Bug_Report.c -O -o TEST1
At 12:13 PM -0400 5/28/01, Nicu Popovici wrote:
Hello guys,
I managed to compile succesfully my C program but now when I run it I get
something like the following
---
TEST1
Failed in SELECT , Error: You have an error in your SQL syntax near ')' at
line 1
Nicu Popovici writes:
Hello Sinisa,
I managed to get a connection to a database but now when I want to try to make a
query on that
database I have to use strmov() function defined in m_string.h but at compilation
time I get the
following errors.
JUST BECAUSE I INCLUDED m_string.h into
At 8:46 PM -0400 5/26/01, Nicu Popovici wrote:
Hello Sinisa,
I managed to get a connection to a database but now when I want to
try to make a query on that
database I have to use strmov() function defined in m_string.h but
at compilation time I get the
following errors.
JUST BECAUSE I
Nicu Popovici writes:
Hello Eric,
Ofcourse that my file has such a thing. Otherwise how can it recognizes the
MYSQL data type ?
I have a line like this
MYSQL mysql;
But the problem appear at linking time so I do not think that the compilation
passes without to know where to find
Hello Sinisa,
Here it is the line with which I try to compile the program.
--
[nicu@ares QA]$ gcc -g Bug_Report.c -o test.o -L/usr/lib/mysql/libmysqlclient
-I/usr/include/mysql -lmysqlclient -lnsl
/tmp/ccGABNJr.o: In function `main':
/home/nicu/QA/Bug_Report.c:7: undefined
Hi Sinisa,
I looked on the symbols from libmysqlclient.a and indeed there is no mysql_init or
mysql_real_connect there .
There are mysql_kill and some other functions but the first two there are not.
Regards,
Nicu
Sinisa Milivojevic wrote:
Nicu Popovici writes:
Hello Eric,
Ofcourse
Hello Gurus,
I managed to compile and link my sample file substituting mysql_init() with
my_init() and mysql_real_connect() to mysql_connect(). I get now the following error
--
Failed to connect to database! Error jHost 'ares.main.ro' is not allowed to connect
to this MySQL
Nicu Popovici writes:
Hello Gurus,
I managed to compile and link my sample file substituting mysql_init() with
my_init() and mysql_real_connect() to mysql_connect(). I get now the following error
--
Failed to connect to database! Error jHost 'ares.main.ro' is not
Hi Sinisa,
You are right , I did a select * from user and the host field is indeed localhost. How
can I update that field , and I do not have a host table. Should I modify anly this
table or not ?
Another question, how can I add a user and also a machine ( host field ) ? I want to
set
up a
Nicu Popovici writes:
Hi Sinisa,
You are right , I did a select * from user and the host field is indeed localhost.
How
can I update that field , and I do not have a host table. Should I modify anly this
table or not ?
Another question, how can I add a user and also a machine ( host
Hi Sinisa,
I get another error now. It seems that I managed to pass by that error. Here it is
what
I get now:
--
Failed to connect to database! Error Protocol mismatch. Server Version = 10 Client
Version =
9 ;
--
What shall I do ?
Regards,
Nicu
Sinisa
Nicu Popovici writes:
Hi Sinisa,
I get another error now. It seems that I managed to pass by that error. Here it is
what
I get now:
--
Failed to connect to database! Error Protocol mismatch. Server Version = 10 Client
Version =
9 ;
--
What shall I
Hello Sinisa,
I managed to get a connection to a database but now when I want to try to make a
query on that
database I have to use strmov() function defined in m_string.h but at compilation time
I get the
following errors.
JUST BECAUSE I INCLUDED m_string.h into my file
Hello Gurus,
I am trying to write a C client for a mysql server and I compile the
example with the following line
gcc -g Bug_Report.c -o test.o
-I/usr/include/mysql -L/usr/lib/mysql
-lmysqlclient -lnsl -lsocket
but I get the following linking errors
/home/nicu/QA/Bug_Report.c:7: undefined
Does your Bug_Report.c have an #include line for the mysql headers?
- Original Message -
From: Nicu Popovici [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Friday, May 25, 2001 9:54 AM
Subject: Compilation problems.
Hello Gurus,
I am trying to write a C client for a mysql server
Hi.
Im occuring some proglems after the configure is done and I start the
'make' process, below is my result
from 'make':
make[2]: Entering directory `/usr/src/mysql-3.23.37/libmysql'
make[2]: stat:libmysql.c: Too many levels of symbolic links
make[2]: *** No rule to make target `libmysql.c',
Julian Hiscock writes:
We are currently trying to compile MySQL V3.23.32 under Tru64 V5.0a running
on a Compaq Alphaserver DS20E. The error messages are as follows:
Object file format error in: /usr/local/mysql/lib/mysql:
read_pass1_info_malloc: bad file magic number
ld:
Object
26 matches
Mail list logo