smlcar 发表于 2005-3-15 10:18:50

安装gtk+-2.6.4出错的问题

./configure --prefix=/usr --exec-prefix=/usr后做make出现错误,请问怎么解决???

出错代码如下:
Creating library file: .libs/libgtk-x11-2.0.dll.a
.libs/gtksettings.o(.text+0x18c): In function `gtk_default_substitute':
/cygdrive/d/cygwin/gtk+-2.6.4/gtk/gtksettings.c:157: undefined reference to `_Fc
PatternGet'
.libs/gtksettings.o(.text+0x1b9):/cygdrive/d/cygwin/gtk+-2.6.4/gtk/gtksettings.c
:161: undefined reference to `_FcPatternGet'
.libs/gtksettings.o(.text+0x1ed):/cygdrive/d/cygwin/gtk+-2.6.4/gtk/gtksettings.c
:209: undefined reference to `_FcPatternGet'
.libs/gtksettings.o(.text+0x22b):/cygdrive/d/cygwin/gtk+-2.6.4/gtk/gtksettings.c
:210: undefined reference to `_FcPatternAddDouble'
.libs/gtksettings.o(.text+0x24c):/cygdrive/d/cygwin/gtk+-2.6.4/gtk/gtksettings.c
:210: undefined reference to `_FcPatternGet'
.libs/gtksettings.o(.text+0x304):/cygdrive/d/cygwin/gtk+-2.6.4/gtk/gtksettings.c
:206: undefined reference to `_FcPatternAddInteger'
.libs/gtksettings.o(.text+0x326):/cygdrive/d/cygwin/gtk+-2.6.4/gtk/gtksettings.c
:163: undefined reference to `_FcPatternAddBool'
.libs/gtksettings.o(.text+0x348):/cygdrive/d/cygwin/gtk+-2.6.4/gtk/gtksettings.c
:159: undefined reference to `_FcPatternAddBool'
Info: resolving _gdk_threads_lock by linking to __imp__gdk_threads_lock (auto-im
port)
Info: resolving _gdk_threads_unlock by linking to __imp__gdk_threads_unlock (aut
o-import)
collect2: ld returned 1 exit status
make: *** Error 1
make: Leaving directory `/cygdrive/d/cygwin/gtk+-2.6.4/gtk'
make: *** Error 1
make: Leaving directory `/cygdrive/d/cygwin/gtk+-2.6.4/gtk'
make: *** Error 2
make: Leaving directory `/cygdrive/d/cygwin/gtk+-2.6.4/gtk'
make: *** Error 1
make: Leaving directory `/cygdrive/d/cygwin/gtk+-2.6.4'
make: *** Error 2

hew 发表于 2005-3-15 10:59:43

看看 configure.log

cobranail 发表于 2005-3-15 23:40:11

cygwin?
页: [1]
查看完整版本: 安装gtk+-2.6.4出错的问题