bug-make
[Top][All Lists]
Advanced

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

Re: Bug report


From: Johan Bezem
Subject: Re: Bug report
Date: Fri, 20 Dec 2002 07:10:26 +0100

Hi,

You didn't send the full makefile, since the includes are missing.
Make apparently is considering the line "$(QuellP)/CnGET.h" a command to be
executed, where CnGET.h probably doesn't have execute permissions.
Look for the _exact_ definitions of variables like 'QuellP' and 'StreaP'
(including leading/trailing spaces, tabs, etc!!) Echo them (in delimiters),
and look at the _binary_ output (pipe into a file and take a hex-editor or
sth.)

I cannot place your remark "Please note that the exact copy of this line
works with CnGET.o below!". The line below is never an exact copy. So I have
no clue waht you intend to say there.

I know, that, especially in such a case, it's quite difficult, but if you're
having problems with a specific makefile, try to remove from that makefile
as much as you can to create the smallest possible testcase that still shows
the unexplainable behavior. First of all, you may notice something that
never occurred to you before, possibly resolving your problem yourself,
secondly, it will reduce the time we need to spend scanning for errors.
We are more than willing to help, but the debugging of your makefiles will
remain your work ;-)

Regards,

Johan Bezem
CSK Software AG

"Prof. Dr. Doeringer (FB Informatik)" wrote:
> 
> Hi, I have a problem with one single line in a Make-File that I cannot
> figure out at all. The problem is the same under version 3.77 and
> 3.79.1 under Linux.
> The errro message is as follows:
> 
> make: execvp: ../CnGET.h: Keine Berechtigung
> make: *** [../CnGET.h] Fehler 127
> 
> The version info:
> 
> GNU Make version 3.79.1, by Richard Stallman and Roland McGrath.
> Built for i686-pc-linux-gnu
> Copyright (C) 1988, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 2000
>         Free Software Foundation, Inc.
> Report bugs to <address@hidden>.
> 
> The make-file follows.
> Please look for the PROBLEM description.
> 
> I would be more than happy to provide further information.
> Best regards, W. Döringer
> 
<...>
>                 $(KonstP)/Codes.h             \
>                 $(KonstP)/StatusCodes.h       \
>                 $(ConfiP)/Cconfig.h           \
>                 $(ZeileP)/Csymbol.h           \
>                 $(QuellP)/CnDELETE.h          \
>                 $(QuellP)/CnDELETE.cpp        \
>                 $(MakeP)/XDbgCppProj.Inc      \
>                 $(MakePStd)/C++/XDbgCpp.Inc
> 
>         $(ComPileR) $(CompOpt) $(QuellP)/$*.cpp
> #
> #
> # PROBLEM: The line $(StreaP)/fstreamProj.h
> #          causes the problem. I tried OTHER
> #          filenames and some of them worked!
> #          Please note that the exact copy of
> #          this line works with CnGET.o below!
> $(QuellP)/CnGET.h: \
>                 $(StreaP)/fstreamProj.h       \
>                 $(ZeileP)/CZconnection.h      \
>                 $(ZeileP)/CZcontLength.h      \
>                 $(ZeileP)/CZcontLocation.h    \
>                 $(ZeileP)/CZcontType.h        \
>                 $(ZeileP)/CZdate.h            \
>                 $(ZeileP)/CZhostPort.h        \
>                 $(ZeileP)/CZIfModifiedSince.h \
>                 $(ZeileP)/CZnull.h            \
>                 $(ZeileP)/CZreqLine.h         \
>                 $(ZeileP)/CZrspLine.h         \
>                 $(QuellP)/Cdaten.h            \
>                 $(QuellP)/Cscanner.h
>         $(TouCH) $@
> #
> CnGET.o: \
>                 $(BasisP)/Proj.h              \
>                 $(BasisP)/CLog.h              \
>                 $(BasisP)/cctypeProj.h        \
>                 $(KonstP)/Codes.h             \
>                 $(KonstP)/StatusCodes.h       \
>                 $(ConfiP)/Cconfig.h           \
>                 $(ZeileP)/Csymbol.h           \
>                 $(StreaP)/fstreamProj.h       \
>                 $(QuellP)/CnGET.h             \
>                 $(QuellP)/CnGET.cpp           \
>                 $(MakeP)/XDbgCppProj.Inc      \
>                 $(MakePStd)/C++/XDbgCpp.Inc
>         $(ComPileR) $(CompOpt) $(QuellP)/$*.cpp
<...>



reply via email to

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