Problem while 'make'

This forum is read only. No new submissions are accepted.

Questions about motif? Contact us

3 posts / 0 new
Last post
Problem while 'make'

Submitted by joyssstan on Fri, 04/23/2010 - 09:15.

Hi.

I'm new to linux and openmotif. While trying to install openmotif-2.3.3 onto CentOs, I was stucked in 'make'. Below is the error message I received. Hope you won't mind to give some advice. Thanks.

In file included from /usr/include/X11/Xft/Xft.h:41,
from XmRenderTI.h:46,
from List.c:86:
/usr/include/ft2build.h:56:38: error: freetype/config/ftheader.h: No such file or directory
In file included from XmRenderTI.h:46,
from List.c:86:
/usr/include/X11/Xft/Xft.h:42:10: error: #include expects "FILENAME" or
In file included from XmRenderTI.h:46,
from List.c:86:
/usr/include/X11/Xft/Xft.h:62: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘_XftFTlibrary’
/usr/include/X11/Xft/Xft.h:96: error: expected specifier-qualifier-list before ‘FT_UInt’
/usr/include/X11/Xft/Xft.h:103: error: expected specifier-qualifier-list before ‘FT_UInt’
/usr/include/X11/Xft/Xft.h:200: error: expected ‘;’, ‘,’ or ‘)’ before ‘*’ token
/usr/include/X11/Xft/Xft.h:305: error: expected ‘;’, ‘,’ or ‘)’ before ‘*’ token
/usr/include/X11/Xft/Xft.h:364: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘XftLockFace’
/usr/include/X11/Xft/Xft.h:403: error: expected ‘;’, ‘,’ or ‘)’ before ‘*’ token
/usr/include/X11/Xft/Xft.h:409: error: expected ‘;’, ‘,’ or ‘)’ before ‘*’ token
/usr/include/X11/Xft/Xft.h:418: error: expected declaration specifiers or ‘...’ before ‘FT_UInt’
/usr/include/X11/Xft/Xft.h:419: error: expected declaration specifiers or ‘...’ before ‘FT_UInt’
/usr/include/X11/Xft/Xft.h:428: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘XftCharIndex’
/usr/include/X11/Xft/Xft.h:464: error: expected ‘;’, ‘,’ or ‘)’ before ‘*’ token
List.c: In function ‘DrawItems’:
List.c:2502: warning: passing argument 1 of ‘_XmAssignInsensitiveColor’ from incompatible pointer type
List.c: In function ‘MakeGC’:
List.c:2847: warning: passing argument 1 of ‘_XmAssignInsensitiveColor’ from incompatible pointer type
make[3]: *** [.lo] Error 1
make[3]: Leaving directory `/home/birg/Desktop/openmotif-2.3.3/lib/Xm'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/home/birg/Desktop/openmotif-2.3.3/lib/Xm'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/birg/Desktop/openmotif-2.3.3/lib'
make: *** [all-recursive] Error 1
[birg@birg openmotif-2.3.3]$
/List.o
In file included from /usr/include/X11/Xft/Xft.h:41,
from XmRenderTI.h:46,
from List.c:86:
/usr/include/ft2build.h:56:38: error: freetype/config/ftheader.h: No such file or directory
In file included from XmRenderTI.h:46,
from List.c:86:
/usr/include/X11/Xft/Xft.h:42:10: error: #include expects "FILENAME" or
In file included from XmRenderTI.h:46,
from List.c:86:
/usr/include/X11/Xft/Xft.h:62: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘_XftFTlibrary’
/usr/include/X11/Xft/Xft.h:96: error: expected specifier-qualifier-list before ‘FT_UInt’
/usr/include/X11/Xft/Xft.h:103: error: expected specifier-qualifier-list before ‘FT_UInt’
/usr/include/X11/Xft/Xft.h:200: error: expected ‘;’, ‘,’ or ‘)’ before ‘*’ token
/usr/include/X11/Xft/Xft.h:305: error: expected ‘;’, ‘,’ or ‘)’ before ‘*’ token
/usr/include/X11/Xft/Xft.h:364: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘XftLockFace’
/usr/include/X11/Xft/Xft.h:403: error: expected ‘;’, ‘,’ or ‘)’ before ‘*’ token
/usr/include/X11/Xft/Xft.h:409: error: expected ‘;’, ‘,’ or ‘)’ before ‘*’ token
/usr/include/X11/Xft/Xft.h:418: error: expected declaration specifiers or ‘...’ before ‘FT_UInt’
/usr/include/X11/Xft/Xft.h:419: error: expected declaration specifiers or ‘...’ before ‘FT_UInt’
/usr/include/X11/Xft/Xft.h:428: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘XftCharIndex’
/usr/include/X11/Xft/Xft.h:464: error: expected ‘;’, ‘,’ or ‘)’ before ‘*’ token
List.c: In function ‘DrawItems’:
List.c:2502: warning: passing argument 1 of ‘_XmAssignInsensitiveColor’ from incompatible pointer type
List.c: In function ‘MakeGC’:
List.c:2847: warning: passing argument 1 of ‘_XmAssignInsensitiveColor’ from incompatible pointer type
make[3]: *** [.lo] Error 1
make[3]: Leaving directory `/home/birg/Desktop/openmotif-2.3.3/lib/Xm'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/home/birg/Desktop/openmotif-2.3.3/lib/Xm'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/birg/Desktop/openmotif-2.3.3/lib'
make: *** [all-recursive] Error 1
[birg@birg openmotif-2.3.3]$[/]

[/]

Sun, 04/25/2010 - 16:14#1

Sun, 04/25/2010 - 16:14#1

dpeterc

I also have problems with

I also have problems with compiling programs which use xft, so sometimes I need to use symbolic links, so that include files are found during compilation.
In my case, on OpenSuse 10.3, I need to do:
ln -s /usr/include/freetype2/freetype /usr/include/freetype

but it may be different on your version of Linux.
You need to find out where are freetype include files located, and then what does the compiled program expect, and then make the link.

Hope this helps.

 

Mon, 04/26/2010 - 03:02#2

Mon, 04/26/2010 - 03:02#2

joyssstan

Yup. it works. Thanks.

Yup. it works. Thanks.