All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Sylvain Paré" <sylvain.pare@gmail.com>
To: openembedded-devel@lists.openembedded.org
Subject: Re: vlc failed to build here ( palmpre2, SHR ) -fPIC thing
Date: Fri, 20 May 2011 17:11:35 +0200	[thread overview]
Message-ID: <BANLkTik5rGXsF6O59bweGS+okP8+92mAzA@mail.gmail.com> (raw)
In-Reply-To: <1305883809.15084.3.camel@phil-desktop>

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
>


  reply	other threads:[~2011-05-20 15:14 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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é [this message]
2011-05-20 15:40       ` Koen Kooi

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=BANLkTik5rGXsF6O59bweGS+okP8+92mAzA@mail.gmail.com \
    --to=sylvain.pare@gmail.com \
    --cc=openembedded-devel@lists.openembedded.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.