Re: compilation problems with 4.1.10a on Tru64 5.1

2005-03-15 Thread Joerg Bruehe
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:

Re: compilation problems with 4.1.10a on Tru64 5.1

2005-03-14 Thread Heikki Tuuri
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 wor

compilation problems with 4.1.10a on Tru64 5.1

2005-03-14 Thread Douglas B. Jones
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\

compilation problems

2003-01-15 Thread joseph speigle
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 wit

Re: MySQL compilation problems, Solaris 8

2001-06-19 Thread Bethke Peter
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: http://www.my

Re: MySQL compilation problems, Solaris 8

2001-06-13 Thread Mark Vann
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 rackmo

MySQL compilation problems, Solaris 8

2001-06-13 Thread Josh Rivel
Hi. I am trying to compile MySQL-3.23.38 on Solaris 8 box. This is a Sun Netra T1 (1u rackmount, UltraSPARC-IIe CPU) I've tried using both Sun's gcc (2.95.2) and gcc-2.95.2 from www.sunfreeware.com, both with the same results. For whatever reason, gcc is being reported as a cross compiler, so mys

Re: Compilation problems.

2001-05-28 Thread Paul DuBois
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 >-

Re: Compilation problems.

2001-05-28 Thread Paul DuBois
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 -I/usr/

Re: Compilation problems.

2001-05-28 Thread Nicu Popovici
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

Re: Compilation problems.

2001-05-28 Thread Nicu Popovici
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 `strmo

Re: Compilation problems.

2001-05-27 Thread Paul DuBois
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

Re: Compilation problems.

2001-05-27 Thread Sinisa Milivojevic
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.

Re: Compilation problems.

2001-05-26 Thread Nicu Popovici
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

Re: Compilation problems.

2001-05-26 Thread Sinisa Milivojevic
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 ; > -- > >

Re: Compilation problems.

2001-05-26 Thread Nicu Popovici
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 Miliv

Re: Compilation problems.

2001-05-26 Thread Sinisa Milivojevic
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

Re: Compilation problems.

2001-05-26 Thread Nicu Popovici
> 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

Re: Compilation problems.

2001-05-26 Thread Sinisa Milivojevic
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 n

Re: Compilation problems.

2001-05-26 Thread Nicu Popovici
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

Re: Compilation problems.

2001-05-26 Thread Nicu Popovici
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, > > > > Ofc

Re: Compilation problems.

2001-05-26 Thread Nicu Popovici
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 r

Re: Compilation problems.

2001-05-26 Thread Sinisa Milivojevic
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 t

Re: Compilation problems.

2001-05-26 Thread Nicu Popovici
; > 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 and I compile the > > example with the following line >

Re: Compilation problems.

2001-05-25 Thread Eric Fitzgerald
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 a

Compilation problems.

2001-05-25 Thread Nicu Popovici
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 re

MySQL 3.23 (source) compilation problems.

2001-05-06 Thread nomicon
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', ne

Re: Tru64 MySQL Compilation Problems

2001-01-27 Thread l_magnus_j Last Name
Hello I had the same problem compiling with cxx on Tru64 4.0F. > Object file format error in: /usr/local/mysql/lib/mysql: read_curr_obj_info: > File is not a regular file I searched the archives and found on uvic.mlist.alpha-osf-managers that the same problem had been reported for MySQL 3.23.

Re: Tru64 MySQL Compilation Problems

2001-01-26 Thread Sinisa Milivojevic
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: > Ob

Tru64 MySQL Compilation Problems

2001-01-26 Thread Julian Hiscock
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 file format error in: /usr/local/mysql/