This is the mail archive of the
cygwin@cygwin.com
mailing list for the Cygwin project.
RE: Using setupapi.lib/h/dll from cygwin
- To: "Svein Erling Seldal" <Svein dot Seldal at edcom dot no>, <cygwin at cygwin dot com>
- Subject: RE: Using setupapi.lib/h/dll from cygwin
- From: "Larry Hall (RFK Partners, Inc)" <lhall at rfk dot com>
- Date: Sun, 06 May 2001 23:06:03 -0400
- References: <4.3.1.2.20010504113950.01fbdb28@pop.ma.ultranet.com>
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@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@rfk.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