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 ➜ Compiling Errors

Compiling Errors

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


Posted by Shark32107   (6 posts)  Bio
Date Mon 03 Jul 2006 06:34 PM (UTC)
Message
Hi I am using Putty and conecting to a server via SSH. I believe this is a linux structure. Anyway everytime i compile, use the make command, no matter what version of smaug I always get errors:

"Makefile", line 64: Need an operator
"Makefile", line 68: Need an operator

With each version i get different lines of course and they all point to lines where ifdef/endif statements dwell. Since these count as fatal errors I cannot continue. I can't figure out what is wrong and i can't just delete them all together. So can anyone help?
Top

Posted by David Haley   USA  (3,881 posts)  Bio
Date Reply #1 on Mon 03 Jul 2006 07:04 PM (UTC)
Message
Could you type "make -v" and put the output here? It looks like you have an old or different version of make that doesn't support conditionals. That's pretty strange, though. What versions of SMAUG have you tried this with?

David Haley aka Ksilyan
Head Programmer,
Legends of the Darkstone

http://david.the-haleys.org
Top

Posted by Shark32107   (6 posts)  Bio
Date Reply #2 on Mon 03 Jul 2006 07:09 PM (UTC)
Message
its wont allow me to do a make -v.
Top

Posted by David Haley   USA  (3,881 posts)  Bio
Date Reply #3 on Mon 03 Jul 2006 07:10 PM (UTC)
Message
OK... could you type 'man make' and look for the version in there? Also type 'where make' and paste that output, too.

David Haley aka Ksilyan
Head Programmer,
Legends of the Darkstone

http://david.the-haleys.org
Top

Posted by Shark32107   (6 posts)  Bio
Date Reply #4 on Mon 03 Jul 2006 07:17 PM (UTC)
Message
The only version i could find was the OpenBSD version (3.9) and where make doesn't exist.
Top

Posted by Samson   USA  (683 posts)  Bio
Date Reply #5 on Mon 03 Jul 2006 07:22 PM (UTC)
Message
Try compiling with gmake instead. BSD make doesn't like the conditionals in the makefile.
Top

Posted by Shark32107   (6 posts)  Bio
Date Reply #6 on Mon 03 Jul 2006 07:26 PM (UTC)
Message
using gmake still gives me the same errors.
Top

Posted by Shark32107   (6 posts)  Bio
Date Reply #7 on Mon 03 Jul 2006 07:27 PM (UTC)
Message
Would it be easier to download sumthing other than putty to compile the code on the server.
Top

Posted by David Haley   USA  (3,881 posts)  Bio
Date Reply #8 on Mon 03 Jul 2006 07:31 PM (UTC)
Message
Using putty doesn't affect anything; it's just the program used to connect to the server, everything you're doing is server-side.

The best solution at this point is to get in touch with your system administrator and ask them to install the most recent version of GNU make.

David Haley aka Ksilyan
Head Programmer,
Legends of the Darkstone

http://david.the-haleys.org
Top

Posted by Shark32107   (6 posts)  Bio
Date Reply #9 on Mon 03 Jul 2006 07:32 PM (UTC)
Message
Oh right ok thnx ill do that.
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.


23,601 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.