running a mysql query inside a loop of another without a sync error

2011-01-19 Thread Delan Azabani
would be greatly appreciated. -- Thanks and best regards, Delan Azabani http://azabani.com/ -- MySQL General Mailing List For list archives: http://lists.mysql.com/mysql To unsubscribe:http://lists.mysql.com/mysql?unsub=arch...@jab.org

linking to mysql in C

2011-01-07 Thread Delan Azabani
ook-main.c:297: undefined reference to `mysql_close' collect2: ld returned 1 exit status make: *** [all] Error 1 I have read the following page already and unfortunately, I am still unable to compile it: http://dev.mysql.com/doc/refman/5.0/en/c-api-linking-problems.html If anyone could help me