RE: compilation errors in mySQL C app

2005-01-11 Thread Andy Ford
> +61 8 8408 4273 - Work > +61 417 268 665 - Mobile > +61 8 8408 4259 - Fax > > > -Original Message- > From: Andy Ford [mailto:[EMAIL PROTECTED] > Sent: Tuesday, 11 January 2005 9:37 PM > To: Logan, David (SST - Adelaide) > Cc: mysql@lists.mysql.com > Subject: RE: compil

RE: compilation errors in mySQL C app

2005-01-11 Thread Logan, David (SST - Adelaide)
PROTECTED] Sent: Tuesday, 11 January 2005 9:37 PM To: Logan, David (SST - Adelaide) Cc: mysql@lists.mysql.com Subject: RE: compilation errors in mySQL C app Hi David Yes it is something like you say... >file /usr/local/bin/gcc /usr/local/bin/gcc: ELF 32-bit MSB executable SPARC Versio

RE: compilation errors in mySQL C app

2005-01-11 Thread Andy Ford
> Database Administrator > HP Managed Services > 148 Frome Street, > Adelaide 5000 > Australia > > +61 8 8408 4273 - Work > +61 417 268 665 - Mobile > +61 8 8408 4259 - Fax > > > -Original Message- > From: Andy Ford [mailto:[EMAIL PROTECTED] > Sent:

RE: compilation errors in mySQL C app

2005-01-11 Thread Logan, David (SST - Adelaide)
uesday, 11 January 2005 8:59 PM To: mysql@lists.mysql.com Subject: compilation errors in mySQL C app Hi everyone I am trying to compile a simple C program to connect to a mySQL database (on localhost) and run a simple query. I am getting the following errors... >gcc test.c -L/usr/lo

compilation errors in mySQL C app

2005-01-11 Thread Andy Ford
Hi everyone I am trying to compile a simple C program to connect to a mySQL database (on localhost) and run a simple query. I am getting the following errors... >gcc test.c -L/usr/local/mysql/lib -lmysqlclient -o test ld: warning: file /usr/local/mysql/lib/libmysqlclient.a(libmysql.o): wrong EL