XBlast Center - 468x60 banner
http://get.to/xblast - http://www.xblast-center.com


 
Help Corner : Compilation FAQ
. . . . . . . . . . Intro
This page lists some questions/problems you might have when trying to compile XBlast.

. . . . . . . . . . Q #0
Q: I have a problem, it does not work !
A: See if your problem is listed below, if it is not try one of the general solutions:
  • Use make clean : make clean; xmkmf; make;

. . . . . . . . . . Q #1
Q: I get some weird error messages concerning "demo.c" and the "make" crashes
A: You can switch to "gcc", which is done by inserting the following into the Imakefile :
      CC = gcc
      CCOPTIONS =

then do the "xmkmf -a" as usual. And then you have to look for "-nostdlib" in all the Makefiles and remove it. Now a simple "make" should be enough to finish the compilation.

Another solution is to edit the file "demo.c" and replace all occurences of "rindex" with "strrchr" (solution from Oliver Vogel). You don't have to change anything else.

. . . . . . . . . . Q #2
Q: when I do 'xmkmf -a', the Makefile are generated, but when it comes to 'make depend', I get the following error: "makedepend: error: out of space: increase MAXFILES"
A: use "xmkmf" and then "make" this solves the problem, but "make install" might not work very well anymore...

. . . . . . . . . . Q #3
Q: I came across the following problem when I've just executed "make":
  [...]
  -lXext -lX11 -lXm -lXt -lsocket -lnsl
  gcc: ../atp/atp_blast_clnt.o: No such file or directory
  gcc: ../atp/atp_blast_xdr.o: No such file or directory
  gcc: ../atp/login.o: No such file or directory
  *** Error code 1
  make: Fatal error: Command failed for target `xblast'

A: gcc can't find the atp*.o files. Try to compile atp first :
  • cd ../atp
  • "Choose a good Makefile"
  • make
If atp doesn't compile, use one of the no-atp Imakefiles you can find in the XBlast directory, or remove the lines with atp in the Imakefile you're using.

. . . . . . . . . . Q #?
Q: question
A: answer