Mailinglist Archive: opensuse-packaging (242 mails)

< Previous Next >
Re: [opensuse-packaging] Undefined references at time of linking
  • From: Marcus Meissner <meissner@xxxxxxx>
  • Date: Wed, 29 Dec 2010 12:19:46 +0100
  • Message-id: <20101229111946.GA17894@xxxxxxx>
On Sat, Dec 25, 2010 at 08:08:34PM +0300, Ilya Chernykh wrote:
On Saturday 25 December 2010 20:04:07 Marcus Meissner wrote:

Hi! I've got "undefined reference" error when linking. I tried to
add --no-as-needed option instead of --as-needed but this does not
help. What else can I do?

Usually, patch it to make it link against the libraries that provide
those references. Otherwise, add an "export SUSE_ASNEEDED=0".

I already said this does not work. It even does not affect the linker
options. But even if linker is actually called with --no-as-needed, the
error still remains.

If you can give us a reference to the logfile we could perhaps help.

Here is it:
https://build.opensuse.org/package/show?package=kyum&project=home%3AAnsus%3AKDE3

It looks like the MOC autogenerated files are not linked in.

The kyum.spec file does also not seem to match the raw logfile, the "moc" and
"uic"
calls you do are not visible in the logfile at all, so %prep sections seems to
be aborted
after "update_admin --no-unsermake".

Perhaps change it to "update_admin --no-unsermake || true"

This is also KDE magic I dont understand fully :/

Ciao, Marcus
--
To unsubscribe, e-mail: opensuse-packaging+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-packaging+help@xxxxxxxxxxxx

< Previous Next >
Follow Ups