Compiling Error

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

Questions about motif? Contact us

Submitted by jflowers on Sun, 08/19/2007 - 18:48.

I am trying to compile Open Motif 2.3 on my ubuntu 7.04 system (using sudo), but during make and make install I always get the following error message:

make[2]: Entering directory `/usr/X11R6/lib/openmotif-2.3.0/config/imake'
make[3]: Entering directory `/usr/X11R6/lib/openmotif-2.3.0/config/imake'
make[3]: Nothing to be done for `install-exec-am'.
make[3]: Nothing to be done for `install-data-am'.
make[3]: Leaving directory `/usr/X11R6/lib/openmotif-2.3.0/config/imake'
make[2]: Leaving directory `/usr/X11R6/lib/openmotif-2.3.0/config/imake'
Making install in makedepend
make[2]: Entering directory `/usr/X11R6/lib/openmotif-2.3.0/config/makedepend'
make[3]: Entering directory `/usr/X11R6/lib/openmotif-2.3.0/config/makedepend'
make[3]: Nothing to be done for `install-exec-am'.
make[3]: Nothing to be done for `install-data-am'.
make[3]: Leaving directory `/usr/X11R6/lib/openmotif-2.3.0/config/makedepend'
make[2]: Leaving directory `/usr/X11R6/lib/openmotif-2.3.0/config/makedepend'
Making install in util
make[2]: Entering directory `/usr/X11R6/lib/openmotif-2.3.0/config/util'
if gcc -DHAVE_CONFIG_H -I. -I. -I../../include -I../../lib/Xm -g -O2 -Wall -g -fno-strict-aliasing -Wno-unused -Wno-comment -fno-tree-ter -MT makestrs.o -MD -MP -MF ".deps/makestrs.Tpo" -c -o makestrs.o makestrs.c; \
then mv -f ".deps/makestrs.Tpo" ".deps/makestrs.Po"; else rm -f ".deps/makestrs.Tpo"; exit 1; fi
makestrs.c:51:21: error: X11/Xos.h: No such file or directory
makestrs.c: In function ‘WriteHeaderProlog’:
makestrs.c:115: warning: implicit declaration of function ‘strcmp’
makestrs.c: In function ‘CopyTmplProlog’:
makestrs.c:228: warning: implicit declaration of function ‘strlen’
makestrs.c:228: warning: incompatible implicit declaration of built-in function ‘strlen’
makestrs.c:231: warning: implicit declaration of function ‘strncmp’
makestrs.c: In function ‘WriteHeader’:
makestrs.c:275: warning: incompatible implicit declaration of built-in function ‘strlen’
makestrs.c:279: warning: incompatible implicit declaration of built-in function ‘strlen’
makestrs.c: In function ‘DoLine’:
makestrs.c:483: warning: incompatible implicit declaration of built-in function ‘strlen’
makestrs.c:513: warning: implicit declaration of function ‘strcpy’
makestrs.c:513: warning: incompatible implicit declaration of built-in function ‘strcpy’
makestrs.c:532: warning: incompatible implicit declaration of built-in function ‘strcpy’
makestrs.c:547: warning: incompatible implicit declaration of built-in function ‘strcpy’
makestrs.c:589: warning: implicit declaration of function ‘index’
makestrs.c:589: warning: incompatible implicit declaration of built-in function ‘index’
makestrs.c:595: warning: implicit declaration of function ‘strcat’
makestrs.c:595: warning: incompatible implicit declaration of built-in function ‘strcat’
makestrs.c: In function ‘IntelABIIndexEntries’:
makestrs.c:631: warning: incompatible implicit declaration of built-in function ‘strlen’
makestrs.c: In function ‘DefaultIndexEntries’:
makestrs.c:646: warning: incompatible implicit declaration of built-in function ‘strlen’
makestrs.c: In function ‘DoComment’:
makestrs.c:676: warning: incompatible implicit declaration of built-in function ‘index’
makestrs.c:681: warning: implicit declaration of function ‘strncpy’
makestrs.c:681: warning: incompatible implicit declaration of built-in function ‘strncpy’
makestrs.c: In function ‘main’:
makestrs.c:736: warning: incompatible implicit declaration of built-in function ‘strlen’
make[2]: *** [makestrs.o] Error 1
make[2]: Leaving directory `/usr/X11R6/lib/openmotif-2.3.0/config/util'
make[1]: *** [install-recursive] Error 1
make[1]: Leaving directory `/usr/X11R6/lib/openmotif-2.3.0/config'
make: *** [install-recursive] Error 1

Any help would be appreciated.

Thanks

Thu, 07/26/2012 - 12:31
#1
5 posts / 0 new
Last post
73
Thu, 07/26/2012 - 12:31
20
Thu, 07/26/2012 - 12:31
15
Thu, 07/26/2012 - 12:31
-22
Thu, 07/26/2012 - 12:31