Re: Mob Porgrams and redefinition

From: Chris Anderson (chrisa@cujo.icom.ca)
Date: 06/02/96


>On Sun, 2 Jun 1996, Che Lucero wrote:
>
>> So i patched in  mobprog-3.00pb8.tar and did the patch... sorry that was 
a bad sentance.. its kinda late
>> and i went in and changed the c files so that at the top it includes 
conf.h and sysdep.h and it give me a SLEW
>> of errors like you woulnd't belive of defintions... here i'll give you a 
FRACTION of what i get
>
>> /usr/local/lib/gcc-lib/sparc-sun-sunos4.1.1/2.5.8/include/stdlib.h:39: 
conflicting types for `qsort'
>> sysdep.h:276: previous declaration of `qsort'
>
>	Remove the definition of qsort from line 276 of sysdep.h
>
>> [big old snip]
>
>	Ehm?  Are you including a C file or are you including structs.h
>twice?  That seems to be the cause of the rest of the errors.
>

Well the patch comes with mobprg.c and mobcmd.c and the patch file appends 
one of them to the end of the file. Therefore, you go about redefining 
everything...

                                                                        
Zippy the Wonderslug
WWW: http://www.icom.ca/~chrisa/mud.html



This archive was generated by hypermail 2b30 : 12/18/00 PST