I resolved the g++ issue by installing g++ via yum. g++ (GCC) 4.5.1 20100924 (Red Hat 4.5.1-4). After this some files are created in /bin/linux/release, however make still complains as :
In file included from src/bank_checker.cpp:15:0:
./…/common/inc/bank_checker.h:34:41: warning: type qualifiers ignored on function return type
./…/common/inc/bank_checker.h:220:39: warning: type qualifiers ignored on function return type
src/bank_checker.cpp:57:24: warning: type qualifiers ignored on function return type
src/bank_checker.cpp:259:12: warning: type qualifiers ignored on function return type
In file included from ./…/common/inc/stopwatch.h:18:0,
from src/cutil.cpp:33:
./…/common/inc/stopwatch_base.h:56:34: warning: type qualifiers ignored on function return type
./…/common/inc/stopwatch_base.h:60:41: warning: type qualifiers ignored on function return type
In file included from ./…/common/inc/stopwatch_base.h:72:0,
from ./../common/inc/stopwatch.h:18,
from src/cutil.cpp:33:
./…/common/inc/stopwatch_base.inl:67:36: warning: type qualifiers ignored on function return type
./…/common/inc/stopwatch_base.inl:78:43: warning: type qualifiers ignored on function return type
In file included from ./…/common/inc/stopwatch.h:25:0,
from src/cutil.cpp:33:
./…/common/inc/stopwatch_linux.h:46:34: warning: type qualifiers ignored on function return type
./…/common/inc/stopwatch_linux.h:50:41: warning: type qualifiers ignored on function return type
./…/common/inc/stopwatch_linux.h:126:27: warning: type qualifiers ignored on function return type
./…/common/inc/stopwatch_linux.h:143:34: warning: type qualifiers ignored on function return type
In file included from src/cutil.cpp:33:0:
./…/common/inc/stopwatch.h:35:27: warning: type qualifiers ignored on function return type
In file included from src/cutil.cpp:34:0:
./…/common/inc/bank_checker.h:34:41: warning: type qualifiers ignored on function return type
./…/common/inc/bank_checker.h:220:39: warning: type qualifiers ignored on function return type
In file included from ./…/common/inc/stopwatch.h:18:0,
from src/stopwatch.cpp:17:
./…/common/inc/stopwatch_base.h:56:34: warning: type qualifiers ignored on function return type
./…/common/inc/stopwatch_base.h:60:41: warning: type qualifiers ignored on function return type
In file included from ./…/common/inc/stopwatch_base.h:72:0,
from ./../common/inc/stopwatch.h:18,
from src/stopwatch.cpp:17:
./…/common/inc/stopwatch_base.inl:67:36: warning: type qualifiers ignored on function return type
./…/common/inc/stopwatch_base.inl:78:43: warning: type qualifiers ignored on function return type
In file included from ./…/common/inc/stopwatch.h:25:0,
from src/stopwatch.cpp:17:
./…/common/inc/stopwatch_linux.h:46:34: warning: type qualifiers ignored on function return type
./…/common/inc/stopwatch_linux.h:50:41: warning: type qualifiers ignored on function return type
./…/common/inc/stopwatch_linux.h:126:27: warning: type qualifiers ignored on function return type
./…/common/inc/stopwatch_linux.h:143:34: warning: type qualifiers ignored on function return type
In file included from src/stopwatch.cpp:17:0:
./…/common/inc/stopwatch.h:35:27: warning: type qualifiers ignored on function return type
src/stopwatch.cpp:71:12: warning: type qualifiers ignored on function return type
In file included from src/stopwatch_linux.cpp:15:0:
./…/common/inc/stopwatch_linux.h:46:34: warning: type qualifiers ignored on function return type
./…/common/inc/stopwatch_linux.h:50:41: warning: type qualifiers ignored on function return type
./…/common/inc/stopwatch_linux.h:126:27: warning: type qualifiers ignored on function return type
./…/common/inc/stopwatch_linux.h:143:34: warning: type qualifiers ignored on function return type
fluidsGL.cu:28:27: fatal error: X11/Xlib.h: No such file or directory
is the relevant error. It is telling you that the X11 development headers aren’t installed in the same way that nvcc was telling that you had no c++ compiler installed. If you learn to read the error messages, the solutions to these sort of problems will become self-evident.