Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!uunet!seismo!mcvax!cernvax!ethz!srp From: srp@ethz.UUCP (Scott Presnell) Newsgroups: comp.sources.d Subject: Nethack and Microsoft C 4.0 Message-ID: <165@bernina.UUCP> Date: Tue, 4-Aug-87 02:21:24 EDT Article-I.D.: bernina.165 Posted: Tue Aug 4 02:21:24 1987 Date-Received: Sat, 8-Aug-87 08:56:22 EDT Organization: Chem. Dept., Swiss Federal Inst. of Tech. (ETH-Zurich) Lines: 44 Keywords: Bummer, segment size, link, huh? Hello, I've got a problem compiling and linking nethack under MSC 4.0 on a stock AT (all hack options defined). Take a gander... >Microsoft (R) Overlay Linker Version 3.51 >Copyright (C) Microsoft Corp 1983, 1984, 1985, 1986. All rights reserved. > >Object Modules [.OBJ]: DECL.OBJ APPLY.OBJ BONES.OBJ CMD.OBJ DO.OBJ + >Object Modules [.OBJ]: DO_NAME.OBJ DO_WEAR.OBJ DOG.OBJ DOGMOVE.OBJ + >Object Modules [.OBJ]: EAT.OBJ END.OBJ ENGRAVE.OBJ FIGHT.OBJ + >Object Modules [.OBJ]: FOUNTAIN.OBJ HACK.OBJ INVENT.OBJ LEV.OBJ MAIN.OBJ + >Object Modules [.OBJ]: MAKEMON.OBJ MHITU.OBJ MKLEV.OBJ MKMAZE.OBJ + >Object Modules [.OBJ]: MKOBJ.OBJ MKSHOP.OBJ MON.OBJ MONMOVE.OBJ + >Object Modules [.OBJ]: MONST.OBJ O_INIT.OBJ OBJNAM.OBJ OPTIONS.OBJ + >Object Modules [.OBJ]: PAGER.OBJ POLYSELF.OBJ POTION.OBJ PRAY.OBJ + >Object Modules [.OBJ]: PRI.OBJ PRISYM.OBJ READ.OBJ RIP.OBJ RUMORS.OBJ + >Object Modules [.OBJ]: SAVE.OBJ SEARCH.OBJ SHK.OBJ SHKNAM.OBJ SIT.OBJ + >Object Modules [.OBJ]: SPELL.OBJ STEAL.OBJ TERMCAP.OBJ TIMEOUT.OBJ + >Object Modules [.OBJ]: TOPL.OBJ TOPTEN.OBJ TRACK.OBJ TRAP.OBJ TTY.OBJ + >Object Modules [.OBJ]: UNIX.OBJ U_INIT.OBJ VAULT.OBJ WIELD.OBJ + >Object Modules [.OBJ]: WIZARD.OBJ WORM.OBJ WORN.OBJ WRITE.OBJ ZAP.OBJ + >Object Modules [.OBJ]: VERSION.OBJ RND.OBJ ALLOC.OBJ MSDOS.OBJ >Run File [DECL.EXE]: HACK.EXE /NOIG /STACK:6000; >Segment size exceeds 64K >Input File: MSDOS.OBJ(msdos.c) pos: 9A Record type: 98 >*** Error code 149 I'm not sure I understand the meaning of that error in the context of a large model program. I am certain that all modules were compiled with the large model option switch. I'm bummed :-(. Anyone got any clues? Also there is apparently some bug in makedefs which trashes the first two lines in onames.h so that I must add back in the lines defining the AMULET_OF_YENDOR and a STRANGE_OBJECT. Other than a few small other errors the rest compiles ok, it's just the linking problem. Regards, Scott Presnell Organic Chemistry Swiss Federal Institute of Technology (ETH-Zentrum) CH-8092 Zurich, Switzerland. uucp:seismo!mcvax!cernvax!ethz!srp (srp@ethz.uucp); bitnet:Benner@CZHETH5A