Urgent !!! Reg Linking sybase DLL in cygwin..

Dave Korn dave.korn@artimi.com
Tue May 27 10:52:00 GMT 2008


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/



More information about the Cygwin mailing list