This is the mail archive of the cygwin@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Mysql


Hi all,

I am a newbie in cygwin.

I will amke a program wich will read table from mysql waht i need to
work it?

I moved from linux /usr/inclode/mysql files into my cygwin include
dir. And i will compile the program but i become these error messages:

$ gcc -o mysql mysql.c
/cygdrive/c/DOCUME~1/Scr34m/LOCALS~1/Temp/cc38P0V2.o(.text+0x3f):mysql.c: undefined reference to `mysql_connect'
/cygdrive/c/DOCUME~1/Scr34m/LOCALS~1/Temp/cc38P0V2.o(.text+0x97):mysql.c: undefined reference to `mysql_select_db'
/cygdrive/c/DOCUME~1/Scr34m/LOCALS~1/Temp/cc38P0V2.o(.text+0xc3):mysql.c: undefined reference to `mysql_close'
collect2: ld returned 1 exit status

What is the problem?

---
Bye Scr34m

| www.inertia.hu | www.frontember.hu | eurohack.at.hu |


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]