delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2002/12/31/11:09:57

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/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
Message-ID: <410-220021223116934289@M2W083.mail2web.com>
X-Priority: 3
Reply-To: lhall AT rfk DOT com
X-Originating-IP: 209.113.174.244
From: "lhall AT pop DOT ma DOT ultranet DOT com" <lhall AT pop DOT ma DOT ultranet DOT com>
To: robertjbercik AT yahoo DOT com, cygwin AT cygwin DOT com
Subject: RE: symbols in Microsoft DLL's and Linking w/ them
Date: Tue, 31 Dec 2002 11:09:34 -0500
MIME-Version: 1.0
X-OriginalArrivalTime: 31 Dec 2002 16:09:33.0863 (UTC) FILETIME=[02148B70:01C2B0E7]
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id gBVG9uZ11648

Since this is a general inquiry without any specifics, I assume you're
looking for a general confirmation that linking against MS DLLs is 
possible.  I can attest to that.  Generally speaking, when you run into
unresolved symbols, you need to find the DLLs/import libraries or static
libraries which define them and add them to your link line.  If you're
implying that the MS DLL that you're linking against doesn't export the 
symbols that are unresolved, that's probably OK unless you're implying 
that this is a different DLL and is the one that's supposed to resolve 
the missing symbols.  But these are all details which you didn't send so
they're not worth much discussion.  Assuming that this turns out to be a 
Cygwin-related issue and you can't find the answer to your problem with 
further study, please refer to www.cygwin.com/bugs.html before posting a 
followup message.  This will familiarize you with the information 
requirements this list has for problem reports and related details.  Also,
you will more than likely want to post to cygwin AT cygwin DOT com rather than 
cygwin-apps AT cygwin DOT com.  The former is the proper place for this kind of
inquiry, again assuming it's Cygwin-related.  I've redirected the discussion
there (and BCC'd cygwin-apps AT cygwin DOT com to maintain a pointer from there).

Good luck,

Larry

Original Message:
-----------------
From: Robert Bercik robertjbercik AT yahoo DOT com
Date: Tue, 31 Dec 2002 07:50:59 -0800 (PST)
To: cygwin-apps AT cygwin DOT com
Subject: symbols in Microsoft DLL's and Linking w/ them



Hi,

     I'm trying to create a cygwin dll that links to a microsoft DLL.
However, when I try and link to the DLL, the linkerl complains that the
symbols contained in the microsoft DLL are still unresolved. I used the nm
command on the DLL and it reported that it did not find any symbols, but
when I did a grep command the symbols as an argument, it found them in the
DLL. Have any of you had any success with this in the past? I'm really
stuck here. 

Thanks in advance,

-Rob

 

 



---------------------------------
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now

--------------------------------------------------------------------
mail2web - Check your email from the web at
http://mail2web.com/ .



--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.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