On Tue, Dec 21, 2010 at 10:50 PM, FKtPp <m_pupil@yahoo.com.cn> wrote:
Dear Bug Team!

when try build XEmacs in cygwin 1.7, the linker failed with following
error message:

 undefined reference to `_IID_IPersistFile'

This error is caused by the new libuuid.so delivered by
cygwin1.7. With cygwin 1.7 there's multi-copy of libuuid delivered,
the win32 copy of libuuid must be explictly linked instead of passing
-luuid flag to linker.

Attached is a simple patch for configure.ac and configure script.

It's better to use the -L flag so that it will still link on Cygwin 1.5.
This will pick up all of the w32api libraries from the new location.
Jeff Sparkes