all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Curious link error: symbols not found
@ 2017-03-23 14:33 Hartmut Goebel
  2017-03-23 14:45 ` Thomas Danckaert
  0 siblings, 1 reply; 3+ messages in thread
From: Hartmut Goebel @ 2017-03-23 14:33 UTC (permalink / raw)
  To: guix-devel

[-- Attachment #1: Type: text/plain, Size: 1575 bytes --]

Hi,

just today I tried to compile "ktouch", a KDE and QT application. This
failed with *link* errors (see below), which I find very curious.

Let's look at the first error message: To my understanding.the package
"kcmutils" should reference to *exactly* the version of Qt (or what
ever), it was build for. So how can it be that some symbol is not found?

I tried force-re-building qtbase and the effected packed (as listed
below), but this did not solve the issue.

/gnu/store/…-kcmutils-5.28.0/lib/libKF5KCMUtils.so.5.28.0:
undefined reference to `qt_version_tag@Qt_5.7'
/gnu/store/…-kxmlgui-5.28.0/lib/libKF5XmlGui.so.5.28.0:
undefined reference to `QIODevice::isTransactionStarted() const@Qt_5'
/gnu/store/…-kcmutils-5.28.0/lib/libKF5KCMUtils.so.5.28.0:
undefined reference to `QIcon::fromTheme(QString const&)@Qt_5'
/gnu/store/…-kpackage-5.28.1/lib/libKF5Package.so.5.28.0:
undefined reference to `qt_QMetaEnum_flagDebugOperator(QDebug&, unsigned
long, int)@Qt_5'
/gnu/store/…-kwindowsystem-5.28.0/lib/libKF5WindowSystem.so.5.28.0:
undefined reference to `QJsonValue::toString() const@Qt_5'
/gnu/store/…-kxmlgui-5.28.0/lib/libKF5XmlGui.so.5.28.0:
undefined reference to
`QListWidget::setSelectionModel(QItemSelectionModel*)@Qt_5'
/gnu/store/…-kxmlgui-5.28.0/lib/libKF5XmlGui.so.5.28.0: undefined
reference to `QString::resize(int, QChar)@Qt_5'

-- 
Regards
Hartmut Goebel

| Hartmut Goebel          | h.goebel@crazy-compilers.com               |
| www.crazy-compilers.com | compilers which you thought are impossible |


[-- Attachment #2: 0xBF773B65.asc --]
[-- Type: application/pgp-keys, Size: 14855 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Curious link error: symbols not found
  2017-03-23 14:33 Curious link error: symbols not found Hartmut Goebel
@ 2017-03-23 14:45 ` Thomas Danckaert
  2017-03-23 14:53   ` Hartmut Goebel
  0 siblings, 1 reply; 3+ messages in thread
From: Thomas Danckaert @ 2017-03-23 14:45 UTC (permalink / raw)
  To: h.goebel; +Cc: guix-devel

From: Hartmut Goebel <h.goebel@crazy-compilers.com>
Subject: Curious link error: symbols not found
Date: Thu, 23 Mar 2017 15:33:46 +0100

> Hi,
>
> just today I tried to compile "ktouch", a KDE and QT application. 
> This
> failed with *link* errors (see below), which I find very curious.
>
> Let's look at the first error message: To my understanding.the 
> package
> "kcmutils" should reference to *exactly* the version of Qt (or what
> ever), it was build for. So how can it be that some symbol is not 
> found?
>
> I tried force-re-building qtbase and the effected packed (as listed
> below), but this did not solve the issue.
>
> /gnu/store/…-kcmutils-5.28.0/lib/libKF5KCMUtils.so.5.28.0:
> undefined reference to `qt_version_tag@Qt_5.7'
> [...]

Perhaps the monolithic Qt (which is at 5.6x) as well as the modular 
Qt are in your profile? If the so from the monolithic Qt is found by 
the linker (or already at profile creation time, as I think the 2 Qt 
versions would lead to collisions), maybe such errors could occur?

Thomas

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Curious link error: symbols not found
  2017-03-23 14:45 ` Thomas Danckaert
@ 2017-03-23 14:53   ` Hartmut Goebel
  0 siblings, 0 replies; 3+ messages in thread
From: Hartmut Goebel @ 2017-03-23 14:53 UTC (permalink / raw)
  To: Thomas Danckaert; +Cc: guix-devel

Am 23.03.2017 um 15:45 schrieb Thomas Danckaert:
> Perhaps the monolithic Qt (which is at 5.6x) as well as the modular Qt
> are in your profile?

Bingo! Thanks, exactly this was the problem. Thanks a lot for the quick
answer.

-- 
Regards
Hartmut Goebel

| Hartmut Goebel          | h.goebel@crazy-compilers.com               |
| www.crazy-compilers.com | compilers which you thought are impossible |

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2017-03-23 14:53 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-03-23 14:33 Curious link error: symbols not found Hartmut Goebel
2017-03-23 14:45 ` Thomas Danckaert
2017-03-23 14:53   ` Hartmut Goebel

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.