I am trying to compile fontconfig-2.4.1 on Solaris 8 (Sparc).
The compilation of fcatomic fails on
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I../src
-I/sw/freetype-2.2.1/include/freetype2 -I/sw/freetype-2.2.1/include
-I/sw/expat.1.95.5/include -Wall -Wpointer-arith -Wstrict-prototypes
-Wmissing-prototypes -Wmissing-declarations -Wnested-externs
-fno-strict-aliasing
-DFC_CACHEDIR\"/sw/fontconfig-2.4.1/var/cache/fontconfig\"
-DFONTCONFIG_PATH\"/sw/fontconfig-2.4.1/etc/fonts\"
-I/sw/libiconv-1.9.2/include -g -O2
-MT fcatomic.lo -MD -MP -MF .deps/fcatomic.Tpo -c fcatomic.c -fPIC
-DPIC -o .libs/fcatomic.o
In file included from fcatomic.c:215:
fcaliastail.h:7:2: #endif without #if
fcaliastail.h:10:2: #endif without #if
fcaliastail.h:13:2: #endif without #if
And fcaliastail.h contains a lot of #endif lines, but no #ifdefs
#if HAVE_GNUC_ATTRIBUTE
#undef FcBlanksCreate
extern __typeof (FcBlanksCreate) FcBlanksCreate
__attribute((alias("IA__FcBlanksCreate"),
visibility("default")));
#endif
#undef FcBlanksDestroy
extern __typeof (FcBlanksDestroy) FcBlanksDestroy
__attribute((alias("IA__FcBlanksDestroy"),
visibility("default")));
#endif
#undef FcBlanksAdd
extern __typeof (FcBlanksAdd) FcBlanksAdd
__attribute((alias("IA__FcBlanksAdd"),
visibility("default")));
#endif
...
...
Can someone help?
Thanks,
Peter