Re: [Code] seriousproblems

From: Elvis Mohan (elvis@hal9000.trinidad.net)
Date: 02/21/97


Hi,

	Edit the arena.c file and remove any lines looking
like :

#include <.....>

	These are already #include-d in the existing header files.

Regards,
Elvis

On Wed, 21 Feb 1996, Will Shaw wrote:

> Following this text is the onslaught of error messages I receive when
> attempting to compile the arena code (arena-code.tar.gz) available on the
> FTP site.  There's no way the header files are wrong, as they are used in
> virtually every other source file...as for the arena.c file, the
> functions in question are definitley there...the entry in the makefile
> looks sound as well. 
> 
> Any ideas on what could be the problem?
> 
> 
> Thanks in advance.
> 
> 
> > make all
> 
> make ../bin/circle
> 
> gcc -c -g -O   arena.c
> 
> In file included from arena.c:19:
> 
> structs.h:1025: syntax error before `socket_t'
> 
> In file included from arena.c:20:
> 
> utils.h:34: syntax error before `*'
> 
> In file included from arena.c:21:
> 
> comm.h:33: syntax error before `desc'
> 
> In file included from arena.c:26:
> 
> db.h:62: syntax error before `*'
> 
> arena.c:44: syntax error before `*'
> 
> arena.c:44: warning: data definition has no type or storage class
> 
> arena.c:102: syntax error before `*'
> 
> arena.c: In function `load_hall_of_fame':
> 
> arena.c:636: `FILE' undeclared (first use this function)
> 
> arena.c:636: (Each undeclared identifier is reported only once
> 
> arena.c:636: for each function it appears in.)
> 
> arena.c:636: `fl' undeclared (first use this function)
> 
> arena.c:637: syntax error before `int'
> 
> arena.c:647: `name' undeclared (first use this function)
> 
> arena.c:647: `date' undeclared (first use this function)
> 
> arena.c:647: `award' undeclared (first use this function)
> 
> arena.c:648: `next_node' undeclared (first use this function)
> 
> arena.c: In function `write_fame_list':
> 
> arena.c:663: `FILE' undeclared (first use this function)
> 
> arena.c:663: `fl' undeclared (first use this function)
> 
> arena.c: At top level:
> 
> arena.c:675: syntax error before `*'
> 
> arena.c: In function `write_one_fame_node':
> 
> arena.c:677: `node' undeclared (first use this function)
> 
> arena.c:678: `fp' undeclared (first use this function)
> 
> *** Error code 1
> 
> 
> Stop.
> 
> *** Error code 1
> 
> 
> Stop.
> +-----------------------------------------------------------+
> | Ensure that you have read the CircleMUD Mailing List FAQ: |
> |   http://cspo.queensu.ca/~fletcher/Circle/list_faq.html   |
> |    Or send 'info circle' to majordomo@cspo.queensu.ca     |
> +-----------------------------------------------------------+
> 

-------------->I came, I saw, I deleted his source code.<----------------

==========================================================================

        .---.        .-----------  || Elvis Mohan,
       /     \  __  /    ------    || Internet Development Engineer,
      / /     \(  `-,   -----      || InterServ Ltd.
     //////    '~ (    ---         || Phone: (809) 637-6862
    //// / // :    ; ---           || Fax: (809) 637-8267
   // /   /  /)   / --             || E-Mail: emohan@trinidad.net
  /          //..\\      
============UU====UU========================================================
            '//||\\`     They will soar on wings as eagles...            
                                                (Isaiah 40:31)

+-----------------------------------------------------------+
| Ensure that you have read the CircleMUD Mailing List FAQ: |
|   http://cspo.queensu.ca/~fletcher/Circle/list_faq.html   |
|    Or send 'info circle' to majordomo@cspo.queensu.ca     |
+-----------------------------------------------------------+



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