Aaron,

Thanks for the help.  The make clean resolved this issue.  I had previously 
downloaded a clean version of blast_hooks.c and the make compiled perfectly.  
As soon as I would edit the file, the make would no longer work.  I even 
commented out the lines of code I entered and the make would still fail.  This 
is just an FYI on the background troubleshooting I had already attempted.

Thanks again,

Ray 


-----Original Message-----
From: [EMAIL PROTECTED] on behalf of Aaron Darling
Sent: Thu 2/23/2006 4:42 PM
To: [email protected]
Subject: Re: [Mpiblast-users] Error when compliing after blast_hooks.c edit
 
it looks like there's a problem in automake's dependency tracking on 
your system.

try a `make clean` then make

or try applying the edits to a clean copy of mpiblast that hasn't been 
configured or compiled yet.

-aaron


Hansen, Raymond A wrote:

> 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
>
>



-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
Mpiblast-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mpiblast-users

<<winmail.dat>>

Reply via email to