linker problem with libstdc++.so.6 in connection with cuda
today i encountered a problem with linking my compiled cuda stuff. i have a uptodate debian testing w/ 2.6.32-3-amd64. i worked all day on my code. compiling from time to time. had no problem. but then after a minor code change i got following error: gcc -o pa CUDA.o histogram256.o histogram64.o main.o -lrt -lm -lcudart -I. -I/data/cuda/include -I/data/cuda/C/common/inc -L/data/cuda/lib64 /usr/bin/ld: main.o: undefined reference to symbol 'std::basic_ifstream<char, std::char_traits<char> >::close()@@GLIBCXX_3.4' /usr/bin/ld: note: 'std::basic_ifstream<char, std::char_traits<char> >::close()@