I ran into exactly the same set of problems on Solaris 10 with Sun's Studio 11
(C compiler version 5.8) as Christian reported on HP-UX in bug #6110 .
I applied Dom's "alignof-6110" patch (thanks Dom!) that's attached to that bug,
which improved things considerably, but now the issue is that the ALIGN macro in
fcint.h is using __typeof__, which also isn't generally supported beyond gcc.
The Sun compiler outputs this:
cc -DHAVE_CONFIG_H -I. -I. -I.. -I/local/include/freetype2 -I/local/include
-DFONTCONFIG_PATH=\"/etc/local/fonts\" -I.. -I../src
-DPKGCACHEDIR=\"/local/var/cache/fontconfig\" -I/local/include -Xa -xO2
-xstrconst -KPIC -mt -xtarget=native -xarch=amd64 -I/local/include -c
fccharset.c -KPIC -DPIC -o .libs/fccharset.o
"fccharset.c", line 1383: warning: implicit function declaration: __typeof__
"fccharset.c", line 1383: function designator is not of function type
"fccharset.c", line 1387: function designator is not of function type
"fccharset.c", line 1391: function designator is not of function type
"fccharset.c", line 1395: function designator is not of function type
"fccharset.c", line 1407: cannot recover from previous errors
cc: acomp failed for fccharset.c
gmake: *** [fccharset.lo] Error 1
Note that I'm also seeing the other issue that Christian mentioned in bug #
6110, regarding fc-case not listing the fontconfig library as a dependency so
the link fails for fc-case. I can't find any bug that Christian opened
regarding that issue, so I'll open a new one.
This has already been fixed in CVS. -rfc-2_4_branch.
Could you look at the iconv bugs? bug 4083, bug 2774. Thanks! I'd like to fix
them but don't really know how.
Thanks, and I would be happy to take a look at the iconv issues. I don't
currently have GNU iconv installed, but I can get it installed if I need to for