delorie.com/archives/browse.cgi | search |
Mailing-List: | contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm |
List-Subscribe: | <mailto:cygwin-subscribe AT sourceware DOT cygnus DOT com> |
List-Archive: | <http://sourceware.cygnus.com/ml/cygwin/> |
List-Post: | <mailto:cygwin AT sourceware DOT cygnus DOT com> |
List-Help: | <mailto:cygwin-help AT sourceware DOT cygnus DOT com>, <http://sourceware.cygnus.com/ml/#faqs> |
Sender: | cygwin-owner AT sourceware DOT cygnus DOT com |
Delivered-To: | mailing list cygwin AT sourceware DOT cygnus DOT com |
Message-ID: | <20000502184732.2438.qmail@web3304.mail.yahoo.com> |
Date: | Tue, 2 May 2000 15:47:32 -0300 (ART) |
From: | =?iso-8859-1?q?Full=20Turtle?= <full_turtle AT yahoo DOT com DOT br> |
Subject: | Using ODBC |
To: | cygwin AT sourceware DOT cygnus DOT com |
MIME-Version: | 1.0 |
Hi, I'm trying to develop ODBC applications with cygwin, but I'm running in troubles. I'm using cygwin 20.1 and it has the libodbc32.a library on /cygnus/cygwin-b20/H-i586-cygwin32/i586-cygwin32/lib. The Makefile follows: #begin Makefile CC=gcc #just for sql.h INC=-I/Program\ Files/Microsoft\ Platform\ SDK/Include LIB=-lodbc32 CFLAGS=-mno-cygwin cc: selecting.exe selecting.exe: selecting.c $(CC) -o $@ $< $(INC) $(LIB) $(CFLAGS) #end Makefile Inside this selecting.c I've a call to SQLConnect which is within libodbc32.a, but when I try to compile it: C:\TEMP\ccBvsHJr.o(.text+0x36a):selecting.c: undefined reference to `SQLConnect' If I try: nm /cygnus/cygwin-b20/H-i586-cygwin32/i586-cygwin32/lib/libodbc32.a | grep SQLConnect it reports: 00000000 T _SQLConnect AT 28 00000000 ? ___imp_SQLConnect AT 28 00000000 ? __imp__SQLConnect AT 28 I don't know what to do now! Any help ? ===== FullTurtle ____________________________________________________________________________ YAHOO! BATE-PAPO Conheça gente nova, faça amigos e divirta-se! - http://www.yahoo.com.br -- Want to unsubscribe from this list? Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |