error while compileing - please help !

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

Questions about motif? Contact us

2 posts / 0 new
Last post
error while compileing - please help !

Submitted by Anonymous on Wed, 05/08/2002 - 12:04. General Questions
I get the following error while "make world &> world.log".
Any help out there ? thank you !

uname -a shows
Linux linuxgigaxa 2.4.17-timer #1 SMP Sat Apr 20 044122 GMT 2002 s390x unknown
Linux Distrebution is
SuSE Linux Developer`s Ed. (s390x)
VERSION = 7.2

world.log shows
Building Release 2.1.30 of Motif

I hope you checked the configuration parameters in ./config/cf
to see if you need to pass BOOTSTRAPCFLAGS.

Wed May 8 131410 CEST 2002

cd ./config/imake && make -f Makefile.ini BOOTSTRAPCFLAGS="" clean
make[1] Entering directory `/root/src/openmotif/motif/config/imake`
rm -f ccimake imake.o imake
rm -f *.CKP *.ln *.BAK *.bak *.o core errs ,* *~ *.a tags TAGS make.log #*
rm -f -r Makefile.proto Makefile Makefile.dep bootstrap
make[1] Leaving directory `/root/src/openmotif/motif/config/imake`
make Makefile.boot
make[1] Entering directory `/root/src/openmotif/motif`
cd ./config/imake && make -w -f Makefile.ini BOOTSTRAPCFLAGS=""
make[2] Entering directory `/root/src/openmotif/motif/config/imake`
making imake with BOOTSTRAPCFLAGS= in config/imake
cc -o ccimake -O -I../../include -I../../imports/x11/include/X11 ccimake.c
cc -c -O -I../../include -I../../imports/x11/include/X11 `./ccimake` imake.c
imake.c In function `LogFatalI`
imake.c607 warning cast to pointer from integer of different size
imake.c In function `get_ld_version`
imake.c1003 warning comparison is always true due to limited range of data type
cc -o imake imake.o
imake.o In function `get_libc_version`
imake.o(.text+0x131e) the use of `tmpnam` is dangerous, better use `mkstemp`
imake.o In function `main`
imake.o(.text+0xa2) the use of `mktemp` is dangerous, better use `mkstemp`
make[2] Leaving directory `/root/src/openmotif/motif/config/imake`
rm -f ./config/makedepend/Makefile.proto
./config/imake/imake -I./config/cf -s ./config/makedepend/Makefile.proto -f ./config/makedepend/Imakefile -DTOPDIR=../.. -DCURDIR=./config/makedepend
Imakefile.c24 Imake.tmpl No such file or directory
./config/imake/imake Exit code 1.
Stop.
make[1] *** [config/makedepend/Makefile.proto] Error 1
make[1] Leaving directory `/root/src/openmotif/motif`
make *** [World] Error 2

Tank you !

Anonymous

Hi milo,

First, which openmotif are you compiling? 2.1.30? 2.2 compiles much easier it uses autoconfig.

Also did you search the forum for install problems? There are many questions and answers that are similar to and maybe even the same as yours.

The output looks like the failure occured while making the makefile. Did you hack the makefile or Imakefile? If I remember correctly, Linux(suse) on an intel machine doesn`t require hacks.

The failure occured at the import of X11 config files. Did you symbolic link the directories correctly? Are the headers being imported actually there (ie, /usr/X11R6/lib/X11/config/linux.cf).

Also - re-check RELNOTES and insure you did what it says perfectly especially that you export the shell variables.

If I remember correctly, you don`t need any BOOTSTRAP flags and that isn`t your problem.

Anyway, try OpenMotif 2.2 - I think you`ll like it.

John Hendrickson