Re: pango-1.8.0 compilation error





Chris Mazuc wrote:

Wed, 22 Dec 2004 19:51:11 -0800
Glenn Evans wrote:
>
> When I run make for pango-1.8.0, I get the following errors:

[ blah blah blah ]

> ./.libs/libpangoxft-1.0.so: undefined reference to
> `g_type_instance_get_private'
> ./.libs/libpangoxft-1.0.so: undefined reference to
> `g_type_class_add_private'
> ./.libs/libpangoxft-1.0.so: undefined reference to `g_assert_warning'
> /home/user1/downloads/pango-1.8.0/pango/.libs/libpango-1.0.so:
> undefined reference to `g_unichar_get_mirror_char'
> /home/user1/downloads/pango-1.8.0/pango/.libs/libpango-1.0.so:
> undefined reference to `g_fopen'
> ./.libs/libpangox-1.0.so: undefined reference to
> `g_return_if_fail_warning'
> collect2: ld returned 1 exit status
> make[4]: *** [pango-querymodules] Error 1
[ blah blah blah ]
> I have successfully installed all the other required packages,
> including glib-2.6.0 (pkg-config --modversion glib-2.0 returns
> "2.6.0"). My current version of pango is 2.4.0. gtk+-2.6.0 will not
> install unless pango is 1.7.0 or later.
>
> Can anyone tell me what my problem is?
>
>
> TIA,
>
>
> Glenn

I'm getting the same thing here, anybody have a clue?

gcc -g -O2 -Wall -o .libs/pango-querymodules querymodules.o ./.libs/libpangox-1.0.so -L/home/pq/local//lib -L/usr/X11R6/lib ./.libs/libpangoxft-1.0.so /home/pq/gtk/pango-1.8.0/pango/.libs/libpangoft2-1.0.so /usr/lib/libXft.so /usr/lib/libXrender.so -lX11 ./.libs/libpangoft2-1.0.so /home/pq/gtk/pango-1.8.0/pango/.libs/libpango-1.0.so -lfontconfig /usr/lib/libfreetype.so -lz /usr/lib/libgobject-2.0.so /usr/lib/libgmodule-2.0.so /usr/lib/libglib-2.0.so ./.libs/libpango-1.0.so -lm /home/pq/local//lib/libgobject-2.0.so /home/pq/local//lib/libgmodule-2.0.so -ldl /home/pq/local//lib/libglib-2.0.so -Wl,--rpath -Wl,/usr/local/lib -Wl,--rpath -Wl,/home/pq/local//lib
./.libs/libpangoxft-1.0.so: undefined reference to `g_assert_warning'
/home/pq/gtk/pango-1.8.0/pango/.libs/libpango-1.0.so: undefined reference to `g_fopen' ./.libs/libpangox-1.0.so: undefined reference to `g_return_if_fail_warning'
collect2: ld returned 1 exit status
make[4]: *** [pango-querymodules] Error 1

I ran into the same kind of problem recently while upgrading my RH 9.0 system to Fedora Core 3 and then trying to build gtk+ 2.6. I finally gave up on the upgrade and installed a new FC3 to solve the problem. My guess is that a leftover library in /usr/lib was screwing up the linking process.

John




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]