Notice: Any messages purporting to come from this site telling you that your password has expired, or that you need to verify your details, confirm your email, resolve issues, making threats, or asking for money, are
spam. We do not email users with any such messages. If you have lost your password you can obtain a new one by using the
password reset link.
Due to spam on this forum, all posts now need moderator approval.
Entire forum
➜ PennMUSH
➜ Compiling the server
➜ Error Compiling under Cygwin -- Pennmush-1.8.3p10
Error Compiling under Cygwin -- Pennmush-1.8.3p10
|
It is now over 60 days since the last post. This thread is closed.
Refresh page
Posted by
| Tamesis
(1 post) Bio
|
Date
| Sat 16 Jan 2010 09:42 AM (UTC) |
Message
| Greetings!
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?
Thanks!!! | Top |
|
Posted by
| David Haley
USA (3,881 posts) Bio
|
Date
| Reply #1 on Sat 16 Jan 2010 05:26 PM (UTC) |
Message
| 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
http://david.the-haleys.org | 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.
17,373 views.
It is now over 60 days since the last post. This thread is closed.
Refresh page
top