Building NVIDIA SDK: std::basic_ostream libstdc++ issue

When I tried to build the SDK examples, I ran into this issue pertaining to things like std::basic_ostream and libstdc++

make[1]: Entering directory `/h/<user>/nvidia_2010_11_rev_3_2_16/C/src/nbody'

  ../../lib/libparamgl_x86_64.a(paramgl.cpp.o): In function `ParamList::Write(std::basic_ostream<char, std::char_traits<char> >&)':

  paramgl.cpp:(.text._ZN9ParamList5WriteERSo[ParamList::Write(std::basic_ostream<char, std::char_traits<char> >&)]+0x1a): undefined reference to `std::basic_ostream<char, std::char_traits<char> >& std::__ostream_insert<char, std::char_traits<char> >(std::basic_ostream<char, std::char_traits<char> >&, char const*, long)'

  paramgl.cpp:(.text._ZN9ParamList5WriteERSo[ParamList::Write(std::basic_ostream<char, std::char_traits<char> >&)]+0x31): undefined reference to `std::basic_ostream<char, std::char_traits<char> >& std::__ostream_insert<char, std::char_traits<char> >(std::basic_ostream<char, std::char_traits<char> >&, char const*, long)'

  collect2: ld returned 1 exit status

  make[1]: *** [../../bin/linux/release/nbody] Error 1

  make[1]: Leaving directory `/h/sgovinda/nvidia_2010_11_rev_3_2_16/C/src/nbody'

  make: *** [src/nbody/Makefile.ph_build] Error 2

<machine> ~/nvidia_2010_11_rev_3_2_16/C$ 

uname shows:  Linux 2.6.18-194.el5 #1 SMP Tue Mar 16 21:52:39 EDT 2010 x86_64 x86_64 x86_64 GNU/Linux

rpm -qa | grep libstdc++ shows:

libstdc++-4.1.2-48.el5

       compat-libstdc++-296-2.96-138

       libstdc++44-devel-4.4.0-6.el5

       libstdc++-devel-4.1.2-48.el5

       compat-libstdc++-33-3.2.3-61

       libstdc++44-devel-4.4.0-6.el5

       compat-libstdc++-33-3.2.3-61

       libstdc++-4.1.2-48.el5

       libstdc++-devel-4.1.2-48.el5

What needs to be done to fix the issue?

Thanks,