Title: Error when compliing after blast_hooks.c edit

All,

I am trying to recompile mpiblast after I made a minor change to the blast_hooks.c file.  The edit was to simply add a timestamp as the very first line of output in the mpiBlastPrintReference() function for the output file being specified by the -o parameter at runtime.  I have already run the configure script with the following parameters as:

[EMAIL PROTECTED] mpiblast-1.40]#./configure --with-ncbi=/home/mpiblast/ncbi --prefix=/home/mpiblast

I added 4 lines of code and 2 lines of comments to blast_hooks.c and then saved it.  It then attempted to recompile and get the following:

[EMAIL PROTECTED] mpiblast-1.40]#make
Making all in src
make[1]: Entering directory `/home/mpiblast/mpiblast-1.4.0/src'
make  all-am
make[2]: Entering directory `/home/mpiblast/mpiblast-1.4.0/src'
if mpicc -DHAVE_CONFIG_H -I. -I. -I. -I../include/ -I/home/mpiblast/ncbi/include/  -DUSING_MPI  -DINSTALL_PREFIX="\"/home/mpiblast\""  -g -O2 -MT mpiblast-blast_hooks.o -MD -MP -MF ".deps/mpiblast-blast_hooks.Tpo" -c -o mpiblast-blast_hooks.o `test -f 'blast_hooks.c' || echo './'`blast_hooks.c; \
then mv -f ".deps/mpiblast-blast_hooks.Tpo" ".deps/mpiblast-blast_hooks.Po"; else rm -f ".deps/mpiblast-blast_hooks.Tpo"; exit 1; fi
cc1: you must additionally specify either -M or -MM
make[2]: *** [mpiblast-blast_hooks.o] Error 1
make[2]: Leaving directory `/home/mpiblast/mpiblast-1.4.0/src'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/home/mpiblast/mpiblast-1.4.0/src'
make: *** [all-recursive] Error 1

After having spent an hour or so testing various things, it appears that any edit to the blast_hooks.c file will throw this error.  Is there any way around this?  I would like to be able to identify how much time is being spend writing the output file vs the overall time for execution and I figured that simply adding a line of output stating the time would be the simplest way.

Any help would be appreciated.  I thank you in advance for your assistance.

Ray


Reply via email to