64-bit weirdness with STL?

2010-02-25 Thread Robert Heller
I have some code that is crashing with bad pointer problems. The code, as far as I can tell, is not doing anything that is wrong. The code compiles and runs just fine on a 32-bit system (same compiler, same version of libstdc++). It compiles just fine on the 64-bit machine, but crashes somewhat

undefined reference

2010-02-25 Thread rrlangly
Hi, This is a small test case I wrote in which I can't understand why I have an undefined reference. I have an undefined reference which I thought only requires linking w/ the libs that contain this symbol, which I am. The function dm_connect() is in the library libdm, and this is on the g++ comm