Hi,<br><br>While trying to compile fontconfig 2.5.92 on AIX 52 I am getting following errors after replacing FcChar16 with FcChar32 in the declaration of struct _FcCaseFold in src/fcint.h.<br><br>sh ../src/makealias "../src" fcalias.h fcaliastail.h ../fontconfig/fontconfig.h ../src/fcdeprecate.h ../fontconfig/fcprivate.h<br>
gmake all-am<br>gmake[1]: Entering directory `/home/guest/fontconfig/fontconfig-2.5.92/src'<br>source='fcatomic.c' object='fcatomic.lo' libtool=yes \<br>DEPDIR=.deps depmode=aix /opt/freeware/bin/bash ../depcomp \<br>
/usr/vac/bin/xlc_r -DHAVE_INTTYPES_H -c -o fcatomic.lo fcatomic.c<br>"fcdeprecate.h", line 30.1: 1506-485 (S) Parameter declaration list is incompatible with declarator for FcPublic.<br>"fcdeprecate.h", line 33.1: 1506-276 (S) Syntax error: possible missing '{'?<br>
"fcint.h", line 126.5: 1506-045 (S) Undeclared identifier FcValueBindingWeak.<br>"fcint.h", line 126.47: 1506-045 (S) Undeclared identifier FcValueBindingSame.<br>"fcint.h", line 127.1: 1506-277 (S) Syntax error: possible missing ';' or ','?<br>
"fcint.h", line 127.3: 1506-273 (E) Missing type in declaration of FcValueBinding.<br>"fcint.h", line 180.5: 1506-046 (S) Syntax error.<br>"fcint.h", line 270.5: 1506-046 (S) Syntax error.<br>
"fcint.h", line 504.11: 1506-166 (S) Definition of function FcCache requires parentheses.<br>"fcint.h", line 504.19: 1506-276 (S) Syntax error: possible missing '{'?<br>"/usr/include/sys/flock.h", line 67.2: 1506-137 (E) Declaration must declare at least one declarator, tag, or the members of an enumeration.<br>
gmake[1]: *** [fcatomic.lo] Error 1<br>gmake[1]: Leaving directory `/home/guest/fontconfig/fontconfig-2.5.92/src'<br>gmake: *** [all] Error 2<br><br>Can someone please help in identifying the root cause?<br clear="all">
<br>-- <br>Regards,<br><br>Ashish