List:General Discussion« Previous MessageNext Message »
From:Steve Davies Date:September 9 2003 2:10pm
Subject:Re: mysql.h errors
View as plain text  
Sinisa Milivojevic wrote:

>On Mon, 08 Sep 2003 19:57:25 +0100
>Steve Davies <steve@stripped> wrote:
>
>  
>
>>Hi All
>>
>>I'm currently trying to learn C so that I can recode some php/mysql apps
>>
>>I've got but I've run into probs right at the start.
>>
>>I'm trying to compile the examples PDuBois MySQL (myclient.c the really 
>>easy one ;-( ) and get the errors below.
>>
>>I'm using SuSE 8.2 but also get the same errors under WinXP
>>
>>I'm obviously doing something wrong and I'd be grateful for any pointers
>>
>>Cheers
>>
>>Steve
>>
>>
>>    
>>
>
>Seems like you have damaged include files.
>
>Download latest source tarball from www.mysql.com.
>
>
>--
>
>Sincerely,
>
>  
>
Yeah tried that - same error with includes from the tarball.

Maybe I'm missing something when I call it - I'm using

gcc -c -I/usr/include/mysql myclient.c



Thread