From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 29703 invoked by alias); 23 Jun 2008 12:37:09 -0000 Received: (qmail 29688 invoked by uid 22791); 23 Jun 2008 12:37:08 -0000 X-Spam-Check-By: sourceware.org Received: from mail.artimi.com (HELO mail.artimi.com) (194.72.81.2) by sourceware.org (qpsmtpd/0.31) with ESMTP; Mon, 23 Jun 2008 12:36:52 +0000 Received: from ALBATROSS ([192.168.8.39]) by mail.artimi.com with Microsoft SMTPSVC(6.0.3790.3959); Mon, 23 Jun 2008 13:36:49 +0100 From: "Dave Korn" To: References: <20080623173202.2572@blackhawk> <004001c8d50d$0be88ca0$2708a8c0@CAM.ARTIMI.COM> <20080623212037.2088@blackhawk> Subject: RE: pangp Date: Mon, 23 Jun 2008 19:16:00 -0000 Message-ID: <006101c8d52d$d22761a0$2708a8c0@CAM.ARTIMI.COM> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook 11 In-Reply-To: <20080623212037.2088@blackhawk> Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com X-SW-Source: 2008-06/txt/msg00470.txt.bz2 d.henman wrote on 23 June 2008 13:21: > Dave, thanks for your response. > > None of the symbols: > `__pango_win32_font_get_type', `__pango_win32_font_map_get_type', > `__pango_win32_fontmap_cache_remove', and > `__pango_win32_make_matching_logfontw' > > are not in: "libpangowin32-1.0.dll.a" 's symbol table, or > are they in: "cygpangowin32-1.0-0.dll.def", or any other > .def file. but, they are in: "cygpangowin32-1.0-0.dll" as "T" > symbols. So, they're in the DLL itself, but for some reason not marked as exports in the DEF file, and hence no available stubs for them in the import .a library. A simple workaround might be to build with --disable-shared --enable-static instead. > I wish I new more about the mechanics of this. Maybe a simple export in > the file they are defined in would suffice to cure the problem? The DEF file is generated at this point in your make.out log: generating symbol list for `libpangowin32-1.0.la' /bin/nm -B .libs/module-defs-win32.o .libs/pangowin32.o .libs/pangowin32-fontcache.o .libs/pangowin32-fontmap.o | sed -n -e 's/^.*[ ]\([ABCDGIRSTW][ABCDGIRSTW]*\)[ ][ ]*_\([_A-Za-z][_A-Za-z0-9]*\)$/\1 _\2 \2/p' | /bin/sed -e '/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/' -e '/^[AITW][ ]/s/.*[ ]//' | sort | uniq > .libs/libpangowin32-1.0.exp /bin/grep -E -e "^pango_.*" ".libs/libpangowin32-1.0.exp" > ".libs/libpangowin32-1.0.expT" mv -f ".libs/libpangowin32-1.0.expT" ".libs/libpangowin32-1.0.exp" if test "x`/bin/sed 1q .libs/libpangowin32-1.0.exp`" = xEXPORTS; then cp .libs/libpangowin32-1.0.exp .libs/cygpangowin32-1.0-0.dll.def; else echo EXPORTS > .libs/cygpangowin32-1.0-0.dll.def; cat .libs/libpangowin32-1.0.exp >> .libs/cygpangowin32-1.0-0.dll.def; fi /usr/local/bin/gcc -shared .libs/cygpangowin32-1.0-0.dll.def .libs/module-defs-win32.o .libs/pangowin32.o .libs/pangowin32-fontcache.o .libs/pangowin32-fontmap.o ./.libs/libpango-1.0.dll.a -L/usr/lib /usr/lib/libgobject-2.0.dll.a /usr/lib/libgmodule-2.0.dll.a /usr/lib/libglib-2.0.dll.a /usr/lib/libintl.dll.a /usr/lib/libiconv.dll.a -lgdi32 -o .libs/cygpangowin32-1.0-0.dll -Wl,--enable-auto-image-base -Xlinker --out-implib -Xlinker .libs/libpangowin32-1.0.dll.a Creating library file: .libs/libpangowin32-1.0.dll.a You could take a look in the .libs/libpangowin32-1.0.exp; probably it doesn't contain anything that isn't also in .libs/cygpangowin32-1.0-0.dll.def, but it would be intersteing if it didn't. And it might be interesting to compare the nm output from those .o files before and after it gets passed through that sed|sort|uniq pipeline. Also, you should check that nothing went wrong at configure time that caused it to disable font support in the built code - maybe it couldn't find a dependency it needed. Hmmm. There's various pango and pang-devel packages in the distro. Do you have any/all/none of those installed? Is this a source build from the distro source tarballs, or are you trying the upstream sources? cheers, DaveK -- Can't think of a witty .sigline today.... -- 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/