Register forum user name Search FAQ

Gammon Forum

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 ➜ SMAUG ➜ Compiling the server ➜ Error:Expected

Error:Expected

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


Posted by GYoung   (1 post)  Bio
Date Sun 04 Jun 2006 01:51 AM (UTC)
Message
I'm getting this error:

Administrator Ben@ShatteredHope ~/src
$ make
make swrip
make[1]: Entering directory `/home/Administrator Ben/src'
g++ -c -g3 -Wall -DNOCRYPT act_info.c
In file included from act_info.c:28:
/usr/include/crypt.h:31: error: expected unqualified-id before "const"
/usr/include/crypt.h:31: error: expected `)' before "const"
/usr/include/crypt.h:31: error: expected init-declarator before "const"
/usr/include/crypt.h:31: error: expected `,' or `;' before "const"
make[1]: *** [act_info.o] Error 1
make[1]: Leaving directory `/home/Administrator Ben/src'
make: *** [all] Error 2

Administrator Ben@ShatteredHope ~/src

Any ideas?
Top

Posted by David Haley   USA  (3,881 posts)  Bio
Date Reply #1 on Sun 04 Jun 2006 02:41 AM (UTC)
Message
In act_info.c, what do you include before crypt.h? And why is crypt.h being included when you've defined NOCRYPT? Have you changed anything whatsoever in the source?

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.


9,914 views.

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

Go to topic:           Search the forum


[Go to top] top

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