That is the correct line, the key is to have no -O# (as mentioned above this is likely a bad thing, no optimizations). Not sure why you have -O3
Should be:
xCXXFLAGS=-pthread -Wall -Wextra -Wformat -Wformat-security -Wno-unused-parameter \
Which is what you have. If you are compiling from source you really should have (assuming its not on a vps that hides the cpu info)
xCXXFLAGS=-march=native -pthread -Wall -Wextra -Wformat -Wformat-security -Wno-unused-parameter \
How much ram does the machine have? and you are sure you cannot add swap? If not then chances are you are going to have to build it on another machine or use the linux pre-compiled binaries listed in the official HP thread (
https://bitcointalk.org/index.php?topic=255782.0 -- paying attention to the warning)
Thanks for the quick reply. Trying this now. You are right! I used Chemsist build before this and i had to change those settings to the one you saw with O3 in order to optimize it and get it t work. Yes, I am sure I cannot use swap because the company has restricted my use of it, even though I expanded to larger ram space. I have 512 MB RAM right now.
Do I need to use make clean? before configuring?
Edit: SOLVED. I upgraded to 1024 MB RAM and got it working just fine. The company doesn't want to give me permission to enable swap so this was an easier fix than I thought. Simply Upgrade, then downgrade if you need to, to save the $2.00 I would just keep it at 1024 MB. It seems more stable now.