I get "need an operator" errors after running make, so I used gmake, and I get "virtual memory exhausted", so I add --disable-optimization to configure and I get the same problem.
Sorry, but I think there is nothing we can do about this. Get a more memory / raise your limits.
Which file is being compiled when this error happens? Client.cpp was split up into two files to work around this exact issue, but I dont think that splitting stuff up into multiple files is the magic solution...