Re: [Newbie] First compile

From: George Greer (greerga@circlemud.org)
Date: 05/11/02


On Sun, 12 May 2002, Mark Gerritsen wrote:

>I'm having trouble installing Circle30pl21.
>I've followed the instructions in the documentation to the letter: got the
>file, gunzipped and tar -xvf'ed it, ran ./configure, but then when I try
>to compile, it gets stuck on utils.c:
>
>gcc -c -g -O2 -Wall  utils.c
>utils.c:118: parse error before `__extension__'
>utils.c:118: `__len' undeclared here (not in a function)

The C library #define for strdup() interefered with the CircleMUD-provided
version of strdup(), which should only be included if you don't have
strdup() in the first place.

Check your config.log to see why HAVE_STRDUP is off.

--
George Greer
greerga@circlemud.org

--
   +---------------------------------------------------------------+
   | FAQ: http://qsilver.queensu.ca/~fletchra/Circle/list-faq.html |
   | Archives: http://post.queensu.ca/listserv/wwwarch/circle.html |
   | Newbie List:  http://groups.yahoo.com/group/circle-newbies/   |
   +---------------------------------------------------------------+



This archive was generated by hypermail 2b30 : 06/25/03 PDT