Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] staging_dir/usr/lib vs staging_dir/lib
@ 2007-07-31 18:38 Christopher Reder
  2007-08-01  5:59 ` Hans-Christian Egtvedt
  0 siblings, 1 reply; 5+ messages in thread
From: Christopher Reder @ 2007-07-31 18:38 UTC (permalink / raw)
  To: buildroot

It seems like there may be some confusion over what directories to use when
installing/hosting/storing libs.

 

I just pulled down the latest and enabled fbv which selected libungif.  In
doing so, it fails when it tries to remove libs from staging_dir/lib because
the libs are actually in staging_dir/usr/lib.  

 

Where should those libs be?  Are they being installed in the wrong directory
or are they trying to remove them from the wrong directory?

 

Can someone clarify this?  Same thing happened when trying to build libpng
as well when it was trying to cp libs over and it was copying from a
directory where they were not installed.

 

TIA

 

make[3]: Leaving directory
`/home/christopher/svn_buildroot/buildroot/build_arm/libungif-4.1.4/util'

make[2]: Leaving directory
`/home/christopher/svn_buildroot/buildroot/build_arm/libungif-4.1.4/util'

Making install in doc

make[2]: Entering directory
`/home/christopher/svn_buildroot/buildroot/build_arm/libungif-4.1.4/doc'

make[3]: Entering directory
`/home/christopher/svn_buildroot/buildroot/build_arm/libungif-4.1.4/doc'

make[3]: Nothing to be done for `install-exec-am'.

make[3]: Nothing to be done for `install-data-am'.

make[3]: Leaving directory
`/home/christopher/svn_buildroot/buildroot/build_arm/libungif-4.1.4/doc'

make[2]: Leaving directory
`/home/christopher/svn_buildroot/buildroot/build_arm/libungif-4.1.4/doc'

Making install in pic

make[2]: Entering directory
`/home/christopher/svn_buildroot/buildroot/build_arm/libungif-4.1.4/pic'

make[3]: Entering directory
`/home/christopher/svn_buildroot/buildroot/build_arm/libungif-4.1.4/pic'

make[3]: Nothing to be done for `install-exec-am'.

make[3]: Nothing to be done for `install-data-am'.

make[3]: Leaving directory
`/home/christopher/svn_buildroot/buildroot/build_arm/libungif-4.1.4/pic'

make[2]: Leaving directory
`/home/christopher/svn_buildroot/buildroot/build_arm/libungif-4.1.4/pic'

make[2]: Entering directory
`/home/christopher/svn_buildroot/buildroot/build_arm/libungif-4.1.4'

make[3]: Entering directory
`/home/christopher/svn_buildroot/buildroot/build_arm/libungif-4.1.4'

make[3]: Nothing to be done for `install-exec-am'.

make[3]: Nothing to be done for `install-data-am'.

make[3]: Leaving directory
`/home/christopher/svn_buildroot/buildroot/build_arm/libungif-4.1.4'

make[2]: Leaving directory
`/home/christopher/svn_buildroot/buildroot/build_arm/libungif-4.1.4'

make[1]: Leaving directory
`/home/christopher/svn_buildroot/buildroot/build_arm/libungif-4.1.4'

rm
/home/christopher/svn_buildroot/buildroot/build_arm/staging_dir/lib/libungif
.la

rm: cannot remove
`/home/christopher/svn_buildroot/buildroot/build_arm/staging_dir/lib/libungi
f.la': No such file or directory

make: ***
[/home/christopher/svn_buildroot/buildroot/build_arm/staging_dir/lib/libungi
f.a] Error 1

linuxbox:/home/christopher/svn_buildroot/buildroot#

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://busybox.net/lists/buildroot/attachments/20070731/579cd6ff/attachment-0001.htm 

^ permalink raw reply	[flat|nested] 5+ messages in thread
* [Buildroot] staging_dir/usr/lib vs staging_dir/lib
@ 2007-08-02 13:37 Ulf Samuelsson
  0 siblings, 0 replies; 5+ messages in thread
From: Ulf Samuelsson @ 2007-08-02 13:37 UTC (permalink / raw)
  To: buildroot



On Wed, Aug 01, 2007 at 07:59:56AM +0200, Hans-Christian Egtvedt wrote:

>Weird, because staging_dir/usr is a symlink to staging_dir/.

This means that you don't use a toolchain that supports sysroot.

For non-sysroot enabled toolchains we currently symlink staging_dir/usr
to staging_dir because the old, deprecated gcc had quite some trouble
otherwise and i don't care to fix them up (since the current stable
series of gcc work fine for me).

Please note that i, personally didn't enable sysroot support for 4.0.x
 but skhill did (IIRC) so you're better off to use 4.2.1 for this.

=> Will work when we have
    an AVR32 4.2.x.
    Highest revision is 4.1.2
    at the moment.

Best Regards
Ulf Samuelsson

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

end of thread, other threads:[~2007-08-02 13:37 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-07-31 18:38 [Buildroot] staging_dir/usr/lib vs staging_dir/lib Christopher Reder
2007-08-01  5:59 ` Hans-Christian Egtvedt
2007-08-01  7:48   ` [Buildroot] [PATCH] " Hans-Christian Egtvedt
2007-08-02  8:34   ` [Buildroot] " Bernhard Fischer
  -- strict thread matches above, loose matches on Subject: below --
2007-08-02 13:37 Ulf Samuelsson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox