All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH-proposal] fix vlc building (-fPIC error) by patching live555 recipe
@ 2011-07-06 15:20 Sylvain Paré
  2011-07-06 15:34 ` Denis 'GNUtoo' Carikli
  0 siblings, 1 reply; 7+ messages in thread
From: Sylvain Paré @ 2011-07-06 15:20 UTC (permalink / raw)
  To: openembedded-devel

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

Hi,

Attached a patch to fix this kind of error while building VLC :

libliveMedia.a: relocation R_ARM_MOVW_ABS_NC against `a local symbol' can
not be used when making a shared object; recompile with -fPIC
|
/home/sylvain/dev/SHR-Build/shr-unstable/tmp/sysroots/armv7a-oe-linux-gnueabi/usr/lib/libliveMedia.a:
could not read symbols: Bad value
| collect2: ld returned 1 exit status

Let me know if it is not good enough, and if the patch is accepted.

Thanks by advance.

Regards,

Sylvain Paré (aka GarthPS)

[-- Attachment #2: fix-fPIC-error-onbuilding-vlc.patch --]
[-- Type: application/octet-stream, Size: 445 bytes --]

diff --git a/recipes/live555/live555.inc b/recipes/live555/live555.inc
index 14e97bb..7951b46 100644
--- a/recipes/live555/live555.inc
+++ b/recipes/live555/live555.inc
@@ -18,7 +18,9 @@ TARGET_CC_ARCH += "${LDFLAGS}"
 
 do_configure() {
 	cp ${WORKDIR}/config.linux-cross .
+        echo "COMPILE_OPTS+=" -fPIC "" >> config.linux-cross
 	./genMakefiles linux-cross
+        find . -name 'Makefile' -exec fix-makefile {} \;
 }
 
 do_compile() {

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

end of thread, other threads:[~2011-07-08  7:56 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-07-06 15:20 [PATCH-proposal] fix vlc building (-fPIC error) by patching live555 recipe Sylvain Paré
2011-07-06 15:34 ` Denis 'GNUtoo' Carikli
2011-07-06 20:31   ` Sylvain Paré
2011-07-06 21:44     ` Sylvain Paré
2011-07-06 21:55       ` Sylvain Paré
2011-07-08  5:07       ` Khem Raj
2011-07-08  7:51         ` Sylvain Paré

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.