|
|

楼主 |
发表于 2006-12-14 19:10:14
|
显示全部楼层
这是安装openmotif 时出的错误,请高手指点!
[root@abc openmotif-2.3.0]# make
Making all in bindings
make[1]: Entering directory `/root/Desktop/open/openmotif-2.3.0/bindings'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/root/Desktop/open/openmotif-2.3.0/bindings'
Making all in bitmaps
make[1]: Entering directory `/root/Desktop/open/openmotif-2.3.0/bitmaps'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/root/Desktop/open/openmotif-2.3.0/bitmaps'
Making all in config
make[1]: Entering directory `/root/Desktop/open/openmotif-2.3.0/config'
Making all in cf
make[2]: Entering directory `/root/Desktop/open/openmotif-2.3.0/config/cf'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/root/Desktop/open/openmotif-2.3.0/config/cf'
Making all in imake
make[2]: Entering directory `/root/Desktop/open/openmotif-2.3.0/config/imake'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/root/Desktop/open/openmotif-2.3.0/config/imake'
Making all in makedepend
make[2]: Entering directory `/root/Desktop/open/openmotif-2.3.0/config/makedepend'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/root/Desktop/open/openmotif-2.3.0/config/makedepend'
Making all in util
make[2]: Entering directory `/root/Desktop/open/openmotif-2.3.0/config/util'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/root/Desktop/open/openmotif-2.3.0/config/util'
make[2]: Entering directory `/root/Desktop/open/openmotif-2.3.0/config'
make[2]: Nothing to be done for `all-am'.
make[2]: Leaving directory `/root/Desktop/open/openmotif-2.3.0/config'
make[1]: Leaving directory `/root/Desktop/open/openmotif-2.3.0/config'
Making all in localized
make[1]: Entering directory `/root/Desktop/open/openmotif-2.3.0/localized'
Making all in util
make[2]: Entering directory `/root/Desktop/open/openmotif-2.3.0/localized/util'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/root/Desktop/open/openmotif-2.3.0/localized/util'
make[2]: Entering directory `/root/Desktop/open/openmotif-2.3.0/localized'
make[2]: Nothing to be done for `all-am'.
make[2]: Leaving directory `/root/Desktop/open/openmotif-2.3.0/localized'
make[1]: Leaving directory `/root/Desktop/open/openmotif-2.3.0/localized'
Making all in lib
make[1]: Entering directory `/root/Desktop/open/openmotif-2.3.0/lib'
Making all in Xm
make[2]: Entering directory `/root/Desktop/open/openmotif-2.3.0/lib/Xm'
test -f xmstring.list || ln -s ./xmstring.list xmstring.list
test -f XmStrDefs.ht || ln -s ./XmStrDefs.ht XmStrDefs.ht
test -f XmStrDefs22.ht || ln -s ./XmStrDefs22.ht XmStrDefs22.ht
test -f XmStrDefs23.ht || ln -s ./XmStrDefs23.ht XmStrDefs23.ht
test -f XmStrDefsI.ht || ln -s ./XmStrDefsI.ht XmStrDefsI.ht
test -f XmStrDefs.ct || ln -s ./XmStrDefs.ct XmStrDefs.ct
../../config/util/makestrs -f xmstring.list >XmStrDefs.c
make all-am
make[3]: Entering directory `/root/Desktop/open/openmotif-2.3.0/lib/Xm'
if /bin/sh ../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../../include -I. -I.. -I./.. -DXMBINDDIR_FALLBACK=\"/usr/X11R6/lib/X11/bindings\" -DINCDIR=\"/usr/X11R6/include/X11\" -DLIBDIR=\"/usr/X11R6/lib/X11\" -g -O2 -Wall -g -fno-strict-aliasing -Wno-unused -Wno-comment -MT XmStrDefs.lo -MD -MP -MF ".deps/XmStrDefs.Tpo" -c -o XmStrDefs.lo XmStrDefs.c; \
then mv -f ".deps/XmStrDefs.Tpo" ".deps/XmStrDefs.Plo"; else rm -f ".deps/XmStrDefs.Tpo"; exit 1; fi
gcc -DHAVE_CONFIG_H -I. -I. -I../../include -I. -I.. -I./.. -DXMBINDDIR_FALLBACK=\"/usr/X11R6/lib/X11/bindings\" -DINCDIR=\"/usr/X11R6/include/X11\" -DLIBDIR=\"/usr/X11R6/lib/X11\" -g -O2 -Wall -g -fno-strict-aliasing -Wno-unused -Wno-comment -MT XmStrDefs.lo -MD -MP -MF .deps/XmStrDefs.Tpo -c XmStrDefs.c -fPIC -DPIC -o .libs/XmStrDefs.o
In file included from XmStrDefs.c:10:
../Xm/Xm.h:76:34: error: X11/extensions/Print.h: No such file or directory
In file included from XmStrDefs.c:10:
../Xm/Xm.h:858: error: expected specifier-qualifier-list before 'XPContext'
make[3]: *** [XmStrDefs.lo] 错误 1
make[3]: Leaving directory `/root/Desktop/open/openmotif-2.3.0/lib/Xm'
make[2]: *** [all] 错误 2
make[2]: Leaving directory `/root/Desktop/open/openmotif-2.3.0/lib/Xm'
make[1]: *** [all-recursive] 错误 1
make[1]: Leaving directory `/root/Desktop/open/openmotif-2.3.0/lib'
make: *** [all-recursive] 错误 1 |
|