Hi,

I am trying to compile ST 0.4 on a OpenBSD 5.2 system, however, these errors appears:

In file included from /usr/X11R6/include/X11/Xlib.h:47,
                 from st.c:23:
/usr/X11R6/include/X11/Xfuncproto.h:135:24: warning: ISO C does not permit named variadic macros
In file included from /usr/X11R6/include/X11/Xft/Xft.h:39,
                 from st.c:27:
/usr/X11R6/include/ft2build.h:56:38: error: freetype/config/ftheader.h: No such file or directory
In file included from st.c:27:
/usr/X11R6/include/X11/Xft/Xft.h:40:10: error: #include expects "FILENAME" or <FILENAME>
In file included from st.c:27:
/usr/X11R6/include/X11/Xft/Xft.h:60: error: expected '=', ',', ';', 'asm' or '__attribute__' before '_XftFTlibrary' /usr/X11R6/include/X11/Xft/Xft.h:94: error: expected specifier-qualifier-list before 'FT_UInt'
/usr/X11R6/include/X11/Xft/Xft.h:97: warning: struct has no members
/usr/X11R6/include/X11/Xft/Xft.h:101: error: expected specifier-qualifier-list before 'FT_UInt' /usr/X11R6/include/X11/Xft/Xft.h:188: warning: type defaults to 'int' in declaration of 'FT_UInt' /usr/X11R6/include/X11/Xft/Xft.h:188: error: expected ';', ',' or ')' before '*' token /usr/X11R6/include/X11/Xft/Xft.h:293: warning: type defaults to 'int' in declaration of 'FT_UInt' /usr/X11R6/include/X11/Xft/Xft.h:293: error: expected ';', ',' or ')' before '*' token /usr/X11R6/include/X11/Xft/Xft.h:352: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'XftLockFace' /usr/X11R6/include/X11/Xft/Xft.h:391: warning: type defaults to 'int' in declaration of 'FT_UInt' /usr/X11R6/include/X11/Xft/Xft.h:391: error: expected ';', ',' or ')' before '*' token /usr/X11R6/include/X11/Xft/Xft.h:397: warning: type defaults to 'int' in declaration of 'FT_UInt' /usr/X11R6/include/X11/Xft/Xft.h:397: error: expected ';', ',' or ')' before '*' token /usr/X11R6/include/X11/Xft/Xft.h:406: error: expected declaration specifiers or '...' before 'FT_UInt' /usr/X11R6/include/X11/Xft/Xft.h:407: error: expected declaration specifiers or '...' before 'FT_UInt' /usr/X11R6/include/X11/Xft/Xft.h:416: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'XftCharIndex' /usr/X11R6/include/X11/Xft/Xft.h:449: warning: type defaults to 'int' in declaration of 'FT_UInt' /usr/X11R6/include/X11/Xft/Xft.h:449: error: expected ';', ',' or ')' before '*' token

Sorry for pasting the output into this mail.

I have verified that ftheader.h is present on the system and that config.mk indeed sets up the correct cflags and libs.

Any pointers?

Regards,

David Lind

Reply via email to