Compiling Errors

Posted by Shark32107 on Mon 03 Jul 2006 06:34 PM — 10 posts, 32,119 views.

#0
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?
USA #1
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?
#2
its wont allow me to do a make -v.
USA #3
OK... could you type 'man make' and look for the version in there? Also type 'where make' and paste that output, too.
#4
The only version i could find was the OpenBSD version (3.9) and where make doesn't exist.
USA #5
Try compiling with gmake instead. BSD make doesn't like the conditionals in the makefile.
#6
using gmake still gives me the same errors.
#7
Would it be easier to download sumthing other than putty to compile the code on the server.
USA #8
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.
#9
Oh right ok thnx ill do that.