This is the mail archive of the cygwin@sourceware.cygnus.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Help with building relocatable DLL's


Yep.

You need to link in the appropriate windoze library where that function is
located.
Since your building relocatable DLL's I won't insult your intelligence by
spoon-feeding
the name of that library to you ;-)

da bisk

----------
> From: Craig Setera <setera@us.ibm.com>
> To: gnu-win32@cygnus.com
> Subject: Help with building relocatable DLL's
> Date: Tuesday, May 05, 1998 6:06 AM
> 
> I'm attempting to build a relocatable DLL per the instructions on
> Cygnus' web site.  When doing so, I get the following error.  Can
> anyone offer any advice on how to fix this?
> 
> ld --base-file libglib.base --dll -o libglib.dll gutils.o gscanner.o
> gstring.o g
> tree.o gtimer.o gslist.o gprimes.o gmem.o glist.o ghash.o gerror.o
gcache.o
> garr
> ay.o init.o fixup.o
> //c/cygnus/b19/H-i386-cygwin32/i386-cygwin32/lib/libcygwin.a
>  -e _dll_entry@12
>
//c/cygnus/b19/H-i386-cygwin32/i386-cygwin32/lib/libcygwin.a(libccrt0.o)(.te

> xt+0
> x92):libccrt0.cc: undefined reference to `GetModuleHandleA@4'
> 
> 
> Thanks,
> Craig
> 
> 
> 
> Craig Setera
> AS/400 Enterprise Java Development
> IBM Rochester
> setera@us.ibm.com
> (507) 253-3387 - Tie: 553-3387
> -
> For help on using this list (especially unsubscribing), send a message to
> "gnu-win32-request@cygnus.com" with one line of text: "help".
-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request@cygnus.com" with one line of text: "help".


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]