[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [ft-devel] couple of new issues with 2.5.1
From: |
Adam Sampson |
Subject: |
Re: [ft-devel] couple of new issues with 2.5.1 |
Date: |
Tue, 26 Nov 2013 12:49:00 +0000 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux) |
Werner LEMBERG <address@hidden> writes:
>> - ftgrid in demos now fails to compile due to missing symbol when
>> freetype itself is built in release mode. It used to work in 2.5.0.
Same for me:
libtool: link: gcc -Wl,-O2 -Wl,--as-needed -Wl,-O2 -Wl,--as-needed -o
/src/text/freetype/work/ft2demos-2.5.1/bin/.libs/ftgrid
/src/text/freetype/work/ft2demos-2.5.1/obj/ftgrid.o
/src/text/freetype/work/ft2demos-2.5.1/obj/common.o
/src/text/freetype/work/ft2demos-2.5.1/obj/ftcommon.o -L/gar/lib
/src/text/freetype/work/freetype2/objs/.libs/libfreetype.so -lz -lbz2
-lpng16 /src/text/freetype/work/ft2demos-2.5.1/obj/graph.a -L/usr/lib
-lX11 -lm -Wl,-rpath -Wl,/usr/lib
/src/text/freetype/work/ft2demos-2.5.1/obj/ftgrid.o: In function `main':
ftgrid.c:(.text.startup+0x756): undefined reference to
`_af_debug_disable_horz_hints'
ftgrid.c:(.text.startup+0x76b): undefined reference to
`_af_debug_disable_vert_hints'
ftgrid.c:(.text.startup+0xc18): undefined reference to
`_af_debug_disable_horz_hints'
ftgrid.c:(.text.startup+0xc22): undefined reference to
`_af_debug_disable_vert_hints'
ftgrid.c:(.text.startup+0xc3d): undefined reference to `_af_debug_hints'
collect2: error: ld returned 1 exit status
Makefile:513: recipe for target
'/src/text/freetype/work/ft2demos-2.5.1/bin/ftgrid' failed
make[2]: *** [/src/text/freetype/work/ft2demos-2.5.1/bin/ftgrid] Error 1
Similarly, the next commit in ft2demos' history makes it use the
ft_trace_levels symbol.
> After unpacking the two archives I did
> ln -s freetype-2.5.1 freetype2
> cd freetype-2.5.1
> make devel
So you're building the freetype library with devel/ftoption.h -- which
has FT_DEBUG_AUTOFIT and FT_DEBUG_LEVEL_TRACE turned on, whereas the
default config in include/config/ftoption.h doesn't...
I assume it's not intentional that you can't build ft2demos with a
release version of the library?
Thanks,
--
Adam Sampson <address@hidden> <http://offog.org/>