[vtk-developers] Compile errors: Common/Core/Testing/Cxx/TestAtomic.cxx

Berk Geveci berk.geveci at kitware.com
Wed Oct 9 10:17:17 EDT 2013


Yup my bad. I am working on a fix. I can infer that your machine is 32 bit
btw :-)

-berk


On Tue, Oct 8, 2013 at 8:13 PM, Bill Lorensen <bill.lorensen at gmail.com>wrote:

> It has been a few days since I updated VTK. Today I get these erros on
> my 32 bit linux build:
> Linking CXX executable ../../../../bin/vtkCommonCoreCxxTests
> CMakeFiles/vtkCommonCoreCxxTests.dir/TestAtomic.cxx.o: In function
> `MyFunction3(void*)':
>
> /home/lorensen/ProjectsGIT/VTKGerrit/Common/Core/Testing/Cxx/TestAtomic.cxx:57:
> undefined reference to `detail::vtkAtomicIntImpl<long
> long>::operator+=(long long)'
> CMakeFiles/vtkCommonCoreCxxTests.dir/TestAtomic.cxx.o: In function
> `MyFunction4(void*)':
>
> /home/lorensen/ProjectsGIT/VTKGerrit/Common/Core/Testing/Cxx/TestAtomic.cxx:74:
> undefined reference to `detail::vtkAtomicIntImpl<long
> long>::operator+=(long long)'
> CMakeFiles/vtkCommonCoreCxxTests.dir/TestAtomic.cxx.o: In function
> `TestAtomic(int, char**)':
>
> /home/lorensen/ProjectsGIT/VTKGerrit/Common/Core/Testing/Cxx/TestAtomic.cxx:147:
> undefined reference to `detail::vtkAtomicIntImpl<long long>::load()
> const'
>
> /home/lorensen/ProjectsGIT/VTKGerrit/Common/Core/Testing/Cxx/TestAtomic.cxx:158:
> undefined reference to `detail::vtkAtomicIntImpl<long long>::load()
> const'
> CMakeFiles/vtkCommonCoreCxxTests.dir/TestAtomic.cxx.o: In function
> `vtkAtomicInt':
>
> /home/lorensen/ProjectsGIT/VTKGerritNew-linux/Common/Core/vtkAtomicInt.h:363:
> undefined reference to `detail::vtkAtomicIntImpl<long
> long>::vtkAtomicIntImpl()'
> CMakeFiles/vtkCommonCoreCxxTests.dir/TestAtomic.cxx.o: In function
> `vtkAtomicInt<long long>::operator++()':
>
> /home/lorensen/ProjectsGIT/VTKGerritNew-linux/Common/Core/vtkAtomicInt.h:371:
> undefined reference to `detail::vtkAtomicIntImpl<long
> long>::operator++()'
> CMakeFiles/vtkCommonCoreCxxTests.dir/TestAtomic.cxx.o: In function
> `vtkAtomicInt<long long>::operator--()':
>
> /home/lorensen/ProjectsGIT/VTKGerritNew-linux/Common/Core/vtkAtomicInt.h:385:
> undefined reference to `detail::vtkAtomicIntImpl<long
> long>::operator--()'
> CMakeFiles/vtkCommonCoreCxxTests.dir/TestAtomic.cxx.o: In function
> `vtkAtomicInt<long long>::operator-=(long long)':
>
> /home/lorensen/ProjectsGIT/VTKGerritNew-linux/Common/Core/vtkAtomicInt.h:399:
> undefined reference to `detail::vtkAtomicIntImpl<long
> long>::operator+=(long long)'
> CMakeFiles/vtkCommonCoreCxxTests.dir/TestAtomic.cxx.o: In function
> `vtkAtomicInt<long long>::operator=(long long)':
>
> /home/lorensen/ProjectsGIT/VTKGerritNew-linux/Common/Core/vtkAtomicInt.h:413:
> undefined reference to `detail::vtkAtomicIntImpl<long
> long>::store(long long)'
>
> CMakeFiles/vtkCommonCoreCxxTests.dir/TestAtomic.cxx.o:(.rodata._ZTI12vtkAtomicIntIxE[typeinfo
> for vtkAtomicInt<long long>]+0x8): undefined reference to `typeinfo
> for detail::vtkAtomicIntImpl<long long>'
> CMakeFiles/vtkCommonCoreCxxTests.dir/TestAtomic.cxx.o: In function
> `~vtkAtomicInt':
>
> /home/lorensen/ProjectsGIT/VTKGerritNew-linux/Common/Core/vtkAtomicInt.h:349:
> undefined reference to `detail::vtkAtomicIntImpl<long
> long>::~vtkAtomicIntImpl()'
> collect2: ld returned 1 exit status
> make[2]: *** [bin/vtkCommonCoreCxxTests] Error 1
> make[1]: ***
> [Common/Core/Testing/Cxx/CMakeFiles/vtkCommonCoreCxxTests.dir/all]
> Error 2
> make: *** [all] Error 2
> [VTKGerritNew-linux]
> _______________________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
>
> Follow this link to subscribe/unsubscribe:
> http://www.vtk.org/mailman/listinfo/vtk-developers
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/vtk-developers/attachments/20131009/33d269b2/attachment.html>


More information about the vtk-developers mailing list