Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED] Compilation failure of media-libs/opencv
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
Cueball
n00b
n00b


Joined: 19 Sep 2009
Posts: 25
Location: Barrow-in-Furness

PostPosted: Mon Aug 26, 2024 11:52 am    Post subject: [SOLVED] Compilation failure of media-libs/opencv Reply with quote

Hi all. I am having trouble updating my system due to media-libs/opencv failing to compile and it will not progress.

I do not know where to go from here.

My build log
http://frigginawesome.net/temp/build.log

My emerge info
http://frigginawesome.net/temp/emergeinfo.txt

I did try to paste this in as a code block but seems may be too large for a post.
Please let me know if I need to post anything else.

Thanks,
Cueball
_________________
"It said on the side of the box "Requires Windows 95 or better", So I installed Linux"
unzip; strip; touch; finger; grep; mount; fsck; more; yes; fsck; umount; sleep


Last edited by Cueball on Mon Aug 26, 2024 4:40 pm; edited 2 times in total
Back to top
View user's profile Send private message
fedeliallalinea
Administrator
Administrator


Joined: 08 Mar 2003
Posts: 31175
Location: here

PostPosted: Mon Aug 26, 2024 12:05 pm    Post subject: Reply with quote

You linked build.log also for your emerge --info output.
_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
Cueball
n00b
n00b


Joined: 19 Sep 2009
Posts: 25
Location: Barrow-in-Furness

PostPosted: Mon Aug 26, 2024 12:09 pm    Post subject: Reply with quote

Sorry my bad. I have updated the link
_________________
"It said on the side of the box "Requires Windows 95 or better", So I installed Linux"
unzip; strip; touch; finger; grep; mount; fsck; more; yes; fsck; umount; sleep
Back to top
View user's profile Send private message
fedeliallalinea
Administrator
Administrator


Joined: 08 Mar 2003
Posts: 31175
Location: here

PostPosted: Mon Aug 26, 2024 1:36 pm    Post subject: Reply with quote

Code:
lib:  lib/libopencv_cudev.so.4.9.0  -ldl  -lm  -lpthread  -lrt  /lib64/libz.so  /lib64/libOpenGL.so  /lib64/libGLX.so  /lib64/libGLU.so  /usr/lib/gcc/x86_64-pc-linux-gnu/14/libgomp.so  /usr/lib64/libpthread.a  -lcudadevrt  -lcudart_static  -lrt  -lpthread  -ldl && :
/usr/lib/gcc/x86_64-pc-linux-gnu/14/../../../../x86_64-pc-linux-gnu/bin/ld: modules/core/CMakeFiles/opencv_core.dir/src/async.cpp.o: in function `cv::AsyncPromise::AsyncPromise() [clone .cold]':
async.cpp:(.text.unlikely._ZN2cv12AsyncPromiseC2Ev+0x41): undefined reference to `__cxa_call_terminate'
/usr/lib/gcc/x86_64-pc-linux-gnu/14/../../../../x86_64-pc-linux-gnu/bin/ld: modules/core/CMakeFiles/opencv_core.dir/src/async.cpp.o: in function `cv::AsyncArray::Impl::~Impl()':
async.cpp:(.text._ZN2cv10AsyncArray4ImplD2Ev[_ZN2cv10AsyncArray4ImplD5Ev]+0x5ab): undefined reference to `__cxa_call_terminate'
/usr/lib/gcc/x86_64-pc-linux-gnu/14/../../../../x86_64-pc-linux-gnu/bin/ld: modules/core/CMakeFiles/opencv_core.dir/src/ocl.cpp.o: in function `cv::ocl::OpenCLBufferPoolBaseImpl<cv::ocl::OpenCLBufferPoolImpl, cv::ocl::CLBufferEntry, _cl_mem*>::~OpenCLBufferPoolBaseImpl()':
ocl.cpp:(.text._ZN2cv3ocl24OpenCLBufferPoolBaseImplINS0_20OpenCLBufferPoolImplENS0_13CLBufferEntryEP7_cl_memED2Ev[_ZN2cv3ocl24OpenCLBufferPoolBaseImplINS0_20OpenCLBufferPoolImplENS0_13CLBufferEntryEP7_cl_memED5Ev]+0x2d2): undefined reference to `__cxa_call_terminate'
/usr/lib/gcc/x86_64-pc-linux-gnu/14/../../../../x86_64-pc-linux-gnu/bin/ld: modules/core/CMakeFiles/opencv_core.dir/src/ocl.cpp.o: in function `cv::ocl::Context::Impl::~Impl()':
ocl.cpp:(.text._ZN2cv3ocl7Context4ImplD2Ev[_ZN2cv3ocl7Context4ImplD5Ev]+0x6dd): undefined reference to `__cxa_call_terminate'
/usr/lib/gcc/x86_64-pc-linux-gnu/14/../../../../x86_64-pc-linux-gnu/bin/ld: modules/core/CMakeFiles/opencv_core.dir/src/ocl.cpp.o: in function `cv::ocl::OpenCLAllocator::~OpenCLAllocator()':
ocl.cpp:(.text._ZN2cv3ocl15OpenCLAllocatorD2Ev[_ZN2cv3ocl15OpenCLAllocatorD5Ev]+0x2ef): undefined reference to `__cxa_call_terminate'
/usr/lib/gcc/x86_64-pc-linux-gnu/14/../../../../x86_64-pc-linux-gnu/bin/ld: modules/core/CMakeFiles/opencv_core.dir/src/ocl.cpp.o:ocl.cpp:(.text._ZN2cv3ocl15OpenCLAllocatorD0Ev[_ZN2cv3ocl15OpenCLAllocatorD5Ev]+0x2fc): more undefined references to `__cxa_call_terminate' follow
collect2: error: ld returned 1 exit status

Look at bug #928605
_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
Cueball
n00b
n00b


Joined: 19 Sep 2009
Posts: 25
Location: Barrow-in-Furness

PostPosted: Mon Aug 26, 2024 4:40 pm    Post subject: Reply with quote

This is perfect thank you. Sorted my issue out
_________________
"It said on the side of the box "Requires Windows 95 or better", So I installed Linux"
unzip; strip; touch; finger; grep; mount; fsck; more; yes; fsck; umount; sleep
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum