Following is the log from make command: gcc -c -DHAVE_CONFIG_H -I/usr/include/freetype2 -I/usr/include/fontconfig -Ila me -fPIC -Wparentheses -Wimplicit -Wreturn-type -O -fomit-frame-pointer modules /swftext.c -o modules/swftext.obj modules/swftext.c:1: warning: -fPIC ignored for target (all code is position ind ependent) modules/swftext.c: In function `swf_ReadFont': modules/swftext.c:1331: error: `O_BINARY' undeclared (first use in this function ) modules/swftext.c:1331: error: (Each undeclared identifier is reported only once
modules/swftext.c:1331: error: for each function it appears in.) modules/swftext.c: In function `swf_WriteFont': modules/swftext.c:1504: error: `O_BINARY' undeclared (first use in this function ) make[1]: *** [modules/swftext.obj] Error 1 make[1]: Leaving directory `/cygdrive/e/swftools_CVS/swftools/lib' make: *** [all] Error 2 swftext.c includes rfxswf.h which in turn includes fcntl.h which includes sys/fcntl.h and this file contains O_BINARY symbol. So do I need to add some more flags to gcc for successful compilation. Thanks! -- Best Regards, Bhupendra.
