Hello MySQL pros worldwide,
~/www ->cat seeLog.c #define USE_OLD_FUNCTIONS #include <stdio.h> #include <mysql/mysql.h> int main() { MYSQL mysql; MYSQL *mysqldb = NULL; mysqldb = mysql_connect(&mysql, "geneofcube.net", "USERID", "PASSWORD"); return 0; } ~/www ->gcc seeLog.c -o seeLog -I/usr/include -L/usr/lib -lmysqlclient /tmp/ccEj3tmv.o: In function `main': /tmp/ccEj3tmv.o(.text+0x2a): undefined reference to `mysql_connect' collect2: ld returned 1 exit status ~/www -> As shown above, I'm having a problem getting rid of a compilation error (undefined reference) coming out with a very simple c code (seeLog.c) which I wrote for a testing purpose. Got no I idea what I'm doing wrong or missing here. I'd appreciate any of your suggestions. Best, hAj -- MySQL General Mailing List For list archives: http://lists.mysql.com/mysql To unsubscribe: http://lists.mysql.com/[EMAIL PROTECTED]