X-Spam-Check-By: sourceware.org Message-ID: <460D7854.CBA2A042@dessent.net> Date: Fri, 30 Mar 2007 13:51:32 -0700 From: Brian Dessent X-Mailer: Mozilla 4.79 [en] (Windows NT 5.0; U) MIME-Version: 1.0 To: Piotr Wyderski CC: cygwin AT cygwin DOT com, mingw-users AT lists DOT sourceforge DOT net Subject: Re: [bug] Missing winapi symbols References: <006f01c7730a$d7903d50$ed346957 AT voltan> Content-Type: multipart/mixed; boundary="------------4BCBBA69CECB944CB6D59EB8" X-IsSubscribed: yes Reply-To: cygwin AT cygwin DOT com Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com --------------4BCBBA69CECB944CB6D59EB8 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit 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 --------------4BCBBA69CECB944CB6D59EB8 Content-Type: text/plain; charset=us-ascii; name="w32api-CreateMemoryResourceNotification.patch" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="w32api-CreateMemoryResourceNotification.patch" 2007-03-30 Brian Dessent * lib/kernel32.def (CreateMemoryResourceNotification AT 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 AT 8 CreateJobObjectW AT 8 CreateMailslotA AT 16 CreateMailslotW AT 16 +CreateMemoryResourceNotification AT 4 CreateMutexA AT 12 CreateMutexW AT 12 CreateNamedPipeA AT 32 --------------4BCBBA69CECB944CB6D59EB8 Content-Type: text/plain; charset=us-ascii -- 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/ --------------4BCBBA69CECB944CB6D59EB8--