A list of compilation problems we have encountered = Linker errors = == undefined reference to __cxa_get_exception_ptr == 05Dec07 (Gabriel and Holger) Happens when linking .o files compiled with g++-3.4 together with .o files compiled with g++-4.x Solution: make sure to compile all .o files with the same version of g++ ! == undefined reference to "pthread_mutex_unlock" etc. == 05 Dec07 (Gabriel and Holger) Happens when not linking with -lpthread or when -lpthread comes before -lcompletesearch when linking Solution: put -lcompletesearch before -lpthread (and also before -lz etc.)