delorie.com/archives/browse.cgi | search |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
List-Archive: | <http://sourceware.org/ml/cygwin/> |
List-Post: | <mailto:cygwin AT cygwin DOT com> |
List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs> |
Sender: | cygwin-owner AT cygwin DOT com |
Mail-Followup-To: | cygwin AT cygwin DOT com |
Delivered-To: | mailing list cygwin AT cygwin DOT com |
To: | cygwin AT cygwin DOT com |
From: | da <darndt AT oriondevel DOT com> |
Subject: | Problem linking with ODBC |
Date: | Wed, 18 Aug 2004 19:47:33 +0000 (UTC) |
Lines: | 23 |
Message-ID: | <loom.20040818T214320-21@post.gmane.org> |
Mime-Version: | 1.0 |
X-Complaints-To: | usenet AT sea DOT gmane DOT org |
X-Gmane-NNTP-Posting-Host: | main.gmane.org |
User-Agent: | Loom/3.14 (http://gmane.org/) |
X-Loom-IP: | 63.89.219.68 (Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0; .NET CLR 1.1.4322; .NET CLR 1.0.3705)) |
X-IsSubscribed: | yes |
I'm getting undefined references when trying to link with libodbc32.a that comes with cygwin: --- Building target: libTest.so g++ -shared -o libTest.so testdb.o -lodbc32 testdb.o(.text+0x40): In function `_Z3foov': /cygdrive/c/Projects/test/source/Debug/../testdb.cpp:7: undefined reference to `_SQLConnect' collect2: ld returned 1 exit status make: *** [libTest.so] Error 1 --- Any idea why _SQLConnect is unresolved? Thanks, -- da -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |