delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2003/08/08/07:47:34

From: Monika Hendricks <monika DOT hendricks AT t-online DOT de>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: [grx245]installation problems
Date: 8 Aug 2003 11:42:15 GMT
Lines: 122
Message-ID: <bh08hr.3v0.1@monikahendricks.fqdn.th-h.de>
References: <bgtk9r DOT 2a0 DOT 1 AT monikahendricks DOT fqdn DOT th-h DOT de> <bgtmmg$55e$1 AT nets3 DOT rz DOT RWTH-Aachen DOT DE> <bgu10c DOT 3dg DOT 1 AT monikahendricks DOT fqdn DOT th-h DOT de> <bgtqdu$bl3$1 AT nets3 DOT rz DOT RWTH-Aachen DOT DE> <bgu2p7 DOT 3dg DOT 1 AT monikahendricks DOT fqdn DOT th-h DOT de> <7263-Fri08Aug2003101530+0300-eliz AT elta DOT co DOT il>
NNTP-Posting-Host: p3e9ba34b.dip.t-dialin.net (62.155.163.75)
Mime-Version: 1.0
X-Trace: news.uni-berlin.de 1060342935 30909469 62.155.163.75 (16 [201915])
User-Agent: Xnews/5.04.25 Hamster/2.0.0.1
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

> Anyway, the problem seems to be that a line that is supposed to
> delete *.o files fails, right? 

I'm not sure. I would be happy if *.o files would be created.

> Does it help to use the -k switch when you invoke Make?  

C:\DJGPP\contrib\grx245>make -k -f makefile.dj2
c:/djgpp/bin/make.exe -C src -f makefile.dj2
make.exe[1]: Entering directory `c:/DJGPP/contrib/grx245/src'
c:/djgpp/bin/make.exe -f makefile.dj2 clean
make.exe[2]: Entering directory `c:/DJGPP/contrib/grx245/src'
if exist bgi\*.o      del bgi\*.o
make.exe[2]: *** [clean] Error -1
make.exe[2]: Leaving directory `c:/DJGPP/contrib/grx245/src'
make.exe[1]: *** [systag.004] Error 2
make.exe[1]: Target `all' not remade because of errors.
make.exe[1]: Leaving directory `c:/DJGPP/contrib/grx245/src'
make.exe: *** [libs] Error 2
make.exe: Target `all' not remade because of errors.

> Does it help to prepend a `-' character to
> the offending line in the Makefile?

I put a `-' in front of "clean :" in makefile.dj2 and in 
/src/makefile.dj2 (the first rule here deals with this "if exist del 
bgi\*.o") with the following result:

C:\DJGPP\contrib\grx245>make -f makefile.dj2
c:/djgpp/bin/make.exe -C src -f makefile.dj2
make.exe[1]: Entering directory `c:/DJGPP/contrib/grx245/src'
c:/djgpp/bin/make.exe -f makefile.dj2 clean
make.exe[2]: Entering directory `c:/DJGPP/contrib/grx245/src'
make.exe[2]: Nothing to be done for `clean'.
make.exe[2]: Leaving directory `c:/DJGPP/contrib/grx245/src'
if not exist systag.004 del systag.*
make.exe[1]: *** [systag.004] Error -1
make.exe[1]: Leaving directory `c:/DJGPP/contrib/grx245/src'
make.exe: *** [libs] Error 2

I have tried then also to call make with `-d'. For every include file 
and the makefile.dj2s he searches a lot of implicit rules for 
implicit prerequisites. He does the same for target all which was not 
`.phony'.
I put it to phony targets and the implicit rule search for target all 
stopped. He seems to follow the correct way through the files for his 
first run. Then he should really build the targets and fails. 
In /src/makefile.dj2 he tries to make all:

Updating goal targets....
Considering target file `all'.
 File `all' does not exist.
  Considering target file `../lib/dj2/libgrx20.a'.
   File `../lib/dj2/libgrx20.a' does not exist.

# Now i think he should make it. But:

    Considering target file `systag.004'.
     File `systag.004' does not exist.
     Finished prerequisites of target file `systag.004'.
    Must remake target `systag.004'.

# ok. then make first this. But:

make.exe[1]: Entering directory `c:/DJGPP/contrib/grx245/src'

# ?? i still am in src-directory ??

c:/djgpp/bin/make.exe -f makefile.dj2 clean

# ?? why only clean, please make me something useful ??

GNU Make version 3.79.1, by Richard Stallman and Roland McGrath.
Built for i386-pc-msdosdjgpp
Copyright (C) 1988, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 2000
        Free Software Foundation, Inc.
This is free software; see the source for copying conditions.
There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE.

Report bugs to <bug-make AT gnu DOT org>.

Reading makefiles...
Reading makefile `makefile.dj2'...
Reading makefile `../makedefs.grx' (search path) (no ~ expansion)...
Reading makefile `stdobjs.mak' (search path) (no ~ expansion)...
Reading makefile `depend.dj2' (search path) (no ~ expansion)...
Updating makefiles....
 Considering target file `depend.dj2'.
  Looking for an implicit rule for `depend.dj2'.

... (lots of implicit rule search)

 No need to remake target `makefile.dj2'.
Updating goal targets....
Considering target file `clean'.
 File `clean' does not exist.
 Finished prerequisites of target file `clean'.
Must remake target `clean'.
Successfully remade target file `clean'.
make.exe[2]: Entering directory `c:/DJGPP/contrib/grx245/src'
make.exe[2]: Nothing to be done for `clean'.
make.exe[2]: Leaving directory `c:/DJGPP/contrib/grx245/src'
Putting child 0x000d9510 (systag.004) PID 123 on the chain.
Live child 0x000d9510 (systag.004) PID 123
Reaping winning child 0x000d9510 PID 123
if not exist systag.004 del systag.*
Live child 0x000d9510 (systag.004) PID 124
Reaping losing child 0x000d9510 PID 124
Removing child 0x000d9510 PID 124  from chain.
make.exe[1]: Leaving directory `c:/DJGPP/contrib/grx245/src'
Putting child 0x000ccc10 (libs) PID 123 on the chain.
Live child 0x000ccc10 (libs) PID 123
Reaping losing child 0x000ccc10 PID 123
Removing child 0x000ccc10 PID 123  from chain.

That's it.

Some additional information:

I donot posess till the moment any linux shells so no 
confusion with bash is possible.

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019