Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm 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 Date: Mon, 27 Sep 2004 09:01:49 +0400 From: Maarten Boekhold Subject: cygwin glib2-2.4.6-1 bug? To: cygwin AT cygwin DOT com Message-id: <41579EBD.9030006@emirates.net.ae> MIME-version: 1.0 Content-type: text/plain; charset=ISO-8859-1; format=flowed Content-transfer-encoding: 7BIT User-Agent: Mozilla Thunderbird 0.8 (Windows/20040913) X-IsSubscribed: yes Hi all (Gerrit in specific), I've found some behaviour which is different between glib2-2.4.5-1 and glib2-2.4.6-1, in what appears to be cygwin specific. Observer the following test case: ======> gmod.c <======= #include #include int main(int argc, char **argv) { gchar *full_libdir; gchar *module; full_libdir = g_build_filename ("/opt/xfce/lib", "xfce4", "modules" ,NULL); module = g_module_build_path(full_libdir, "xfce4_mime_icons"); g_warning("full library name: %s\n", module); return 1; } ======> sample session <======== maarten DOT boekhold AT DXBM2003 /e/Maarten/src/xfce $ gcc -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -o gmod.exe gmod.c -lgobject-2.0 -lgmodule-2.0 -lglib-2.0 -lintl -liconv maarten DOT boekhold AT DXBM2003 /e/Maarten/src/xfce $ ./gmod ** (process:6052): WARNING **: full library name: /opt/xfce/lib/xfce4/modules/libxfce4_mime_icons.dll I swear that this is supposed to return '/opt/xfce/lib/xfce4/modules/cygxfce4_mime_icons.dll', and I swear it *did* this in the previous version of the glib2 package. I will downgrade later today to verify this. The only way I can explain this behaviour is if either gmodule isn't built with gmodule-win32.c, *or* of G_WITH_CYGWIN isn't defined when building gmodule-win32.c. The gmodule-win32.c file itself looks OK to me. Do you have any idea? Maarten -- 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/