Have you tried and it didn't work well? Yuliana Zigangirova wrote: > Hi; thank you again for your answering my questions. > > Am 23.09.2012 09:18, schrieb suzuki toshiya: >> Hi, >> >>> g++ -m32 -o ... -L./../goo -lGoo -L./../fofi -lFofi >>> -L./../SFFonts/freetype -lFreetype -L./../SFFonts -lSFFonts -L./libs >>> -lpdf -L./../splash -lSplash -L >>> ./libs -lxml -L/usr/lib -L/usr/local/lib -lm -lc >> How about moving -lFreetype after -lSplash, like, >> >> g++ -m32 -o ... -L./../goo -lGoo -L./../fofi -lFofi >> -L./../SFFonts/freetype -lFreetype -L./../SFFonts -lSFFonts -L./libs >> -lpdf -L./../splash -lSplash -L./../SFFonts/freetype -lFreetype >> -L./libs -lxml -L/usr/lib -L/usr/local/lib -lm -lc > But why after? Does the linker process linking backwards? Splash needs > Freetype > and not vice versa. > Anyway, everything has worked perfektly with the old version of Freetype, > so I thought, may be there are some known changes in ftglyph code or > headers, > which can cause such a problem. > > > >> ? >> >> Regards, >> mpsuzuki >> >> Yuliana Zigangirova wrote: >>> Hi, >>> here is an ftglyph.o content: >>> >>> U FT_Bitmap_Copy >>> U FT_Bitmap_Done >>> U FT_Bitmap_New >>> 00000338 T FT_Done_Glyph >>> 000006da T FT_Get_Glyph >>> 000003cb T FT_Glyph_Copy >>> 0000006d T FT_Glyph_Get_CBox >>> 000004c7 T FT_Glyph_To_Bitmap >>> 00000467 T FT_Glyph_Transform >>> U FT_Lookup_Renderer >>> U FT_Outline_Copy >>> U FT_Outline_Done >>> U FT_Outline_Get_CBox >>> U FT_Outline_New >>> U FT_Outline_Transform >>> U FT_Outline_Translate >>> U FT_Render_Glyph_Internal >>> U FT_Vector_Transform >>> 00000000 t ft_bitmap_glyph_bbox >>> 00000000 R ft_bitmap_glyph_class >>> 00000248 t ft_bitmap_glyph_copy >>> 0000027f t ft_bitmap_glyph_done >>> 0000029b t ft_bitmap_glyph_init >>> U ft_mem_alloc >>> U ft_mem_free >>> 00000374 t ft_new_glyph >>> 000000ff t ft_outline_glyph_bbox >>> 00000020 R ft_outline_glyph_class >>> 0000016a t ft_outline_glyph_copy >>> 0000022c t ft_outline_glyph_done >>> 000001c4 t ft_outline_glyph_init >>> 00000034 t ft_outline_glyph_prepare >>> 0000011c t ft_outline_glyph_transform >>> U memset >>> And also I attach a Makefile. I do an archive from freetype and then >>> link all archives >>> together with some other files. FT_Done_Glyph and FT_Get_Glyph are called >>> from XPDF class SplashFTFont, here is a part from linker output: >>> >>> g++ -m32 -o ... -L./../goo -lGoo -L./../fofi -lFofi >>> -L./../SFFonts/freetype -lFreetype -L./../SFFonts -lSFFonts -L./libs >>> -lpdf -L./../splash -lSplash -L >>> ./libs -lxml -L/usr/lib -L/usr/local/lib -lm -lc >>> ./../splash/libSplash.a(SplashFTFont.o): In function >>> `SplashFTFont::getGlyphPath(int)': >>> SplashFTFont.cpp:(.text+0x84): undefined reference to `FT_Get_Glyph' >>> SplashFTFont.cpp:(.text+0x10a): undefined reference to `FT_Done_Glyph' >>> collect2: ld returned 1 exit status >>> Thank you for your help, >>> Yuliana >>> >>> Am 23.09.2012 00:29, schrieb suzuki toshiya: >>>> Hi, >>>> >>>> Because you've not disclosed the symbol table of ftglyph.o, >>>> nor your Makefile, it is almost impossible to guess what's >>>> going on. Please show them. >>>> >>>> Regards, >>>> mpsuzuki >>>> >>>> Yuliana Zigangirova wrote: >>>>> Dear friends, >>>>> I have updated to Freetype 2.4.10 (my previous version was 2.1.9) >>>>> and can not compile my project on two from my three Unix-machines. >>>>> On AIX (gcc 4.2.4) everything is ok, but the linker on Linux (gcc >>>>> 4.2.1) and Solaris >>>>> (gcc 3.4.6) can not find two methods from "ftglyph.c" >>>>> : undefined reference to `FT_Get_Glyph' >>>>> : undefined reference to `FT_Done_Glyph' >>>>> ftglyph.o object file is compiled and contain both these functions. >>>>> So I am really puzzled, why the linker somehow does not see these >>>>> functions. >>>>> I do not use configure and write Makefile manually. >>>>> "ftglyph" has changed a lot since my previous version, I have added >>>>> ftbitmap >>>>> to my objects to compile. >>>>> I will be very gratefull for any suggestions. >>>>> Thank you very much in advance, >>>>> Yuliana >>>>> >>>>> >>>>> _______________________________________________ >>>>> Freetype-devel mailing list >>>>> Freetype-devel@nongnu.org >>>>> https://lists.nongnu.org/mailman/listinfo/freetype-devel >> >
_______________________________________________ Freetype-devel mailing list Freetype-devel@nongnu.org https://lists.nongnu.org/mailman/listinfo/freetype-devel