delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2008/05/27/06:44:03

X-Recipient: archive-cygwin AT delorie DOT com
X-Spam-Check-By: sourceware.org
From: "Dave Korn" <dave DOT korn AT artimi DOT com>
To: <cygwin AT cygwin DOT com>
References: <182dc94a0805270310h486236bawb4a4c3a0b65c354a AT mail DOT gmail DOT com>
Subject: RE: Urgent !!! Reg Linking sybase DLL in cygwin..
Date: Tue, 27 May 2008 11:43:19 +0100
Message-ID: <039b01c8bfe6$7aa70a90$2708a8c0@CAM.ARTIMI.COM>
MIME-Version: 1.0
X-Mailer: Microsoft Office Outlook 11
In-Reply-To: <182dc94a0805270310h486236bawb4a4c3a0b65c354a@mail.gmail.com>
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com>
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

Mani kandan wrote on 27 May 2008 11:10:

> But in my
>> application have a  third party sybase DLL. I am not able to link the
>> third party sybase DLL in cygwin. I don't have the source codes for
>> the DLL. Is there any other way to link these DLL in cygwin  . How?
>> This is urgent issue.!!! Please help!!
> 
> http://www.cygwin.com/cygwin-ug-net/dll.html#dll-link
> 
>  cheers,
>  DaveK
> ===========================================================
> 
> Hi DaveK,
> 
>      Thanks for your suggession. I have followed the same procedure.
> When i tried the nm command that time i got the error msg that "nm:
> libjcc.dll: no symbols".
> What is the exact problem and Why i am not able to execute the command.

  Ah, you ran into this problem:

http://www.cygwin.com/cygwin-ug-net/dll.html#dll-link

"Note that this will only work if the DLL is not stripped. Otherwise you
will get an error message: "No symbols in foo.dll"."


  So, there is no debug info in the DLL.  In that case, you need to get the
list of exports to make the .def file some other way: perhaps you can run
'pexports' on it, or in a last resort DUMPBIN, and you may need to do some
hand-editing of the .def file that results.  See here:

http://www.emmestech.com/moron_guides/moron1.html



    cheers,
      DaveK
-- 
Can't think of a witty .sigline today....


--
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/

- Raw text -


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