Re: How to use the C API? (_not_ C++)

2003-10-26 Thread bluejack
10/26/03 12:37:28 AM, Patrik Fimml <[EMAIL PROTECTED]> wrote: > >Well, I tried it many times... here is the last: > >gcc -L/usr/local/lib/mysql -lmysqlclient -lnsl -lm -o rpgservices conn.o io.o >main.o >main.o(.text+0x80): In function `main': >: undefined reference to `mysql_connect' >collect2:

Re: How to use the C API? (_not_ C++)

2003-10-25 Thread Patrik Fimml
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 > If you're using PHP you want the Perl DBI stuff. The C API > is for C apps. If you are compiling a C application and > are having trouble linking, post your specific issues and > I'll be glad to help. Well, I tried it many times... here is the las

Re: How to use the C API? (_not_ C++)

2003-10-25 Thread bluejack
10/25/03 4:38:26 AM, Patrik Fimml <[EMAIL PROTECTED]> wrote: >I'm currently writing a Services Daemon for a new IRC Network. We're using >MySQL, because it's fast, and we easy can access it via PHP. >But then the problem is, how to access in C? I saw the C API, tried to include >it many times - it

How to use the C API? (_not_ C++)

2003-10-25 Thread Patrik Fimml
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hello, I'm currently writing a Services Daemon for a new IRC Network. We're using MySQL, because it's fast, and we easy can access it via PHP. But then the problem is, how to access in C? I saw the C API, tried to include it many times - it didn't wor