[xsde-users] libxsde.a - undefined reference to 'std::ios_base::Init::Init()

Boris Kolpackov boris at codesynthesis.com
Wed Feb 5 23:29:02 EST 2014


Hi Kevin,

Thanks for provided a detailed description of your setup. It makes
figuring out what's wrong so much easier and I wish everyone would
send reports like this.

Kevin Drake <kdrake3 at oswego.edu> writes:

> -lgcc -lc -lrt -lm -lc++ -lsupc++ -lstdc++ -lhosted -lxsde

Try to put -lxsde before all the system libraries (especially
lstdc++). When using static libraries this order becomes
important and generally you should try ti list them in the
most specific (e.g., user libraries) to most generic (e.g.,
system libraries) order. In fact, your list looks like it
needs to be reversed.

Boris



More information about the xsde-users mailing list