Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tests fail to link: ld: error: undefined symbol: EA::EAMain::InitializeSignalHandler() #518

Open
yurivict opened this issue Jul 26, 2023 · 0 comments

Comments

@yurivict
Copy link

FAILED: test/EASTLTest 
: && /usr/local/libexec/ccache/c++ -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -std=c++17 -std=c++17 -Wno-pointer-bool-conversion -Wno-unknown-warning-option -O2 -pipe -fstack-protector-strong -fno-strict-aliasing   -DNDEBUG -fstack-protector-strong test/CMakeFiles/EASTLTest.dir/source/EASTLTest.cpp.o test/CMakeFiles/EASTLTest.dir/source/EASTLTestAllocator.cpp.o test/CMakeFiles/EASTLTest.dir/source/TestAlgorithm.cpp.o test/CMakeFiles/EASTLTest.dir/source/TestAllocator.cpp.o test/CMakeFiles/EASTLTest.dir/source/TestAny.cpp.o test/CMakeFiles/EASTLTest.dir/source/TestArray.cpp.o test/CMakeFiles/EASTLTest.dir/source/TestAtomicAsm.cpp.o test/CMakeFiles/EASTLTest.dir/source/TestAtomicBasic.cpp.o test/CMakeFiles/EASTLTest.dir/source/TestBitVector.cpp.o test/CMakeFiles/EASTLTest.dir/source/TestBitcast.cpp.o test/CMakeFiles/EASTLTest.dir/source/TestBitset.cpp.o test/CMakeFiles/EASTLTest.dir/source/TestCharTraits.cpp.o test/CMakeFiles/EASTLTest.dir/source/TestChrono.cpp.o test/CMakeFiles/EASTLTest.dir/source/TestCppCXTypeTraits.cpp.o test/CMakeFiles/EASTLTest.dir/source/TestDeque.cpp.o test/CMakeFiles/EASTLTest.dir/source/TestExtra.cpp.o test/CMakeFiles/EASTLTest.dir/source/TestFinally.cpp.o test/CMakeFiles/EASTLTest.dir/source/TestFixedFunction.cpp.o test/CMakeFiles/EASTLTest.dir/source/TestFixedHash.cpp.o test/CMakeFiles/EASTLTest.dir/source/TestFixedList.cpp.o test/CMakeFiles/EASTLTest.dir/source/TestFixedMap.cpp.o test/CMakeFiles/EASTLTest.dir/source/TestFixedSList.cpp.o test/CMakeFiles/EASTLTest.dir/source/TestFixedSet.cpp.o test/CMakeFiles/EASTLTest.dir/source/TestFixedString.cpp.o test/CMakeFiles/EASTLTest.dir/source/TestFixedTupleVector.cpp.o test/CMakeFiles/EASTLTest.dir/source/TestFixedVector.cpp.o test/CMakeFiles/EASTLTest.dir/source/TestFunctional.cpp.o test/CMakeFiles/EASTLTest.dir/source/TestHash.cpp.o test/CMakeFiles/EASTLTest.dir/source/TestHeap.cpp.o test/CMakeFiles/EASTLTest.dir/source/TestIntrusiveHash.cpp.o test/CMakeFiles/EASTLTest.dir/source/TestIntrusiveList.cpp.o test/CMakeFiles/EASTLTest.dir/source/TestIntrusiveSDList.cpp.o test/CMakeFiles/EASTLTest.dir/source/TestIntrusiveSList.cpp.o test/CMakeFiles/EASTLTest.dir/source/TestIterator.cpp.o test/CMakeFiles/EASTLTest.dir/source/TestList.cpp.o test/CMakeFiles/EASTLTest.dir/source/TestListMap.cpp.o test/CMakeFiles/EASTLTest.dir/source/TestLruCache.cpp.o test/CMakeFiles/EASTLTest.dir/source/TestMap.cpp.o test/CMakeFiles/EASTLTest.dir/source/TestMemory.cpp.o test/CMakeFiles/EASTLTest.dir/source/TestMeta.cpp.o test/CMakeFiles/EASTLTest.dir/source/TestNumericLimits.cpp.o test/CMakeFiles/EASTLTest.dir/source/TestOptional.cpp.o test/CMakeFiles/EASTLTest.dir/source/TestRandom.cpp.o test/CMakeFiles/EASTLTest.dir/source/TestRatio.cpp.o test/CMakeFiles/EASTLTest.dir/source/TestRingBuffer.cpp.o test/CMakeFiles/EASTLTest.dir/source/TestSList.cpp.o test/CMakeFiles/EASTLTest.dir/source/TestSegmentedVector.cpp.o test/CMakeFiles/EASTLTest.dir/source/TestSet.cpp.o test/CMakeFiles/EASTLTest.dir/source/TestSmartPtr.cpp.o test/CMakeFiles/EASTLTest.dir/source/TestSort.cpp.o test/CMakeFiles/EASTLTest.dir/source/TestSpan.cpp.o test/CMakeFiles/EASTLTest.dir/source/TestString.cpp.o test/CMakeFiles/EASTLTest.dir/source/TestStringHashMap.cpp.o test/CMakeFiles/EASTLTest.dir/source/TestStringMap.cpp.o test/CMakeFiles/EASTLTest.dir/source/TestStringView.cpp.o test/CMakeFiles/EASTLTest.dir/source/TestTuple.cpp.o test/CMakeFiles/EASTLTest.dir/source/TestTupleVector.cpp.o test/CMakeFiles/EASTLTest.dir/source/TestTypeTraits.cpp.o test/CMakeFiles/EASTLTest.dir/source/TestUtility.cpp.o test/CMakeFiles/EASTLTest.dir/source/TestVariant.cpp.o test/CMakeFiles/EASTLTest.dir/source/TestVariant2.cpp.o test/CMakeFiles/EASTLTest.dir/source/TestVector.cpp.o test/CMakeFiles/EASTLTest.dir/source/TestVectorMap.cpp.o test/CMakeFiles/EASTLTest.dir/source/TestVectorSet.cpp.o test/CMakeFiles/EASTLTest.dir/source/main.cpp.o -o test/EASTLTest  -Wl,-rpath,/usr/ports/devel/eastl/work/.build/test/packages/EATest:/usr/ports/devel/eastl/work/.build/test/packages/EAMain:/usr/ports/devel/eastl/work/.build:/usr/ports/devel/eastl/work/.build/test/packages/EAStdC:/usr/ports/devel/eastl/work/.build/test/packages/EAAssert:/usr/ports/devel/eastl/work/.build/test/packages/EAThread  test/packages/EATest/libEATest.so  -lrt  test/packages/EAMain/libEAMain.so  libEASTL.so  test/packages/EAStdC/libEAStdC.so  test/packages/EAAssert/libEAAssert.so  test/packages/EAThread/libEAThread.so  -pthread && :
ld: error: undefined symbol: EA::EAMain::InitializeSignalHandler()
>>> referenced by main.cpp
>>>               test/CMakeFiles/EASTLTest.dir/source/main.cpp.o:(main)
c++: error: linker command failed with exit code 1 (use -v to see invocation)

The shared libraries were built by the project.

Rev. 089eb20
FreeBSD 13.2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant