Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , 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 Subject: Problem linking with ODBC Date: Wed, 18 Aug 2004 19:47:33 +0000 (UTC) Lines: 23 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit 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/