delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2001/09/29/10:36:08

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT sources DOT redhat DOT com
Delivered-To: mailing list cygwin AT sources DOT redhat DOT com
Date: Sat, 29 Sep 2001 16:34:10 +0200
From: Scr34m <scr34m AT frontember DOT hu>
Subject: Mysql
To: cygwin AT cygwin DOT com
Reply-to: Scr34m <scr34m AT frontember DOT hu>
Message-id: <1611035819.20010929163410@frontember.hu>
Organization: frontember.hu
MIME-version: 1.0
X-Mailer: The Bat! (v1.53d) Personal
X-Priority: 3 (Normal)

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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019