This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: [bug] Missing winapi symbols
- From: Brian Dessent <brian at dessent dot net>
- To: Piotr Wyderski <piotr dot wyderski at wp dot pl>
- Cc: cygwin at cygwin dot com, mingw-users at lists dot sourceforge dot net
- Date: Fri, 30 Mar 2007 13:51:32 -0700
- Subject: Re: [bug] Missing winapi symbols
- References: <006f01c7730a$d7903d50$ed346957@voltan>
- Reply-to: cygwin at cygwin dot com
Piotr Wyderski wrote:
> The CreateMemoryResourceNotification() function
> is not defined in libkernel32.a. It is, however, defined
> in the win32api includes (with _WIN32_WINNT=0x0501),
> which it correct. I've checked both 3.8 and the latest 3.9
> versions of the win32api package and none of them exports
> the symbol. It stops the phase of linking of my program
> with an unrecoverable error.
The import libraries for the Win32 API (w32api) is actually maintained
by the MinGW project, and only distributed by Cygwin, so I've CC'd
them. The attached patch ought to fix this.
Brian
2007-03-30 Brian Dessent <brian@dessent.net>
* lib/kernel32.def (CreateMemoryResourceNotification@4): Define.
Index: lib/kernel32.def
===================================================================
RCS file: /cvs/src/src/winsup/w32api/lib/kernel32.def,v
retrieving revision 1.24
diff -u -p -r1.24 kernel32.def
--- lib/kernel32.def 10 Aug 2006 21:06:01 -0000 1.24
+++ lib/kernel32.def 30 Mar 2007 20:48:06 -0000
@@ -79,6 +79,7 @@ CreateJobObjectA@8
CreateJobObjectW@8
CreateMailslotA@16
CreateMailslotW@16
+CreateMemoryResourceNotification@4
CreateMutexA@12
CreateMutexW@12
CreateNamedPipeA@32
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/