Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!linus!philabs!cmcl2!seismo!lll-crg!lll-lcc!qantel!ihnp4!cbosgd!oucs!joe From: joe@oucs.UUCP (Joseph Judge) Newsgroups: net.games,net.sources.d,net.games.hack Subject: Troubles in 'make'ing Hack 1.0.3 Message-ID: <249@oucs.UUCP> Date: Fri, 9-May-86 11:29:25 EDT Article-I.D.: oucs.249 Posted: Fri May 9 11:29:25 1986 Date-Received: Fri, 16-May-86 05:32:58 EDT Distribution: net Organization: Ohio University, Athens Lines: 28 Xref: linus net.games:2361 net.sources.d:194 net.games.hack:1687 I have been having a h*ll of a time trying to get this program to compile. Everything works fine until ... When it gets to cc'ing hack.o_init.c (which has an include for def.objects.h) it blows up!!!! The lines it has trouble on are the ones with NULL in them. It seems that there is a stuct'ure being initialized (defined in def.objclass.h called obj[] or something). The first 3 fields of this struct'ure are char *pointers (declared like: char *oc_descr) In the initialization (where it blows) The first is given a string (like : "Object Name") and the next two are NULL's) I tried everything!!! I #defined NULL from "this is a test" to "\0" to (char *)0 to ((char *) 0) to "" to '' to '\0', etc I am totally sure that it is blowing on the NULL because there are 2 error messages on each of the lines that have 2 NULL's HELP!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! Any Hack guru's that have any ideas??? HELP This is driving me nuts! cc -O -c hac.o_init.c def.objects.h/:11: no field initialization