freetype-devel
[Top][All Lists]
Advanced

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

Re: [ttf2pt1-devel] Re: FreeType front-end in ttf2pt1 -anewsnapshot


From: Sergey Babkin
Subject: Re: [ttf2pt1-devel] Re: FreeType front-end in ttf2pt1 -anewsnapshot
Date: Sun, 15 Oct 2000 10:40:02 -0400

Werner LEMBERG wrote:
> 
> > Werner, one more problem: I have found that I frogot to enable use
> > of Sfnt stuff, so today I enabled it and found that FT_Get_Sfnt_Name
> > is still not compiled in.  Could you please re-check it? Thanks!
> 
> A typo.  In the config file(s), the define macro is called
> TT_CONFIG_OPTION_SFNT_NAMES, but ftnames.c contains
> FT_CONFIG_OPTION_SFNT_NAMES, which is incorrect.  Fixed.  Thanks for
> the report.

Now the library fails to build:

gcc -shared  /usr/arch/ttf/freetype2-current/obj/ftsystem.lo 
/usr/arch/ttf/freetype2-current/obj/ftdebug.lo 
/usr/arch/ttf/freetype2-current/obj/ftinit.lo 
/usr/arch/ttf/freetype2-current/obj/ftbase.lo 
/usr/arch/ttf/freetype2-current/obj/ftglyph.lo 
/usr/arch/ttf/freetype2-current/obj/ftnames.lo 
/usr/arch/ttf/freetype2-current/obj/ftmm.lo 
/usr/arch/ttf/freetype2-current/obj/autohint.lo 
/usr/arch/ttf/freetype2-current/obj/ftcache.lo 
/usr/arch/ttf/freetype2-current/obj/cff.lo 
/usr/arch/ttf/freetype2-current/obj/type1cid.lo 
/usr/arch/ttf/freetype2-current/obj/psaux.lo 
/usr/arch/ttf/freetype2-current/obj/psnames.lo 
/usr/arch/ttf/freetype2-current/obj/raster1.lo 
/usr/arch/ttf/freetype2-current/obj/sfnt.lo 
/usr/arch/ttf/freetype2-current/obj/smooth.lo 
/usr/arch/ttf/freetype2-current/obj/truetype.lo 
/usr/arch/ttf/freetype2-current/obj/type1z.lo 
/usr/arch/ttf/freetype2-current/obj/winfnt.lo  -lc  -Wl,-soname 
-Wl,libfreetype.so.6 -o 
/usr/arch/ttf/freetype2-current/obj/.libs/libfreetype.so!
.6
/usr/arch/ttf/freetype2-current/obj/ftnames.lo: In function 
`FT_Get_Sfnt_Name_Count':
/usr/arch/ttf/freetype2-current/src/base/ftnames.c(.text+0x0): multiple 
definition of `FT_Get_Sfnt_Name_Count'
/usr/arch/ttf/freetype2-current/obj/ftbase.lo(.text+0x3ff8):/usr/arch/ttf/freetype2-current/src/base/ftnames.c:
 first defined here
/usr/arch/ttf/freetype2-current/obj/ftnames.lo: In function `FT_Get_Sfnt_Name':
/usr/arch/ttf/freetype2-current/src/base/ftnames.c(.text+0x24): multiple 
definition of `FT_Get_Sfnt_Name'
/usr/arch/ttf/freetype2-current/obj/ftbase.lo(.text+0x401c):/usr/arch/ttf/freetype2-current/src/base/ftnames.c:
 first defined here
gmake: *** [/usr/arch/ttf/freetype2-current/obj/libfreetype.la] Error 1

the problem is that ftnames.c is both built by itself and included
into ftbase.c. Removing it from ftbase.c seems to help.

By the way, the strings returned by FT_Get_Sfnt_Name are not
zero-terminated. Is it intended to be that way ?

-SB



reply via email to

[Prev in Thread] Current Thread [Next in Thread]