[opensuse-packaging] Undefined references at time of linking

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? -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-packaging+help@opensuse.org

2010/12/25 Ilya Chernykh <neptunia@mail.ru>:
Usually, patch it to make it link against the libraries that provide those references. Otherwise, add an "export SUSE_ASNEEDED=0". -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-packaging+help@opensuse.org

On Saturday 25 December 2010 16:10:50 Cristian Morales Vega wrote:
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. -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-packaging+help@opensuse.org

On Sat, Dec 25, 2010 at 10:26 AM, Ilya Chernykh <neptunia@mail.ru> wrote:
Then you are not linking all the required libraries (aka."underlinking") post a link to the build log to see what lib are you missing. -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-packaging+help@opensuse.org

On Saturday 25 December 2010 18:22:31 Cristian Rodríguez wrote:
Here is it: https://build.opensuse.org/package/show?package=kyum&project=home%3AAnsus%3A... -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-packaging+help@opensuse.org

On Sat, Dec 25, 2010 at 04:26:24PM +0300, Ilya Chernykh wrote:
If you can give us a reference to the logfile we could perhaps help. Ciao, Marcus -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-packaging+help@opensuse.org

On Saturday 25 December 2010 20:04:07 Marcus Meissner wrote:
Here is it: https://build.opensuse.org/package/show?package=kyum&project=home%3AAnsus%3A... -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-packaging+help@opensuse.org

On Sat, Dec 25, 2010 at 08:08:34PM +0300, Ilya Chernykh wrote:
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@opensuse.org For additional commands, e-mail: opensuse-packaging+help@opensuse.org

-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 El 29/12/10 09:11, Ilya Chernykh escribió:
On Wednesday 29 December 2010 14:19:46 Marcus Meissner wrote:
Perhaps change it to "update_admin --no-unsermake || true"
Ask for help in opensuse-kde list maybe, there is nothing wrong in the build system, only buggy makefiles. -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.15 (GNU/Linux) Comment: Using GnuPG with SUSE - http://enigmail.mozdev.org/ iEYEARECAAYFAk0b0WMACgkQhbiInYWJi9M6hACfd6WJZMYKqL9AXKnZaqmo7ZEB zz8An0rnrBOoWXe+i0mY5J5OxIZtKg9o =T555 -----END PGP SIGNATURE----- -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-packaging+help@opensuse.org

2010/12/25 Ilya Chernykh <neptunia@mail.ru>:
Usually, patch it to make it link against the libraries that provide those references. Otherwise, add an "export SUSE_ASNEEDED=0". -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-packaging+help@opensuse.org

On Saturday 25 December 2010 16:10:50 Cristian Morales Vega wrote:
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. -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-packaging+help@opensuse.org

On Sat, Dec 25, 2010 at 10:26 AM, Ilya Chernykh <neptunia@mail.ru> wrote:
Then you are not linking all the required libraries (aka."underlinking") post a link to the build log to see what lib are you missing. -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-packaging+help@opensuse.org

On Saturday 25 December 2010 18:22:31 Cristian Rodríguez wrote:
Here is it: https://build.opensuse.org/package/show?package=kyum&project=home%3AAnsus%3A... -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-packaging+help@opensuse.org

On Sat, Dec 25, 2010 at 04:26:24PM +0300, Ilya Chernykh wrote:
If you can give us a reference to the logfile we could perhaps help. Ciao, Marcus -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-packaging+help@opensuse.org

On Saturday 25 December 2010 20:04:07 Marcus Meissner wrote:
Here is it: https://build.opensuse.org/package/show?package=kyum&project=home%3AAnsus%3A... -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-packaging+help@opensuse.org
participants (4)
-
Cristian Morales Vega
-
Cristian Rodríguez
-
Ilya Chernykh
-
Marcus Meissner