Differences between revisions 2 and 3
Revision 2 as of 2007-12-05 13:14:16
Size: 333
Editor: infno1613
Comment:
Revision 3 as of 2007-12-05 13:27:29
Size: 615
Editor: infno1613
Comment:
Deletions are marked like this. Additions are marked like this.
Line 3: Line 3:
== Linker error: undefined reference to __cxa_get_exception_ptr == = Linker errors =

==
undefined reference to __cxa_get_exception_ptr ==
Line 10: Line 12:

== 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.)

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.)

CompleteSearch: completesearch/ProblemsCompiling (last edited 2007-12-05 13:27:29 by infno1613)