help-make
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: debugging help


From: PATTON, BILLY \(SBCSI\)
Subject: RE: debugging help
Date: Mon, 17 Apr 2006 12:55:00 -0500

Thanks, Paul,
Believe it or not,  I just saw the missing ; when me stupid window
popped up to tell me I had this message from you.

It always help to ask someone else.  It seems to spur you on to get the
job done yourself before someone else responds.  I have been looking for
that bug for almost 1.5 hours.

Thanks again Paul.

> -----Original Message-----
> From: Paul Smith [mailto:address@hidden On Behalf Of Paul D. Smith
> Sent: Monday, April 17, 2006 12:48 PM
> To: PATTON, BILLY (SBCSI)
> Cc: address@hidden
> Subject: Re: debugging help
> 
> 
> %% "PATTON, BILLY \(SBCSI\)" <address@hidden> writes:
> 
>   pb> I am getting an error:
>   pb> sh: Syntax error at line 1 : `then' is not matched.
> 
> That means there's no "fi" matching the "then".
> 
>   pb> make: *** [real_clean+lbf+bfpdlxml+pub+EB.msg] Error 2
> 
>   pb> When I use warning I get :
>   pb> make.clean:120: real_clean+lbf+bfpdlxml+pub+EB.msg :
>   pb>   @echo "deleting real_clean+lbf+bfpdlxml+pub+EB.msg" ; \
>   pb>   if [ EB.msg = extra ] ; then \
>   pb>     cd v0608/SOURCE_TREE/lbf/bfpdlxml ; \
>   pb>   else \
>   pb>     cd v0608/SOURCE_TREE/lbf/bfpdlxml/pub ; \
>   pb>   fi ; \
>   pb>   if [ -f EB.msg ] ; then \
>   pb>     /makefile_test/bin/exec_log -log \
>   pb>      /makefile_test/dev/bp1497/v0608/log.2017123219 \
>   pb>      -proj lbf -bb bfpdlxml /usr/bin/rm \
>   pb>      -f  EB.msg || exit $$? \
>                                 ^^^
> You need a semicolon here.  Right now the next fi:
> 
>   pb>   fi
> 
> is being attached to the previous line so it's:
> 
>     ... -f EB.msg || exit $? fi
> 
> -- 
> --------------------------------------------------------------
> -----------------
>  Paul D. Smith <address@hidden>          Find some GNU make tips at:
>  http://www.gnu.org                      http://make.paulandlesley.org
>  "Please remain calm...I may be mad, but I am a 
> professional." --Mad Scientist
> 




reply via email to

[Prev in Thread] Current Thread [Next in Thread]