On Dez 07 2018, Till Dörges
Problem now is, the %{__make} fails when trying to link the final binary with lots of "undefined reference to" symbols from the external proprietary lib.
That's probably due to SUSE_ASNEEDED, see https://build.opensuse.org/package/view_file/openSUSE:Factory/binutils/binut... and https://github.com/openSUSE/post-build-checks/blob/master/suse-buildsystem.s.... The right way to fix that is to reorder the linker command line so that libraries appear after the objects that reference their symbols.
What does work, is to use root4abuild or similar and then adjust the SPEC file like so
sudo %{__make}
That removes SUSE_ASNEEDED from the environment. Andreas. -- Andreas Schwab, schwab@linux-m68k.org GPG Key fingerprint = 7578 EB47 D4E5 4D69 2510 2552 DF73 E780 A9DA AEC1 "And now for something completely different." -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-buildservice+owner@opensuse.org