compiling a mysql app

Dimitri Kovalov dimitri_kovalov at yahoo.com
Sun Jun 18 09:11:48 PDT 2006


I'm getting this error when compiling a mysql test app:

cc -o myapp myapp.c /usr/local/lib/mysql/libmysqlclient.a
-lm -lz -lcrypt
/usr/local/lib/mysql/libmysqlclient.a(libmysql.o)(.text+0x1244):
In function `mysql_real_connect': 
: undefined reference to `__error'

what do I need?

Dimitri

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 





More information about the Users mailing list