Re: Problem with C API

2005-07-26 Thread picoman
Sorry to disturb you, i have resolved my problem by using other mysql headers! Selon [EMAIL PROTECTED]: > > > Hi all, > > i try to use the C API but i get a segmentation fault... > > my code looks like : > > MYSQL mysql; > if( ! mysql_init(&mysql) ) >exit(0); > if( ! mysql_real_connect(&mysql

Re: Problem with C API and mysql

2001-06-05 Thread Sinisa Milivojevic
kenneth johansen writes: > hello everybody. > Ive been working with perl and mysql for some time, but recently i had > to move over > to C and as such i wrote a small test program, just to get to know the > mysql C API. > Well, things didnt go as i thought. i kept getting linking problems > and in

Re: Problem with C API and mysql

2001-06-05 Thread Gerald Clark
kenneth johansen wrote: } > + > > i compile this with: > gcc -I/usr/local/mysql/include/ -L/usr/local/mysql/lib/ program.c > -lmysqlclient > add -lz -- Gerald L. Clark [EMAIL PROTECTED] --