[comp.sources.games.bugs] Problems compiling new nethack on 3b1

kak@hico2.UUCP (Kris A. Kugel) (02/27/91)

I followed the instructions for the 3b1,
defining SYSV and UNIXPC, and STUPID_CPP.
I still had problems, looks like the cpp blowing up on unixmain.c
The only thing I did which was non-standard was
that I used a version of makedefs from the previous release.
Could this be the cause of my problems?
Has anybody else seen a problem like this?

Output lines from the make follow:
( cd src ; make )
cc -O -I../include -c makedefs.c
cc -O -I../include -c monst.c
cc -O -I../include -c objects.c
cc  -o makedefs makedefs.o monst.o objects.o
./makedefs -p
touch ../include/youprop.h
touch ../include/you.h
./makedefs -o
touch ../include/decl.h
./makedefs -t
touch ../include/hack.h
cc -O -I../include -c allmain.c
.
.
.
cc -O -I../include -c mail.c
cc -O -I../include -c unixmain.c
/usr/include/fcntl.h: 40: too much defining
/usr/include/fcntl.h: 41: too much defining
/usr/include/fcntl.h: 42: too much defining
*** Error code 1

Stop.
*** Error code 1

Stop.