Error while compiling deskutils/kdeplasma-addons or x11-themes/kdeartwork4 [KDE4.9.5]

Code:
[/usr/ports/deskutils/kdeplasma-addons]# uname -a
FreeBSD fbsd.affle.lan 9.1-STABLE FreeBSD 9.1-STABLE #0 r246451M amd64

Code:
Linking CXX executable loadfromba
Linking CXX executable erasetag
Linking CXX executable printtagslist
Linking CXX executable readimagewritexmpsidecar
/usr/local/lib/libexiv2.so.12: undefined reference to `std::__detail::_List_node_base::_M_hook(std::__detail::_List_node_base*)@GLIBCXX_3.4.15'
/usr/local/lib/libexiv2.so.12: undefined reference to `std::__detail::_List_node_base::_M_unhook()@GLIBCXX_3.4.15'
/usr/local/lib/libexiv2.so.12: undefined reference to `std::__detail::_List_node_base::swap(std::__detail::_List_node_base&, std::__detail::_List_node_base&)@GLIBCXX_3.4.15'
/usr/local/lib/libexiv2.so.12: undefined reference to `std::__detail::_List_node_base::_M_transfer(std::__detail::_List_node_base*, std::__detail::_List_node_base*)@GLIBCXX_3.4.15'
/usr/local/lib/libexiv2.so.12: undefined reference to `std::__detail::_List_node_base::_M_hook(std::__detail::_List_node_base*)@GLIBCXX_3.4.15'
/usr/local/lib/libexiv2.so.12: undefined reference to `std::ctype<char>::_M_widen_init() const@GLIBCXX_3.4.11'
/usr/local/lib/libexiv2.so.12: undefined reference to `std::__detail::_List_node_base::_M_unhook()@GLIBCXX_3.4.15'
c++: error: linker command failed with exit code 1 (use -v to see invocation)
/usr/local/lib/libexiv2.so.12: undefined reference to `std::__detail::_List_node_base::swap(std::__detail::_List_node_base&, std::__detail::_List_node_base&)@GLIBCXX_3.4.15'
*** [test/erasetag] Error code 1
1 error
/usr/local/lib/libexiv2.so.12: undefined reference to `std::__detail::_List_node_base::_M_transfer(std::__detail::_List_node_base*, std::__detail::_List_node_base*)@GLIBCXX_3.4.15'
/usr/local/lib/libexiv2.so.12: undefined reference to `std::ctype<char>::_M_widen_init() const@GLIBCXX_3.4.11'
*** [test/CMakeFiles/erasetag.dir/all] Error code 2
/usr/local/lib/libexiv2.so.12: undefined reference to `std::__detail::_List_node_base::_M_hook(std::__detail::_List_node_base*)@GLIBCXX_3.4.15'
/usr/local/lib/libexiv2.so.12: undefined reference to `std::__detail::_List_node_base::_M_unhook()@GLIBCXX_3.4.15'
/usr/local/lib/libexiv2.so.12: undefined reference to `std::__detail::_List_node_base::swap(std::__detail::_List_node_base&, std::__detail::_List_node_base&)@GLIBCXX_3.4.15'
/usr/local/lib/libexiv2.so.12: undefined reference to `std::__detail::_List_node_base::_M_transfer(std::__detail::_List_node_base*, std::__detail::_List_node_base*)@GLIBCXX_3.4.15'
/usr/local/lib/libexiv2.so.12: undefined reference to `std::ctype<char>::_M_widen_init() const@GLIBCXX_3.4.11'
c++: error: linker command failed with exit code 1 (use -v to see invocation)
c++: error: linker command failed with exit code 1 (use -v to see invocation)
/usr/local/lib/libexiv2.so.12: undefined reference to `std::__detail::_List_node_base::_M_hook(std::__detail::_List_node_base*)@GLIBCXX_3.4.15'
*** [test/loadfromba] Error code 1
1 error
*** [test/CMakeFiles/loadfromba.dir/all] Error code 2
*** [test/printtagslist] Error code 1
1 error
*** [test/CMakeFiles/printtagslist.dir/all] Error code 2
/usr/local/lib/libexiv2.so.12: undefined reference to `std::__detail::_List_node_base::_M_unhook()@GLIBCXX_3.4.15'
/usr/local/lib/libexiv2.so.12: undefined reference to `std::__detail::_List_node_base::swap(std::__detail::_List_node_base&, std::__detail::_List_node_base&)@GLIBCXX_3.4.15'
/usr/local/lib/libexiv2.so.12: undefined reference to `std::__detail::_List_node_base::_M_transfer(std::__detail::_List_node_base*, std::__detail::_List_node_base*)@GLIBCXX_3.4.15'
/usr/local/lib/libexiv2.so.12: undefined reference to `std::ctype<char>::_M_widen_init() const@GLIBCXX_3.4.11'
c++: error: linker command failed with exit code 1 (use -v to see invocation)
*** [test/readimagewritexmpsidecar] Error code 1
1 error
*** [test/CMakeFiles/readimagewritexmpsidecar.dir/all] Error code 2
4 errors
*** [all] Error code 2
1 error
*** [do-build] Error code 1

Stop in /usr/ports/graphics/libkexiv2-kde4.
*** [build-depends] Error code 1

Stop in /usr/ports/deskutils/kdeplasma-addons.
*** [install] Error code 1

Stop in /usr/ports/deskutils/kdeplasma-addons.
 
Try reinstalling graphics/exiv2. Make sure to do a make clean in graphics/exiv2 first, to make sure there are no leftovers.

Then try installing graphics/libkexiv2-kde4, this is the port that actually fails, again, remember to do a make clean here as well.
 
Carpetsmoker said:
Try reinstalling graphics/exiv2. Make sure to do a make clean in graphics/exiv2 first, to make sure there are no leftovers.

Then try installing graphics/libkexiv2-kde4, this is the port that actually fails, again, remember to do a make clean here as well.

Thanks, reinstalling graphics/exiv2 solved my issue.
 
Back
Top