| | | | Browse by category |
Article ID: 828
Last updated: 29 Jan, 2008
Problem
When linking the Math.h++ on SGI, undefined symbols result:
Cause
This is a result of some template instantiation files used when building the Math.h++ library not being included in the math library librwmth itself.
Action
For SGI this can be fixed by compiling the library with the -ptused option. Append the -ptused option to the CPPOPTIONS in the files mathsrc/makefile.
When linking the Math.h++ on SGI, undefined symbols result:
NCC -I.. -O2 -o example1 example1.o -L../lib ../lib/librwmth.a -lrwlaf -lrwbla -lm -lcomplex ld: Unresolved: dot(const RWMathVec&,const RWMathVec &) l1_norm(const RWMathVec &,double&) linf_norm(const RWMathVec &,double&) RWAllocBlock>::RWAllocBlock >(unsigned int)
Cause
This is a result of some template instantiation files used when building the Math.h++ library not being included in the math library librwmth itself.
Action
For SGI this can be fixed by compiling the library with the -ptused option. Append the -ptused option to the CPPOPTIONS in the files mathsrc/makefile.
For more information on template instantiation, please see our C++ FAQ.
This article was:
Helpful |
Not helpful
Report an issue
Article ID: 828
Last updated: 29 Jan, 2008
Revision: 1
Views: 2897
Posted: 01 Jul, 1997 by
--
Updated: 29 Jan, 2008 by
Others in this category
Powered by KBPublisher (Knowledge base software)