From: Arnout Vandecappelle <arnout@mind.be>
To: buildroot@busybox.net
Subject: [Buildroot] Adding a ModemManager package
Date: Sun, 17 Feb 2013 22:29:22 +0100 [thread overview]
Message-ID: <51214BB2.4090907@mind.be> (raw)
In-Reply-To: <51210E6F.6000504@gmail.com>
On 17/02/13 18:07, Shawn J. Goff wrote:
> I'm trying to add a ModemManager package. While building, I'm getting
> this error during the installation step: "/usr/lib/libgcc_s.so: file not
> recognized: File format not recognized". This looks like it's looking at
> my host's libgcc_s.so instead of the target's version. If that's the case
> I'm not sure why or how to fix it. I did have to use autogen.sh to create
> the configure script and lots of other stuff; I did this on my host
> system, so I'm not sure if that is affecting it.
Hi Shawn,
I haven't been able to reproduce your issue because your patch didn't
include the libqmi package. However, it is very well possible that the
issue is caused by running 'autogen.sh'. Is it possible that the libtool
patch doesn't get applied? I see that libtool adds "-rpath /usr/lib" to
the link command, and I believe the libtool patch removes exactly that.
To create configure properly, you need to set _AUTORECONF to YES, as
mentioned by Thomas. Unfortunately, that is not so easy...
- modem-manager uses gettext macros provided by the gettext package, so
you need to add host-gettext to the dependencies. But host-gettext
doesn't exist yet - I'll send a patch to add it.
- modem-manager requires gtkdocize to be run. We certainly don't want to
add gtkdocize to buildroot. But since it just generates two files for a
total of 350 lines, it's easy to add that with a package patch.
Hopefully this will help you to solve the problem.
Regards,
Arnout
--
Arnout Vandecappelle arnout at mind be
Senior Embedded Software Architect +32-16-286500
Essensium/Mind http://www.mind.be
G.Geenslaan 9, 3001 Leuven, Belgium BE 872 984 063 RPR Leuven
LinkedIn profile: http://www.linkedin.com/in/arnoutvandecappelle
GPG fingerprint: 7CB5 E4CC 6C2E EFD4 6E3D A754 F963 ECAB 2450 2F1F
next prev parent reply other threads:[~2013-02-17 21:29 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-02-17 17:07 [Buildroot] Adding a ModemManager package Shawn J. Goff
2013-02-17 17:31 ` Thomas Petazzoni
2013-02-17 17:56 ` Shawn J. Goff
2013-02-17 18:17 ` Thomas Petazzoni
2013-02-17 21:29 ` Arnout Vandecappelle [this message]
2013-02-17 21:35 ` [Buildroot] [PATCH] gettext: add host-gettext Arnout Vandecappelle
2013-02-17 23:22 ` [Buildroot] Adding a ModemManager package Shawn J. Goff
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=51214BB2.4090907@mind.be \
--to=arnout@mind.be \
--cc=buildroot@busybox.net \
/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.