Re: Compiling Circle Under Slackware 3.4

From: Rob Bagsby (galen@AIRNET.NET)
Date: 03/08/98


Brian Roche wrote:

> Hello, I'm hoping some of you can help with this problem.
> I'm trying to compile Circle 3.0 patch level 12 on my Linux
> box to play around with.  I'm running Linux Slackware 3.4.
>
> When I type 'make all' from the src directory, it does not
> compile properly.  I've looked through all the docs and faqs
> but I cannot find anything to help me.  The only help I could
> find was to make sure the kernel source code was installed
> from the "k" series of Slackware disks.  I've done this, but
> it didn't help.  I'm attaching the error messages and the
> appropriate lines of code.  Thanks.
>
> Error messages when I type 'make all':
>
> make ../bin/circle
> make[1]: Entering directory `/linux/circle30bpl12/src'
> gcc -c -g -O2 -Wall  comm.c
> comm.c:64: warning: useless keyword or type name in empty declaration
> comm.c:64: warning: empty declaration
> comm.c: In function 'main':
> comm.c:198: parse error before 'restrict'
> comm.c: In function 'unrestrict_game':
> comm.c:1566: parse error before 'restrict'
> make[1]: *** [comm.o] Error 1
> make[1]: Leaving directory `/linux/circle30bpl12/src'
> make: *** [all] Error 2

I just went thru this one, too.  I simply changed all references to the
variable "restrict",
declared in db.c to "restricted".  Compiled fine after that, has to with
the slackware
POSIX implementation now.

Galen

* No signature file *


     +------------------------------------------------------------+
     | Ensure that you have read the CircleMUD Mailing List FAQ:  |
     | http://democracy.queensu.ca/~fletcher/Circle/list-faq.html |
     +------------------------------------------------------------+



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