delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1998/05/13/07:34:16

From: mlx AT san DOT rr DOT com (Steve Biskis)
Subject: Re: Help with building relocatable DLL's
13 May 1998 07:34:16 -0700 :
Message-ID: <199805121841.LAA19188.cygnus.gnu-win32@proxyb1-atm.san.rr.com>
Reply-To: <mlx AT san DOT rr DOT com>
Mime-Version: 1.0
To: "Craig Setera" <setera AT us DOT ibm DOT com>
Cc: <gnu-win32 AT cygnus DOT com>

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 AT us DOT ibm DOT com>
> To: gnu-win32 AT cygnus DOT 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 AT 12
>
//c/cygnus/b19/H-i386-cygwin32/i386-cygwin32/lib/libcygwin.a(libccrt0.o)(.te

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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019