List:General Discussion« Previous MessageNext Message »
From:Gerald Clark Date:April 24 2001 1:15pm
Subject:Re: HELP! error compiling program using C API
View as plain text  
jgw wrote:
> 
> I'm trying to compile a program using C API.  I get the following errors:
> 
> /usr/lib/mysql/libmysqlclient.a(my_open.o): In function `my_open':
> my_open.o(.text+0x14): undefined reference to `open64'
> /usr/lib/mysql/libmysqlclient.a(mf_format.o): In function `fn_format':
> mf_format.o(.text+0x208): undefined reference to `__lxstat64'
> /usr/lib/mysql/libmysqlclient.a(my_fopen.o): In function `my_fopen':
> my_fopen.o(.text+0x21): undefined reference to `fopen64'

I don't want to hurt your feelings, but is this some kind of a joke?
You don't tell us what kine of machine you are using.
You don't identify your operating system, or the compiler you are using.
You don't even tell us what version MySQL you are using.


Let me guess .... Red Hat 5.2 ?

Upgrade or at least get a newer clib.
Thread
HELP! error compiling program using C APIjgw24 Apr
  • Re: HELP! error compiling program using C APIGerald Clark24 Apr