Make of gtk+-2.6.7 fails

Gerrit P. Haase gerrit@familiehaase.de
Fri May 27 09:55:00 GMT 2005


Franz Haeuslschmid wrote:

> Dear readers of g.o.c.xfree,

Good.Old.Cygwin.Xfree?
 >  gcc -shared .libs/cyggtk-x11-2.0-0.dll.def  .libs/fnmatch.o
 > [...OBJECT FILE LIST...] -Wl,--whole-archive dgmime/.libs/libxdgmime.a
 > -Wl,--no-whole-archive  -L/cygdrive/d/Src/gtk+-2.6.7/gdk-pixbuf/.libs
 > -L/opt/cxclient/usr/X11R6/lib -L/usr/X11R6/lib -L/usr/local/lib
 > -L/usr/lib ../gdk-pixbuf/.libs/libgdk_pixbuf-2.0.dll.a
 > ../gdk/.libs/libgdk-x11-2.0.dll.a -lX11
 > /usr/local/lib/libpangoxft-1.0.dll.a
 > /usr/local/lib/libpangox-1.0.dll..a
 > /usr/local/lib/libpango-1.0.dll.a
 > /usr/local/lib/libatk-1.0.dll.a
 > /usr/local/lib/libgobject-2.0.dll.a
 > /usr/local/lib/libgmodule-2.0.dll.a
 > /usr/local/lib/libglib-2.0.dll.a
 > /usr/lib/libiconv.dll.a
 > /usr/lib/libintl.dll.a
 > -o ..libs/cyggtk-x11-2.0-0.dll -Wl,--image-base=0x10000000
 > -Wl,--out-implib,.libs/libgtk-x11-2.0.dll.a
 > Creating library file: .libs/libgtk-x11-2.0.dll.a
 > ..libs/gtksettings.o: In function `gtk_default_substitute':
> /cygdrive/d/Src/gtk+-2.6.7/gtk/gtksettings.c:157: undefined reference to `_FcPatternGet'
> /cygdrive/d/Src/gtk+-2.6.7/gtk/gtksettings.c:161: undefined reference to `_FcPatternGet'
> /cygdrive/d/Src/gtk+-2.6.7/gtk/gtksettings.c:209: undefined reference to `_FcPatternGet'
> /cygdrive/d/Src/gtk+-2.6.7/gtk/gtksettings.c:210: undefined reference to `_FcPatternAddDouble'
> /cygdrive/d/Src/gtk+-2.6.7/gtk/gtksettings.c:210: undefined reference to `_FcPatternGet'
> /cygdrive/d/Src/gtk+-2.6.7/gtk/gtksettings.c:206: undefined reference to `_FcPatternAddInteger'
> /cygdrive/d/Src/gtk+-2.6.7/gtk/gtksettings.c:163: undefined reference to `_FcPatternAddBool'
> /cygdrive/d/Src/gtk+-2.6.7/gtk/gtksettings.c:159: undefined reference to `_FcPatternAddBool'
> Info: resolving _gdk_threads_lock by linking to __imp__gdk_threads_lock (auto-import)
> Info: resolving _gdk_threads_unlock by linking to __imp__gdk_threads_unlock (auto-import)
> collect2: ld returned 1 exit status
> make[2]: *** [libgtk-x11-2.0.la] Error 1
> make[2]: Leaving directory `/cygdrive/d/Src/gtk+-2.6.7/gtk'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/cygdrive/d/Src/gtk+-2.6.7/gtk'
> make: *** [all] Error 2
> 
> 
> The build tools in use are those, that are officially available
> at the cygwin site.

There is libfontconfig missing at the link command.
See this and other changes in the patch of the last released Cygwin
version, I attached the minimal set of changes needed to build 2.4.14.
After applying these changes, you'll need to run automake or adopt
the changes and include them directly in Makefile.in instead of
changing Makefile.am.


Gerrit
-- 
=^..^=
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: gtk2-x11-2.4.14-1-minimal.patch
URL: <http://cygwin.com/pipermail/cygwin-xfree/attachments/20050527/e8f85070/attachment.ksh>


More information about the Cygwin-xfree mailing list