Archived from groups: rec.games.roguelike.nethack (
More info?)
Matt Poxson wrote:
> Philipp Lucas wrote:
>> problem with the DOS-GCC-Makefile: A "touch" command is issued to
>> ../src/makedefs.c , creating an empty file, which is then used for
>
> Something about what you wrote clicked for me, and I relooked in the
> install.dos file, and saw...
> Also be sure to pick up djgpp v2gnu/fil41b.zip to get ls.exe and
> touch.exe, since the Makefile uses them by default
>
> And while I was very sure to download fil41b.zip, I have found that
> I do not have touch.exe or ls.exe on my computer. For some reason
> fil41b.zip did not contain either file. I'm going to try to find out
> if I can find them now, but I have no idea of where to begin
> looking. (As far as I know fil41b.zip had the two exe files just
> with different names)
I believe I found them (that was quick), and tried to run it again and
again with no different result. Below is the exact things that I tried
and the output that was produced:
C:\cygwin\Nethack\nethack-3.4.3\src>make
gcc -c -O -I../include -DDLB -DUSE_TILES -oo/makedefs.o
.../util/makedefs.c
make.exe: *** [o/makedefs.o] Error -1
C:\cygwin\Nethack\NETHAC~1.3\src>make makefile
make.exe: Nothing to be done for `makefile'.
C:\cygwin\Nethack\NETHAC~1.3\src>make -f makefile
gcc -c -O -I../include -DDLB -DUSE_TILES -oo/makedefs.o
.../util/makedefs.c
make.exe: *** [o/makedefs.o] Error -1
C:\cygwin\Nethack\NETHAC~1.3\src>gcc
gcc.exe: no input files
C:\cygwin\Nethack\NETHAC~1.3\src>make -?
c:/djgpp/bin/make.exe: invalid option -- ?
Usage: make.exe [options] [target] ...
Options:
-b, -m Ignored for compatibility.
-C DIRECTORY, --directory=DIRECTORY
Change to DIRECTORY before doing
anything.
-d Print lots of debugging information.
--debug[=FLAGS] Print various types of debugging
information.
-e, --environment-overrides
Environment variables override
makefiles.
-f FILE, --file=FILE, --makefile=FILE
Read FILE as a makefile.
-h, --help Print this message and exit.
-i, --ignore-errors Ignore errors from commands.
-I DIRECTORY, --include-dir=DIRECTORY
Search DIRECTORY for included makefiles.
-j [N], --jobs[=N] Allow N jobs at once; infinite jobs with
no arg.
-k, --keep-going Keep going when some targets can't be
made.
-l [N], --load-average[=N], --max-load[=N]
Don't start multiple jobs unless load is
below N.
-n, --just-print, --dry-run, --recon
Don't actually run any commands; just
print them.
-o FILE, --old-file=FILE, --assume-old=FILE
Consider FILE to be very old and don't
remake it.
-p, --print-data-base Print make's internal database.
-q, --question Run no commands; exit status says if up
to date.
-r, --no-builtin-rules Disable the built-in implicit rules.
-R, --no-builtin-variables Disable the built-in variable settings.
-s, --silent, --quiet Don't echo commands.
-S, --no-keep-going, --stop
Turns off -k.
-t, --touch Touch targets instead of remaking them.
-v, --version Print the version number of make and
exit.
-w, --print-directory Print the current directory.
--no-print-directory Turn off -w, even if it was turned on
implicitly.
-W FILE, --what-if=FILE, --new-file=FILE, --assume-new=FILE
Consider FILE to be infinitely new.
--warn-undefined-variables Warn when an undefined variable is
referenced.
Report bugs to <bug-make@gnu.org>.
C:\cygwin\Nethack\NETHAC~1.3\src>make install
gcc -c -O -I../include -DDLB -DUSE_TILES -oo/makedefs.o
.../util/makedefs.c
make.exe: *** [o/makedefs.o] Error -1
C:\cygwin\Nethack\NETHAC~1.3\src>make -n -f makefile
gcc -c -O -I../include -DDLB -DUSE_TILES -oo/makedefs.o
.../util/makedefs.c
gcc -c -O -I../include -DDLB -DUSE_TILES -oo/monst.o monst.c
gcc -c -O -I../include -DDLB -DUSE_TILES -oo/objects.o objects.c
gcc -o../util/makedefs.exe o/makedefs.o o/monst.o o/objects.o
...\util\makedefs -v
...\util\makedefs -o
...\util\makedefs -p
...\util\makedefs -m
...\util\makedefs -z
chdir ..\util
bison -y -d lev_comp.y
copy y_tab.c lev_yacc.c
copy y_tab.h ..\include\lev_comp.h
del y_tab.c
del y_tab.h
chdir ..\src
gcc -c -O -I../include -DDLB -DUSE_TILES -oo/lev_yacc.o
.../util/lev_yacc.c
chdir ..\util
bison -y -d lev_comp.y
copy y_tab.c lev_yacc.c
copy y_tab.h ..\include\lev_comp.h
del y_tab.c
del y_tab.h
chdir ..\src
chdir ..\util
flex lev_comp.l
if exist ..\util\lev_flex.c del ..\util\lev_flex.c
copy lexyy.c ..\util\lev_flex.c
del lexyy.c
chdir ..\src
gcc -c -O -I../include -DDLB -DUSE_TILES -oo/lev_flex.o
.../util/lev_flex.c
gcc -c -O -I../include -DDLB -DUSE_TILES -oo/lev_main.o
.../util/lev_main.c
gcc -c -O -I../include -DDLB -DUSE_TILES -oo/alloc.o alloc.c
gcc -c -O -I../include -DDLB -DUSE_TILES -oo/panic.o ../util/panic.c
gcc -c -O -I../include -DDLB -DUSE_TILES -I../sys/msdos -oo/drawing.o
drawing.c
gcc -c -O -I../include -DDLB -DUSE_TILES -oo/decl.o decl.c
gcc -c -O -I../include -DDLB -DUSE_TILES -I../sys/msdos -DSTUBVIDEO -oo/stubvid.
o ../sys/msdos/video.c
gcc -o../util/lev_comp.exe o/lev_yacc.o o/lev_flex.o o/lev_main.o
o/alloc.o
o/monst.o o/objects.o o/panic.o o/drawing.o
o/decl.o
o/stubvid.o
gcc -c -O -I../include -DDLB -DUSE_TILES -oo/dgn_yacc.o
.../sys/share/dgn_yacc.c
chdir ..\util
bison -y -d dgn_comp.y
copy y_tab.c dgn_yacc.c
copy y_tab.h ..\include\dgn_comp.h
del y_tab.c
del y_tab.h
chdir ..\src
chdir ..\util
flex dgn_comp.l
if exist ..\util\dgn_flex.c del ..\util\dgn_flex.c
copy lexyy.c ..\util\dgn_flex.c
del lexyy.c
chdir ..\src
gcc -c -O -I../include -DDLB -DUSE_TILES -oo/dgn_flex.o
.../util/dgn_flex.c
gcc -c -O -I../include -DDLB -DUSE_TILES -oo/dgn_main.o
.../util/dgn_main.c
gcc -o../util/dgn_comp.exe o/dgn_yacc.o o/dgn_flex.o o/dgn_main.o
o/alloc.o
o/panic.o
gcc -c -O -I../include -DDLB -DUSE_TILES -I../win/share -I../sys/msdos
-oo/tilem
ap.o ../win/share/tilemap.c
gcc -o../util/tilemap.exe o/tilemap.o
...\util\tilemap.exe
echo A new ../src/tile.c has been created
make.exe: *** No rule to make target `tile.c', needed by `o/tile.o'.
Stop.
C:\cygwin\Nethack\NETHAC~1.3\src>
So this tells me that something is going wrong with tile.c, but I have
no idea what.
--
~ Matthew M Poxson ~
54440 Rodrick-Cav-Dwa-Fem-Law died in The Dungeons of Doom on level
10. Killed by a forest centaur, while helpless. - [95]