🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: net.games
Article #2475

Troubles in 'make'ing Hack 1.0.3

#2475
From: Joseph Judge
Date: Fri, 09 May 1986 15:29
28 lines
1565 bytes
	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
Technical Details
Message-ID: <249@oucs.UUCP>
Path: arc1-ca.pugleaf.net!utzoo!linus!philabs!cmcl2!seismo!lll-crg!lll-lcc!qantel!ihnp4!cbosgd!oucs!joe

Show Full Headers
Complete Article Headers
Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP
Path: arc1-ca.pugleaf.net!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