X-Recipient: archive-cygwin AT delorie DOT com DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:date:from:to:subject:in-reply-to:message-id :references:mime-version:content-type; q=dns; s=default; b=EZkvx 3U7Oc7iZCc5dZgdaV/tuVAkN0QlX0i8EtMHCVA9dtiN3HRZltxzEJkXKUqtKAc3q jf7BZrjwgvwqju4vzL0zUozq9EhUwUoTIK9qLsO51OMNfNRriUs8ieWLhQzGSWFI 6yBrcTEQiI4Vh2aX0uJ2nldf0AZ9n/oOFkykCk= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:date:from:to:subject:in-reply-to:message-id :references:mime-version:content-type; s=default; bh=4RvQl67iLRc UILXijcuOQU0t54Y=; b=epdgJhqm61Zg/DhmfDN/9z2+6ASuxbyVflFfBKjTr2L IUaI+yNvDjV8sTDgVfA/rBaWQI6PPwAs7sqCzjoSghiAJhLG+ipdhwpdY3eRvROy htympPfFbkrmbnlwGZg35oF5jwFLJo90AR+jIDTW6m4YveqDojPZGdnO4EgdOqTo = Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: 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 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=2.7 required=5.0 tests=AWL,BAYES_50,GARBLED_BODY,KHOP_THREADED,RDNS_NONE,SPF_PASS autolearn=no version=3.3.2 X-HELO: smtp6-g21.free.fr Date: Fri, 6 Sep 2013 15:31:16 +0200 (CEST) From: =?ISO-8859-15?Q?S=E9bastien_Dailly?= To: cygwin AT cygwin DOT com Subject: Re: iodbc always in error (solved) In-Reply-To: Message-ID: References: User-Agent: Alpine 2.10 (DEB 1266 2009-07-14) MIME-Version: 1.0 Content-Type: MULTIPART/MIXED; BOUNDARY="-1463811840-1559535069-1378474276=:21412" ---1463811840-1559535069-1378474276=:21412 Content-Type: TEXT/PLAIN; format=flowed; charset=UTF-8 Content-Transfer-Encoding: 8BIT Hello, I've sent a mail here yesterday requesting for help in order to make iodbc work in cygwin. I've investigated in the library code and found something interesting : In the log I've sent yesterday[1], each function name start with an « _ » wich does not appear in the sql driver library : > objdump.exe -x /usr/lib/cygsqlite3odbc.dll | less > … > [ 0] SQLAllocConnect > [ 1] SQLAllocEnv > [ 2] SQLAllocHandle > [ 3] SQLAllocStmt > [ 4] SQLBindCol > [ 5] SQLBindParameter > … The iodbc package contains the file « iodbc/henv.ci »[2] wich is actualy an index of the declared function to call. There is a strange preprocess instuctions at l79 wich needs to be completed in order to works in cygwin : > #define CLI "SQL" now you can rebuild the package and the odbc will work. You can consider this mail as a bugreport (and I hope it will be reported in the cygwin package). [1] http://pastebin.com/mzDLUC3x [2] https://github.com/openlink/iODBC/blob/develop/iodbc/henv.ci -- Sébastien Dailly ---1463811840-1559535069-1378474276=:21412 Content-Type: text/plain; charset=us-ascii -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple ---1463811840-1559535069-1378474276=:21412--