All of lore.kernel.org
 help / color / mirror / Atom feed
* vlc failed to build here ( palmpre2, SHR ) -fPIC thing
@ 2011-05-17 21:38 Sylvain Paré
  2011-05-20  8:48 ` Sylvain Paré
  0 siblings, 1 reply; 5+ messages in thread
From: Sylvain Paré @ 2011-05-17 21:38 UTC (permalink / raw)
  To: openembedded-devel

Hello,

I have refreesh my build here so I tried again to build VLC for my palm pre2
but It does not succeed here :

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

long version http://pastebin.com/Cvd6pnuj

I have tried several ways to pass -fPIC argument to live555 recipe but
without any success..

Does some one has a clue ?

Thanks by advance.

Regards,

Sylvain


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

* Re: vlc failed to build here ( palmpre2, SHR ) -fPIC thing
  2011-05-17 21:38 vlc failed to build here ( palmpre2, SHR ) -fPIC thing Sylvain Paré
@ 2011-05-20  8:48 ` Sylvain Paré
  2011-05-20  9:30   ` Phil Blundell
  0 siblings, 1 reply; 5+ messages in thread
From: Sylvain Paré @ 2011-05-20  8:48 UTC (permalink / raw)
  To: openembedded-devel

Please does someone has a clue  about this   -fpic flag ?


2011/5/17 Sylvain Paré <sylvain.pare@gmail.com>

> Hello,
>
> I have refreesh my build here so I tried again to build VLC for my palm
> pre2 but It does not succeed here :
>
> 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
>
> long version http://pastebin.com/Cvd6pnuj
>
> I have tried several ways to pass -fPIC argument to live555 recipe but
> without any success..
>
> Does some one has a clue ?
>
> Thanks by advance.
>
> Regards,
>
> Sylvain
>
>
>


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

* Re: vlc failed to build here ( palmpre2, SHR ) -fPIC thing
  2011-05-20  8:48 ` Sylvain Paré
@ 2011-05-20  9:30   ` Phil Blundell
  2011-05-20 15:11     ` Sylvain Paré
  0 siblings, 1 reply; 5+ messages in thread
From: Phil Blundell @ 2011-05-20  9:30 UTC (permalink / raw)
  To: openembedded-devel

What are the ways that you've already tried?

p.

On Fri, 2011-05-20 at 10:48 +0200, Sylvain Paré wrote:
> Please does someone has a clue  about this   -fpic flag ?
> 
> 
> 2011/5/17 Sylvain Paré <sylvain.pare@gmail.com>
> 
> > Hello,
> >
> > I have refreesh my build here so I tried again to build VLC for my palm
> > pre2 but It does not succeed here :
> >
> > 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
> >
> > long version http://pastebin.com/Cvd6pnuj
> >
> > I have tried several ways to pass -fPIC argument to live555 recipe but
> > without any success..
> >
> > Does some one has a clue ?
> >
> > Thanks by advance.
> >
> > Regards,
> >
> > Sylvain
> >
> >
> >
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel@lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel





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

* Re: vlc failed to build here ( palmpre2, SHR ) -fPIC thing
  2011-05-20  9:30   ` Phil Blundell
@ 2011-05-20 15:11     ` Sylvain Paré
  2011-05-20 15:40       ` Koen Kooi
  0 siblings, 1 reply; 5+ messages in thread
From: Sylvain Paré @ 2011-05-20 15:11 UTC (permalink / raw)
  To: openembedded-devel

Ok here I don't get it...
To be sure of what I would advance I did again some research/tests
and went for first time to make it compli but as I was not sure of how/why I
save my changes and
did update my build host but then bitbake vlc worked perfectly! without any
trouble!
So I don't understand... I added some things like that in live555.inc and in
vlc.inc
CFLAGS_append_armv7a = " -fPIC "
CFLAGS += " -fPIC "

or this in the do_configure of live555.inc
CFLAGS+=" -fPIC "

Thanks anyway!
Perhaps I will not be lucky everyday! :)
Greetings.

Sylvain




2011/5/20 Phil Blundell <philb@gnu.org>

> What are the ways that you've already tried?
>
> p.
>
> On Fri, 2011-05-20 at 10:48 +0200, Sylvain Paré wrote:
> > Please does someone has a clue  about this   -fpic flag ?
> >
> >
> > 2011/5/17 Sylvain Paré <sylvain.pare@gmail.com>
> >
> > > Hello,
> > >
> > > I have refreesh my build here so I tried again to build VLC for my palm
> > > pre2 but It does not succeed here :
> > >
> > > 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
> > >
> > > long version http://pastebin.com/Cvd6pnuj
> > >
> > > I have tried several ways to pass -fPIC argument to live555 recipe but
> > > without any success..
> > >
> > > Does some one has a clue ?
> > >
> > > Thanks by advance.
> > >
> > > Regards,
> > >
> > > Sylvain
> > >
> > >
> > >
> > _______________________________________________
> > Openembedded-devel mailing list
> > Openembedded-devel@lists.openembedded.org
> > http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
>
>
>
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel@lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
>


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

* Re: vlc failed to build here ( palmpre2, SHR ) -fPIC thing
  2011-05-20 15:11     ` Sylvain Paré
@ 2011-05-20 15:40       ` Koen Kooi
  0 siblings, 0 replies; 5+ messages in thread
From: Koen Kooi @ 2011-05-20 15:40 UTC (permalink / raw)
  To: openembedded-devel

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 20-05-11 17:11, Sylvain Paré wrote:
> Ok here I don't get it...
> To be sure of what I would advance I did again some research/tests
> and went for first time to make it compli but as I was not sure of how/why I
> save my changes and
> did update my build host but then bitbake vlc worked perfectly! without any
> trouble!
> So I don't understand... I added some things like that in live555.inc and in
> vlc.inc
> CFLAGS_append_armv7a = " -fPIC "
> CFLAGS += " -fPIC "
> 
> or this in the do_configure of live555.inc
> CFLAGS+=" -fPIC "

I have a local change doing something similar, let me see if I can clean
it up and push.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (Darwin)

iD8DBQFN1ouHMkyGM64RGpERAtRMAKCmlXoWOWc3ohsbbeVIwXIVYl8cyQCcD8Z4
1lvovde/kC1g211BwXXtYqo=
=WWHC
-----END PGP SIGNATURE-----




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

end of thread, other threads:[~2011-05-20 15:44 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-05-17 21:38 vlc failed to build here ( palmpre2, SHR ) -fPIC thing Sylvain Paré
2011-05-20  8:48 ` Sylvain Paré
2011-05-20  9:30   ` Phil Blundell
2011-05-20 15:11     ` Sylvain Paré
2011-05-20 15:40       ` Koen Kooi

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.