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
Hi David Yes it is something like you say... >file /usr/local/bin/gcc /usr/local/bin/gcc: ELF 32-bit MSB executable SPARC Version 1, dynamically linked, not stripped >file /usr/local/bin/g++ /usr/local/bin/gcc: ELF 32-bit MSB executable SPARC Version 1, dynamically linked, not stripped

RE: compilation errors in mySQL C app

2005-01-11 Thread Logan, David (SST - Adelaide)
Hi Andy, Are you using a 64bit option to compile your program (I can't remember the option on gcc -m64 I think)? Looks like a 64bit mysql library trying to talk to a 32 bit program. I'm no expert but I had similar problems when I put a 64bit mysql on one of my Solaris boxen and tried to talk with