qt-dab icon indicating copy to clipboard operation
qt-dab copied to clipboard

Build failure at link stage - mapPortHandler

Open bib1963 opened this issue 2 years ago • 1 comments

Managed to get all the way through to the link stage and it bombs with

[  1%] Linking CXX executable qt-dab-5.0
/usr/lib64/gcc/x86_64-suse-linux/7/../../../../x86_64-suse-linux/bin/ld: /tmp/ccIRgrnc.ltrans4.ltrans.o: in function `RadioInterface::handle_portSelector()':
<artificial>:(.text+0x5e84): undefined reference to `mapPortHandler::mapPortHandler(QSettings*)'
/usr/lib64/gcc/x86_64-suse-linux/7/../../../../x86_64-suse-linux/bin/ld: <artificial>:(.text+0x5e94): undefined reference to `mapPortHandler::~mapPortHandler()'
/usr/lib64/gcc/x86_64-suse-linux/7/../../../../x86_64-suse-linux/bin/ld: <artificial>:(.text+0x5ea6): undefined reference to `mapPortHandler::~mapPortHandler()'
collect2: error: ld returned 1 exit status

A search either locally or on the internet for mapPortHandler yields no answers. This is with qt6 on opensuse x86_64.

bib1963 avatar Sep 18 '22 20:09 bib1963

Yes, I only use the qmake/make routre and from time to time forget to update the CMakeLists file, seems fixed

Op zo 18 sep. 2022 om 22:16 schreef bib1963 @.***>:

Managed to get all the way through to the link stage and it bombs with

[ 1%] Linking CXX executable qt-dab-5.0 /usr/lib64/gcc/x86_64-suse-linux/7/../../../../x86_64-suse-linux/bin/ld: /tmp/ccIRgrnc.ltrans4.ltrans.o: in function RadioInterface::handle_portSelector()': <artificial>:(.text+0x5e84): undefined reference to mapPortHandler::mapPortHandler(QSettings*)' /usr/lib64/gcc/x86_64-suse-linux/7/../../../../x86_64-suse-linux/bin/ld: :(.text+0x5e94): undefined reference to mapPortHandler::~mapPortHandler()' /usr/lib64/gcc/x86_64-suse-linux/7/../../../../x86_64-suse-linux/bin/ld: <artificial>:(.text+0x5ea6): undefined reference to mapPortHandler::~mapPortHandler()' collect2: error: ld returned 1 exit status

A search either locally or on the internet for mapPortHandler yields no answers.

— Reply to this email directly, view it on GitHub https://github.com/JvanKatwijk/qt-dab/issues/274, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACCPHQCXNSEP6UTC4P5XDXLV652A5ANCNFSM6AAAAAAQPSWM5Y . You are receiving this because you are subscribed to this thread.Message ID: @.***>

-- Jan van Katwijk

JvanKatwijk avatar Sep 19 '22 09:09 JvanKatwijk