openMotif make error on Solaris 8

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

Questions about motif? Contact us

1 post / 0 new
openMotif make error on Solaris 8

Submitted by cougers on Sun, 06/13/2004 - 11:46. General Questions
Hi
My gcc version is 3.4.0, and gmake version is 3.7.
Make error occurs like this:

gcc -DHAVE_CONFIG_H -I. -I. -I../../include -I.. -I./.. -DXMBINDDIR_FALLBACK=\"/usr/local/openMotif-2.2.3/lib/X11/bindings\" -DINCDIR=\"/usr/local/openMotif-2.2.3/include/X11\" -DLIBDIR=\"/usr/local/openMotif-2.2.3/lib/X11\" -g -O2 -Wall -Wno-unused -Wno-comment -c FileSB.c -fPIC -DPIC -o .libs/FileSB.lo
In file included from /usr/include/string.h:18,
from /usr/include/X11/Intrinsic.h:65,
from ../Xm/Xm.h:56,
from ../Xm/XmP.h:57,
from ../Xm/XmosP.h:167,
from FileSB.c:52:
/usr/include/iso/string_iso.h:62: error: parse error before '(' token
/usr/include/iso/string_iso.h:62: error: `bcopy' declared as function returning a function
/usr/include/iso/string_iso.h:62: error: conflicting types for 'bcopy'
/usr/include/iso/string_iso.h:62: error: conflicting types for 'bcopy'
/usr/include/iso/string_iso.h:62: error: parse error before "char"
make[2]: *** [FileSB.lo] Error 1
make[2]: Leaving directory `/export/home/nankai/wanghua/openMotif-2.2.3/lib/Xm'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/export/home/nankai/wanghua/openMotif-2.2.3/lib'
make: *** [all-recursive] Error 1

How can I make it work? Thanks a lots!
cougers
6-13 200