Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT sources DOT redhat DOT com Delivered-To: mailing list cygwin AT sources DOT redhat DOT com Message-Id: <4.3.1.2.20010506230349.020e0ef8@pop.ma.ultranet.com> X-Sender: lhall AT pop DOT ma DOT ultranet DOT com X-Mailer: QUALCOMM Windows Eudora Version 4.3.1 Date: Sun, 06 May 2001 23:06:03 -0400 To: "Svein Erling Seldal" , From: "Larry Hall (RFK Partners, Inc)" Subject: RE: Using setupapi.lib/h/dll from cygwin In-Reply-To: References: <4 DOT 3 DOT 1 DOT 2 DOT 20010504113950 DOT 01fbdb28 AT pop DOT ma DOT ultranet DOT com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" At 06:56 PM 5/5/2001, Svein Erling Seldal wrote: >Well, how is this done? > >If I use: 'gcc -o foo foo.o' >Returns: foo.o(.text+0x1b):foo.c: undefined reference to >`_imp__SetupDiGetClassDevsA AT 16' > >If I use: 'gcc -o foo foo.o setupapi.lib' >Returns the same OK, what does the symbol in setupapi.lib look like? What you did should work if the symbol is in the library and matches the reference exactly. Larry Hall lhall AT rfk DOT com RFK Partners, Inc. http://www.rfk.com 118 Washington Street (508) 893-9779 - RFK Office Holliston, MA 01746 (508) 893-9889 - FAX -- Want to unsubscribe from this list? Check out: http://cygwin.com/ml/#unsubscribe-simple