[oe] vlc failed to build here ( palmpre2, SHR ) -fPIC thing

Sylvain Paré sylvain.pare at gmail.com
Fri May 20 15:11:35 UTC 2011


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 at 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 at 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 at lists.openembedded.org
> > http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
>
>
>
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel at lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
>



More information about the Openembedded-devel mailing list