Re: undefined reference to 'mysql_init'

2006-07-23 Thread luiz Rafael
Hi Ali Hi, I am begeener to MySQL. I have installed Suse10 and MySQL and mysql++ in my pc. i want to connect to MySQL through C. When I am compiling the program, I am getting the following error. *** compile your app wi

Re: undefined reference to 'mysql_init'

2006-07-23 Thread Mike Aubury
I am getting the following error. > *** > gcc -o test test.c > test.c:28:3: warning: no newline at end of file > /tmp/cchl7IEh.o: In function `main': > test.c:(.text+0x22): undefined reference to `mysql_i

undefined reference to 'mysql_init'

2006-07-23 Thread ali asghar torabi parizy
test.c:28:3: warning: no newline at end of file /tmp/cchl7IEh.o: In function `main': test.c:(.text+0x22): undefined reference to `mysql_init' test.c:(.text+0x4f): undefined reference to `mysql_real_connect' test.c:(.text+0x65): undefined reference to `mysql_query'