[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Freetype] Errors compiling apps re FT_SEEK_STREAM, others
From: |
John LeMay |
Subject: |
Re: [Freetype] Errors compiling apps re FT_SEEK_STREAM, others |
Date: |
Thu, 10 Apr 2003 15:55:35 -0400 |
User-agent: |
Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.3) Gecko/20030312 |
This is a problem that has haunted me for ages. When compiling apps
that require freetype and pango, I get errors like:
/usr/lib/gcc-lib/i486-suse-linux/3.2/../../../libpangoxft-1.0.so:
undefined reference to `FT_Seek_Stream'
this seems to happen when Pango is not compiled against the same
Freetype version that is used for linking. Usually recompiling Pango
solves this problem.
Salut, Sven
Sven,
Thanks for your reply. This actually seems to have helped one of my
machines. However the other still reports the same (similar actually)
errors:
configure:13445: checking for GTK+ - version >= 2.0.0
configure:13561: gcc -o conftest -g -O2 -I/opt/include -I$(top_srcdir)
-I/usr/in
clude/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0
-I/usr/include/g
lib-2.0 -I/usr/lib/glib-2.0/include -I/usr/local/include/pango-1.0
-I/usr/X11R6/
include -I/usr/include/freetype2 conftest.c -Wl,--export-dynamic
-L/usr/loca
l/lib -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -lm
-lpangoxft-1.0
-lpangox-1.0 -lpango-1.0 -lgobject-2.0 -lgmodule-2.0 -ldl -lglib-2.0
-lnsl >&
5
/usr/local/lib/libpangoxft-1.0.so: undefined reference to
`FT_Stream_GetShort'
/usr/local/lib/libpangoxft-1.0.so: undefined reference to
`FT_Stream_ExitFrame'
/usr/local/lib/libpangoxft-1.0.so: undefined reference to
`FT_Stream_GetLong'
/usr/local/lib/libpangoxft-1.0.so: undefined reference to `FT_Stream_Seek'
/usr/local/lib/libpangoxft-1.0.so: undefined reference to
`FT_Stream_EnterFrame'
collect2: ld returned 1 exit status
configure:13564: $? = 1
configure: program exited with status 1
Note this is after recompiling and reinstalling pango-1.0.5 against
freetype 2.1.3. Am I missing something obvious? Maybe a pc file
configuration issue?
--
John LeMay
KC2KTH
Senior Enterprise Consultant
NJMC | http://www.njmc.com | Phone 732-557-4848
Specializing in Microsoft and Unix based solutions