From: Csaba Raduly <rcsaba@gmail.com>
To: wilhelm-eger@web.de
Cc: cygwin list <cygwin@cygwin.com>
Subject: Re: Recompilation problems opencv (python3-cv2 --> python3.8)
Date: Thu, 14 Jan 2021 09:18:30 +0100 [thread overview]
Message-ID: <CAEhDDbCqWRsLQ3vXTG_YX1SZ1imH1He7bYF-sXEaMsaLTi9cog@mail.gmail.com> (raw)
In-Reply-To: <trinity-34d462bc-fd59-487f-9b02-5aa2f844ca61-1610608110734@3c-app-webde-bap41>
Hi Wilhelm,
On Thu, 14 Jan 2021 at 08:10, wilhelm-eger--- via Cygwin
<cygwin@cygwin.com> wrote:
(snip)
> 3rdparty/lib/libittnotify.a(ittnotify_static.c.o): in function `__itt_fini_ittlib':
> /usr/src/debug/opencv-3.4.1-2/3rdparty/ittnotify/src/ittnotify/ittnotify_static.c:1076:(.text$__itt_fini_ittlib+0x104): relocation truncated to fit: R_X86_64_PC32 against undefined symbol `dlsym'
> 3rdparty/lib/libittnotify.a(ittnotify_static.c.o): in function `__itt_init_ittlib':
> /usr/src/debug/opencv-3.4.1-2/3rdparty/ittnotify/src/ittnotify/ittnotify_static.c:1123:(.text$__itt_init_ittlib+0x14b): relocation truncated to fit: R_X86_64_PC32 against undefined symbol `dlopen'
> /usr/src/debug/opencv-3.4.1-2/3rdparty/ittnotify/src/ittnotify/ittnotify_static.c:1123:(.text$__itt_init_ittlib+0x155): relocation truncated to fit: R_X86_64_PC32 against undefined symbol `dlsym'
> /usr/src/debug/opencv-3.4.1-2/3rdparty/ittnotify/src/ittnotify/ittnotify_static.c:1123:(.text$__itt_init_ittlib+0x168): relocation truncated to fit: R_X86_64_PC32 against undefined symbol `dlclose'
> /usr/src/debug/opencv-3.4.1-2/3rdparty/ittnotify/src/ittnotify/ittnotify_static.c:1125:(.text$__itt_init_ittlib+0x2a6): relocation truncated to fit: R_X86_64_PC32 against undefined symbol `dlopen'
> 3rdparty/lib/libittnotify.a(ittnotify_static.c.o): in function `__itt_lib_version':
> /usr/src/debug/opencv-3.4.1-2/3rdparty/ittnotify/src/ittnotify/ittnotify_static.c:1030:(.text$__itt_init_ittlib+0x2c8): relocation truncated to fit: R_X86_64_PC32 against undefined symbol `dlsym'
> 3rdparty/lib/libittnotify.a(ittnotify_static.c.o): in function `__itt_init_ittlib':
> /usr/src/debug/opencv-3.4.1-2/3rdparty/ittnotify/src/ittnotify/ittnotify_static.c:1179:(.text$__itt_init_ittlib+0x2e4): relocation truncated to fit: R_X86_64_PC32 against undefined symbol `dlsym'
> 3rdparty/lib/libittnotify.a(ittnotify_static.c.o): in function `__itt_lib_version':
> /usr/src/debug/opencv-3.4.1-2/3rdparty/ittnotify/src/ittnotify/ittnotify_static.c:1032:(.text$__itt_init_ittlib+0x3c6): relocation truncated to fit: R_X86_64_PC32 against undefined symbol `dlsym'
> 3rdparty/lib/libittnotify.a(ittnotify_static.c.o): in function `__itt_init_ittlib':
> /usr/src/debug/opencv-3.4.1-2/3rdparty/ittnotify/src/ittnotify/ittnotify_static.c:1141:(.text$__itt_init_ittlib+0x41c): relocation truncated to fit: R_X86_64_PC32 against undefined symbol `dlsym'
You need to compile with -fPIC.
Did you try searching the Internet for "relocation truncated to fit:
R_X86_64_PC32 against undefined symbol" ?
Csaba
--
You can get very substantial performance improvements
by not doing the right thing. - Scott Meyers, An Effective C++11/14 Sampler
So if you're looking for a completely portable, 100% standards-conformant way
to get the wrong information: this is what you want. - Scott Meyers (C++TDaWYK)
next prev parent reply other threads:[~2021-01-14 8:18 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-01-14 7:08 wilhelm-eger
2021-01-14 8:18 ` Csaba Raduly [this message]
2021-01-14 9:59 ` Aw: " wilhelm-eger
2021-01-14 10:06 ` Marco Atzeri
2021-01-14 10:24 ` Aw: " wilhelm-eger
2021-01-14 22:52 ` Brian Inglis
2021-01-15 8:13 ` Aw: " wilhelm-eger
2021-01-15 9:34 ` Marco Atzeri
2021-01-15 10:49 ` ASSI
2021-01-15 11:08 ` Marco Atzeri
2021-01-15 19:34 ` Marco Atzeri
2021-01-19 8:09 ` Aw: " wilhelm-eger
2021-01-15 17:14 ` Brian Inglis
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=CAEhDDbCqWRsLQ3vXTG_YX1SZ1imH1He7bYF-sXEaMsaLTi9cog@mail.gmail.com \
--to=rcsaba@gmail.com \
--cc=cygwin@cygwin.com \
--cc=wilhelm-eger@web.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).