Re: undefined reference ;-(
- From: Daniel Paessler <paessler gmx de>
- To: Idan Gazit <id panix com>
- Cc: Garnome <garnome-list gnome org>
- Subject: Re: undefined reference ;-(
- Date: 01 Sep 2002 19:48:32 +0200
first, thank you for your explanation...i checked this and now
i am _very_ confused, look why:
btw. the directory /opt/gnome2 is a symlink to ~/garnome, so that
shouldn't confuse you
root iphigenie:/ > ldconfig -v | grep libpangoft2
libpangoft2-1.0.so.0 -> libpangoft2-1.0.so.0.0.4
this one is in my garnome directory...so going on:
root iphigenie:/ > pkg-config --libs gtk+-2.0
-L/home/paessler/garnome/lib -lgtk-x11-2.0 -lgdk-x11-2.0
-lgdk_pixbuf-2.0 -lm -lpangoxft-1.0 -lpangox-1.0 -lpango-1.0 -latk-1.0
-lgobject-2.0 -lgmodule-2.0 -ldl -lglib-2.0
as you can see, no libpangoft2, but why?
root iphigenie:/ > pkg-config --libs pangoft2
-L/home/paessler/garnome/lib -lpangoft2-1.0 -lpango-1.0 -lgobject-2.0
-lgmodule-2.0 -ldl -lglib-2.0
it is there, really! and the .pc file also is where it should be:
root iphigenie:/ > ls /opt/gnome2/lib/pkgconfig/pan*
/opt/gnome2/lib/pkgconfig/pango.pc
/opt/gnome2/lib/pkgconfig/pangox.pc
/opt/gnome2/lib/pkgconfig/pangoft2.pc
/opt/gnome2/lib/pkgconfig/pangoxft.pc
and at last:
root iphigenie:/ > export |grep PKG_
declare -x PKG_CONFIG_PATH="/opt/gnome2/lib/pkgconfig"
Am Son, 2002-09-01 um 18.43 schrieb Idan Gazit:
> Daniel,
>
> 'LD' is the gnu linker. The reason for your stream of errors is that
> code which calls libpangoft2 was compiled and then attempted to be
> linked, but the linker couldn't find the library this is probably because:
>
> a) When you originally compiled pango, it didn't recognize freetype and
> didn't compile the libpangoft2 library. A quick way to check for this is
> to become root and type "ldconfig -v | less". Look through the resulting
> output for libpangoft2. Not there? Go back to pango and make sure that
> everything in pango is really compiling.
>
> b) libpangoft2 did compile, and you have verified this by step (a). The
> probable culprit now is that somehow, the compiler didn't get passed the
> "-lpangoft2" option when it should have. Since I haven't yet built the
> most recent ggv, I can only conjecture as to the problem:
>
> - ggv's makefiles / ./configure are broken, and don't properly find
> pango.
> - pkgconfig is somehow not finding
> <gnome2_prefix>/lib/pkgconfig/pangoft2.pc,
> and therefore `pkg-config --libs gtk+-2.0` isn't supplying the
> -lpangoft2 switch as it's supposed to
>
> Hope this helps,
>
> Idan
>
> <normally this would be gpg-signed but it's slightly broken right now>
>
> --
>
> Daniel Paessler wrote:
>
> >when i try to compile ggv in gnome-fifth-toe i get the following error:
> >
> >
> >-rpath -Wl,/home/paessler/garnome/lib
> >/home/paessler/garnome/lib/libpangoft2-1.0.so: undefined reference to
> >`FT_Stream_GetShort'
> >/home/paessler/garnome/lib/libpangoft2-1.0.so: undefined reference to
> >`FT_Stream_ExitFrame'
> >/home/paessler/garnome/lib/libpangoft2-1.0.so: undefined reference to
> >`FT_Stream_GetLong'
> >/home/paessler/garnome/lib/libpangoft2-1.0.so: undefined reference to
> >`FT_Stream_Seek'
> >/home/paessler/garnome/lib/libpangoft2-1.0.so: undefined reference to
> >`FT_Get_Next_Char'
> >/home/paessler/garnome/lib/libpangoft2-1.0.so: undefined reference to
> >`FT_Stream_EnterFrame'
> >/home/paessler/garnome/lib/libpangoft2-1.0.so: undefined reference to
> >`FT_Get_First_Char'
> >collect2: ld returned 1 exit status
> >
> >
> >
>
> --
> garnome-list mailing list
> garnome-list gnome org
> http://mail.gnome.org/mailman/listinfo/garnome-list
>
--
email: daniel paessler org / phone: +49 3722 83884
fax: +49 89 244365117 / web: www.paessler.org
Sie muessen einen PC nicht einschalten, um herauszufinden,
ob WINDOWS installiert ist.
Sehen Sie einfach nach, ob die Aufschrift auf der Reset-Taste
noch lesbar ist.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]