On Sun, 28 Nov 2010 22:21:03 +0530 Sandeep Singh <[email protected]> wrote:
> Hi All, > > I am having problems in compiling SWFTools. > First it was giving error for declaration mismatch for some function in > jpeg.c / jpeg.h file When i fixed tht now its giving following linker error. > > gcc -DHAVE_CONFIG_H swfrender.o -o swfrender ../lib/libgfxswf.a > ../lib/librfxswf.a ../lib/libgfx.a ../lib/libbase.a -L/usr/local/lib -lz > -lm > ../lib/libgfx.a(gfxfont.o): In function `gfxfont_free': > gfxfont.c:(.text+0x7c0): undefined reference to `glyph_clear' > collect2: ld returned 1 exit status > make[1]: *** [swfrender] Error 1 > make[1]: Leaving directory `/swftools-0.9.1/src' > make: *** [all] Error 2 > > Can someone help me out ? Appears like you have some missing libraries? For instance, http://mgarland.org/files/dist/libgfx-1.1.0-doc/build.html What flavour of Linux are you using, exactly? Most have package management system that will allow you to update. HTH. Regards, Chris. -- <[email protected]>
