DragonFly BSD
DragonFly users List (threaded) for 2006-06
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

compiling a mysql app


From: Dimitri Kovalov <dimitri_kovalov@xxxxxxxxx>
Date: Sun, 18 Jun 2006 09:07:16 -0700 (PDT)

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 



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]