Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Peter Korsgaard <jacmet@uclibc.org>
To: buildroot@busybox.net
Subject: [Buildroot] sdl demo app install problem
Date: Tue, 22 Jun 2010 16:41:56 +0200	[thread overview]
Message-ID: <87hbkv6sej.fsf@macbook.be.48ers.dk> (raw)
In-Reply-To: <0D753D10438DA54287A00B027084269763715D5D31@AUSP01VMBX24.collaborationhost.net> (H. Hartley Sweeten's message of "Mon, 21 Jun 2010 18:25:24 -0500")

>>>>> "H" == H Hartley Sweeten <hartleys@visionengravers.com> writes:

 H> Hello all,
 H> I'm trying to create package for one of the SDL demo apps in order to
 H> verify that sdl is working on my i.MX35 system.  Here is my *.mk for it:


 H> #############################################################
 H> #
 H> # fire
 H> #
 H> #############################################################

 H> FIRE_VERSION:=1.0
 H> FIRE_SOURCE:=fire-$(FIRE_VERSION).tar.gz
 H> FIRE_SITE:=http://www.libsdl.org/projects/fire/src
 H> FIRE_INSTALL_TARGET:=YES
 H> FIRE_CONF_OPT:=--with-sdl-prefix=$(STAGING_DIR)/usr \
 H> 		--with-sdl-exec-prefix=$(STAGING_DIR)/usr

 H> FIRE_DEPENDENCIES:=sdl

 H> $(eval $(call AUTOTARGETS,package/customize,fire))


 H> BTW, I hijacked the package/customize directory to use for my non
 H> buildroot packages.  This has been working for other stuff so I don't
 H> think it's the problem.

 H> The package gets all the way thru the build stage but it dies
 H> during the install.  Following is the log of the install stage:


 >>>> fire 1.0 Installing to target
 H> /usr/bin/make -j2 DESTDIR=/home/bigguiness/extratech/buildroot/output/target  install-strip -C /home/bigguiness/extratech/buildroot/output/build/fire-1.0/
 H> make[1]: Entering directory `/home/bigguiness/extratech/buildroot/output/build/fire-1.0'
 H> /usr/bin/make  AM_INSTALL_PROGRAM_FLAGS=-s install
 H> make[2]: Entering directory `/home/bigguiness/extratech/buildroot/output/build/fire-1.0'
 H> make[3]: Entering directory `/home/bigguiness/extratech/buildroot/output/build/fire-1.0'
 H> /bin/sh ./mkinstalldirs /home/bigguiness/extratech/buildroot/output/target/usr/bin
 H> make[3]: Nothing to be done for `install-data-am'.
 H>   /usr/bin/install -c -s fire /home/bigguiness/extratech/buildroot/output/target/usr/bin/fire
 H> strip: Unable to recognise the format of the input file `/home/bigguiness/extratech/buildroot/output/target/usr/bin/fire'

install -s calls strip, and it most likely end up using your host strip
rather than your cross-strip.

-- 
Bye, Peter Korsgaard

  parent reply	other threads:[~2010-06-22 14:41 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-06-21 23:25 [Buildroot] sdl demo app install problem H Hartley Sweeten
2010-06-21 23:32 ` Peter Hüwe
2010-06-21 23:41   ` H Hartley Sweeten
2010-06-21 23:47     ` Peter Hüwe
2010-06-21 23:59       ` H Hartley Sweeten
2010-06-22  1:05       ` H Hartley Sweeten
2010-06-22  1:18         ` Peter Hüwe
2010-06-22  6:54 ` Thomas Petazzoni
2010-06-22 14:41 ` Peter Korsgaard [this message]
2010-06-22 15:39   ` H Hartley Sweeten
2010-06-22 20:32     ` Peter Korsgaard
2010-06-23  7:12       ` [Buildroot] On strip and debugging symbols Thomas Petazzoni
2010-06-23  7:40         ` Peter Korsgaard
2010-06-23  8:46           ` Thomas Petazzoni
2010-06-23  9:36             ` Peter Korsgaard
2010-06-23  9:51               ` Thomas Petazzoni
2010-06-23 10:02                 ` Peter Korsgaard
2010-06-23 11:12                   ` Thomas Petazzoni
2010-06-23 11:24                     ` Peter Korsgaard
2010-06-23  9:47             ` William Wagner

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=87hbkv6sej.fsf@macbook.be.48ers.dk \
    --to=jacmet@uclibc.org \
    --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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox