jim and lois flaherty wrote: > gcc analysis.c > > analysis.c:6:19: warning: extra tokens at end of #include directive > analysis.c:7:19: warning: extra tokens at end of #include directive > /tmp/ccsKk2GG.o: In function `main': > /tmp/ccsKk2GG.o(.text+0x14): undefined reference to `mysql_init' > /tmp/ccsKk2GG.o(.text+0x40): undefined reference to `mysql_real_connect' > collect2: ld returned 1 exit status > > What Am I doing Wrong ?? >
you need -lmysqlclient. check http://www.mysql.com/doc/C/C/C.html for more details. -- Sammy Lau mailto: [EMAIL PROTECTED] - Tell me what you want and I'll tell you how you can live without it. --------------------------------------------------------------------- Before posting, please check: http://www.mysql.com/manual.php (the manual) http://lists.mysql.com/ (the list archive) To request this thread, e-mail <[EMAIL PROTECTED]> To unsubscribe, e-mail <[EMAIL PROTECTED]> Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php