Package Details: swfdec-mozilla-xembed 0.9.2-4

Git Clone URL: https://aur.archlinux.org/swfdec-mozilla-xembed.git (read-only, click to copy)
Package Base: swfdec-mozilla-xembed
Description: Simplified version of swfdec-mozilla that works in Chromium
Upstream URL: http://swfdec.freedesktop.org
Licenses: LGPL
Submitter: ConnorBehan
Maintainer: ConnorBehan
Last Packager: ConnorBehan
Votes: 1
Popularity: 0.000000
First Submitted: 2010-09-04 19:41 (UTC)
Last Updated: 2023-04-12 21:51 (UTC)

Dependencies (2)

Required by (0)

Sources (1)

Latest Comments

dreieck commented on 2023-04-11 12:36 (UTC) (edited on 2023-04-11 12:37 (UTC) by dreieck)

I get an error while linking:

gcc -shared -o libswfdecmozilla.so `pkg-config --libs swfdec-gtk-0.9` `pkg-config --libs nspr` plugin.o swfmoz.o npshell.o npunix.o
/usr/bin/ld: npunix.o: warning: relocation against `Private_NewStream' in read-only section `.text'
/usr/bin/ld: npunix.o: relocation R_X86_64_PC32 against symbol `Private_New' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: final link failed: bad value
collect2: error: ld returned 1 exit status
make: *** [Makefile:13: all] Error 1

CFLAGS in /etc/makepkg.conf contain -fPIC:

CFLAGS="  -g0 -march=x86-64 -mtune=native -O3 -flto -ffat-lto-objects -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -fomit-frame-pointer -fPIC"

Regards!

micwoj92 commented on 2021-04-15 05:35 (UTC)

I just tried compiling manually and it worked, guess I made some typo in PKGBUILD then...

micwoj92 commented on 2021-03-29 05:45 (UTC)

Yes, it still doesn't work.

ConnorBehan commented on 2021-03-29 05:28 (UTC)

The only box where I have swfdec is i686 and it works there. Did you try adding -fPIC to CFLAGS?

micwoj92 commented on 2021-03-29 04:51 (UTC)

Fails with the same error as reported by dreieck, could this package be fixed or otherwise deleted?

FredBezies commented on 2021-03-12 12:04 (UTC)

Flash is dead in 2021, so are flash rewriting technologies.

dreieck commented on 2019-02-12 08:48 (UTC)

Fails to build for me:

gcc -shared -o libswfdecmozilla.so `pkg-config --libs swfdec-gtk-0.9` `pkg-config --libs nspr` plugin.o swfmoz.o npshell.o npunix.o /sbin/ld: npunix.o: relocation R_X86_64_PC32 against symbol `Private_New' can not be used when making a shared object; recompile with -fPIC /sbin/ld: final link failed: bad value collect2: error: ld returned 1 exit status make: *** [Makefile:13: all] Error 1 ==> ERROR: A failure occurred in build(). Aborting...

Also, habe you already considered the comment from 2010-12-06?

<deleted-account> commented on 2010-12-06 22:11 (UTC)

I am a robot. This is not an official message. AUR guidelines suggest to not include binaries. Examples: swfdec-mozilla-xembed/swfdec-mozilla-xembed-0.9.2.tar.gz Feel free to disregard this as you would any other comment. This robot will not post here again.