[Home] [Downloads] [Search] [Help/forum]

Gammon Forum

See www.mushclient.com/spam for dealing with forum spam. Please read the MUSHclient FAQ!

[Folder]  Entire forum
-> [Folder]  PennMUSH
. -> [Folder]  Compiling the server
. . -> [Subject]  Error Compiling under Cygwin -- Pennmush-1.8.3p10
Home  |  Users  |  Search  |  FAQ
Register forum user name
Forgotten password?

Error Compiling under Cygwin -- Pennmush-1.8.3p10

It is now over 60 days since the last post. This thread is closed.     [Refresh] Refresh page

Posted by Tamesis   (1 post)  [Biography] bio
Date Sat 16 Jan 2010 09:42 AM (UTC)

While attempting to compile Pennmush-1.8.3p10 on Cygwin, I am experiencing the following error:

gcc -std=gnu99 -ggdb -O -W -Wall -pedantic -Wno-comment -I/usr/include/ -I.. -I.
./hdrs -c -o strutil.o strutil.c
strutil.c:1193: error:conflicting types for 'imaxdiv_t'
/usr/include/inttypes.h:231: error: previous declaration of 'imaxdiv_t'
make[1]: *** [strutil.o] Error1
make[1]: Leaving directory '/home/pennmush-1.8.3p10/src'
make: *** [all] Error2

Using the same Cygwin setup, I have not experienced any problems compiling pennmush-1.8.1p10.

Can anyone help?
[Go to top] top

Posted by David Haley   USA  (3,881 posts)  [Biography] bio
Date Reply #1 on Sat 16 Jan 2010 05:26 PM (UTC)
I don't know the code in question, but chances are that you simply need to remove the conflicting declaration from strutil.c. You might want to check that it's the same declaration as in inttypes.h to make sure that it's safe to remove the one in Pennmush code.

David Haley aka Ksilyan
Head Programmer,
Legends of the Darkstone

[Go to top] top

The dates and times for posts above are shown in Universal Co-ordinated Time (UTC).

To show them in your local time you can join the forum, and then set the 'time correction' field in your profile to the number of hours difference between your location and UTC time.


It is now over 60 days since the last post. This thread is closed.     [Refresh] Refresh page

Go to topic:           Search the forum

[Go to top] top

Quick links: MUSHclient. MUSHclient help. Forum shortcuts. Posting templates. Lua modules. Lua documentation.

Information and images on this site are licensed under the Creative Commons Attribution 3.0 Australia License unless stated otherwise.


Written by Nick Gammon - 5K   profile for Nick Gammon on Stack Exchange, a network of free, community-driven Q&A sites   Marriage equality

Comments to: Gammon Software support
[RH click to get RSS URL] Forum RSS feed ( https://gammon.com.au/rss/forum.xml )

[Best viewed with any browser - 2K]    [Hosted at FutureQuest]