Link error

Thorsten Zachmann t.zachmann at zagge.de
Mon Feb 7 04:15:47 GMT 2011


Hello Cyrille,

I have a link error when building pigment. Would be nice if you could have a 
look. 

Thanks,

Thorsten

Linking CXX shared library ../../lib/libpigmentcms.so                                                                                                                                         
CMakeFiles/pigmentcms.dir/colorspaces/KoLabColorSpace.o: In function `unsigned 
short cfVividLight<unsigned short>(unsigned short, unsigned short)':                                           
KoLabColorSpace.cpp:(.text._Z12cfVividLightItET_S0_S0_[unsigned short 
cfVividLight<unsigned short>(unsigned short, unsigned short)]+0x2d): undefined 
reference to `KoColorSpaceMathsTraits<unsigned short>::unitValue'
KoLabColorSpace.cpp:(.text._Z12cfVividLightItET_S0_S0_[unsigned short 
cfVividLight<unsigned short>(unsigned short, unsigned short)]+0x39): undefined 
reference to `KoColorSpaceMathsTraits<unsigned short>::zeroValue'
KoLabColorSpace.cpp:(.text._Z12cfVividLightItET_S0_S0_[unsigned short 
cfVividLight<unsigned short>(unsigned short, unsigned short)]+0xa9): undefined 
reference to `KoColorSpaceMathsTraits<unsigned short>::zeroValue'
KoLabColorSpace.cpp:(.text._Z12cfVividLightItET_S0_S0_[unsigned short 
cfVividLight<unsigned short>(unsigned short, unsigned short)]+0xb5): undefined 
reference to `KoColorSpaceMathsTraits<unsigned short>::unitValue'
CMakeFiles/pigmentcms.dir/colorspaces/KoLabColorSpace.o: In function `unsigned 
short cfDivide<unsigned short>(unsigned short, unsigned short)':
KoLabColorSpace.cpp:(.text._Z8cfDivideItET_S0_S0_[unsigned short 
cfDivide<unsigned short>(unsigned short, unsigned short)]+0x25): undefined 
reference to `KoColorSpaceMathsTraits<unsigned short>::zeroValue'
KoLabColorSpace.cpp:(.text._Z8cfDivideItET_S0_S0_[unsigned short 
cfDivide<unsigned short>(unsigned short, unsigned short)]+0x31): undefined 
reference to `KoColorSpaceMathsTraits<unsigned short>::unitValue'
CMakeFiles/pigmentcms.dir/colorspaces/KoLabColorSpace.o: In function `unsigned 
short cfArcTangent<unsigned short>(unsigned short, unsigned short)':
KoLabColorSpace.cpp:(.text._Z12cfArcTangentItET_S0_S0_[unsigned short 
cfArcTangent<unsigned short>(unsigned short, unsigned short)]+0x25): undefined 
reference to `KoColorSpaceMathsTraits<unsigned short>::zeroValue'
KoLabColorSpace.cpp:(.text._Z12cfArcTangentItET_S0_S0_[unsigned short 
cfArcTangent<unsigned short>(unsigned short, unsigned short)]+0x31): undefined 
reference to `KoColorSpaceMathsTraits<unsigned short>::unitValue'
CMakeFiles/pigmentcms.dir/colorspaces/KoRgbU8ColorSpace.o: In function 
`unsigned char cfVividLight<unsigned char>(unsigned char, unsigned char)':
KoRgbU8ColorSpace.cpp:(.text._Z12cfVividLightIhET_S0_S0_[unsigned char 
cfVividLight<unsigned char>(unsigned char, unsigned char)]+0x27): undefined 
reference to `KoColorSpaceMathsTraits<unsigned char>::unitValue'
KoRgbU8ColorSpace.cpp:(.text._Z12cfVividLightIhET_S0_S0_[unsigned char 
cfVividLight<unsigned char>(unsigned char, unsigned char)]+0x33): undefined 
reference to `KoColorSpaceMathsTraits<unsigned char>::zeroValue'
KoRgbU8ColorSpace.cpp:(.text._Z12cfVividLightIhET_S0_S0_[unsigned char 
cfVividLight<unsigned char>(unsigned char, unsigned char)]+0x93): undefined 
reference to `KoColorSpaceMathsTraits<unsigned char>::zeroValue'
KoRgbU8ColorSpace.cpp:(.text._Z12cfVividLightIhET_S0_S0_[unsigned char 
cfVividLight<unsigned char>(unsigned char, unsigned char)]+0x9f): undefined 
reference to `KoColorSpaceMathsTraits<unsigned char>::unitValue'
CMakeFiles/pigmentcms.dir/colorspaces/KoRgbU8ColorSpace.o: In function 
`unsigned char cfDivide<unsigned char>(unsigned char, unsigned char)':
KoRgbU8ColorSpace.cpp:(.text._Z8cfDivideIhET_S0_S0_[unsigned char 
cfDivide<unsigned char>(unsigned char, unsigned char)]+0x21): undefined 
reference to `KoColorSpaceMathsTraits<unsigned char>::zeroValue'
KoRgbU8ColorSpace.cpp:(.text._Z8cfDivideIhET_S0_S0_[unsigned char 
cfDivide<unsigned char>(unsigned char, unsigned char)]+0x2d): undefined 
reference to `KoColorSpaceMathsTraits<unsigned char>::unitValue'
CMakeFiles/pigmentcms.dir/colorspaces/KoRgbU8ColorSpace.o: In function 
`unsigned char cfArcTangent<unsigned char>(unsigned char, unsigned char)':
KoRgbU8ColorSpace.cpp:(.text._Z12cfArcTangentIhET_S0_S0_[unsigned char 
cfArcTangent<unsigned char>(unsigned char, unsigned char)]+0x21): undefined 
reference to `KoColorSpaceMathsTraits<unsigned char>::zeroValue'
KoRgbU8ColorSpace.cpp:(.text._Z12cfArcTangentIhET_S0_S0_[unsigned char 
cfArcTangent<unsigned char>(unsigned char, unsigned char)]+0x2d): undefined 
reference to `KoColorSpaceMathsTraits<unsigned char>::unitValue'
collect2: ld returned 1 exit status
make[2]: *** [lib/libpigmentcms.so.8.0.0] Error 1
make[1]: *** [libs/pigment/CMakeFiles/pigmentcms.dir/all] Error 2
make: *** [all] Error 2



More information about the calligra-devel mailing list