Code.o: In function `_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc.part.8': Code.cpp:(.text+0x12): undefined reference to `std::basic_ios<char, std::char_traits<char> >::clear(std::_Ios_Iostate)' Code.o: In function `_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc.constprop.101': Code.cpp:(.text+0x35): undefined reference to `std::cout' Code.cpp:(.text+0x3a): 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)' Code.cpp:(.text+0x3f): undefined reference to `std::cout' Code.cpp:(.text+0x49): undefined reference to `std::cout' Code.cpp:(.text+0x53): undefined reference to `std::cout' |
module load gcc/4.7.2 |
CC = gcc DEFINES = -DIPMGEMPLUGIN -DNOPARTICLEARRAY -D__unix CFLAGS = -c -g -O2 -pedantic -fno-nonansi-builtins -D__unix CXXFLAGS = -pipe -O2 -Wall -W -fPIC $(DEFINES) -lstdc++ -m64 INCPATH = -I../GEMS3K -I../GEMS3K -I../GEMS3K -I. \ -I/mounts/apps/gcc/4.7.2/ \ -I/mounts/apps/gcc/4.7.2/bin/ \ -I/mounts/apps/gcc/4.7.2/bin/x86_64-unknown-linux-gnu/4.7.2 \ -I/mounts/apps/gcc/4.7.2/lib64 \ -I/mounts/apps/4.7.2/bin/include \ -I/mounts/apps/gcc/4.7.2/bin/include/c++ \ -I/mounts/apps/gcc/4.7.2/bin/include/c++/4.7.2 \ |