Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] mii-diag static problem
@ 2012-06-27 13:50 jonas at jonas-keidel.de
  2012-06-27 14:12 ` Baruch Siach
  2012-06-27 14:23 ` Jonas Keidel
  0 siblings, 2 replies; 4+ messages in thread
From: jonas at jonas-keidel.de @ 2012-06-27 13:50 UTC (permalink / raw)
  To: buildroot

Hey guys,

i've got some troubles to get mii-diag compiled with static libraries 
for my busybox enviroment. Is there any usable patch to get this work or 
what shall i change in the buildroot config?

Thx for helping!

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

* [Buildroot] mii-diag static problem
  2012-06-27 13:50 [Buildroot] mii-diag static problem jonas at jonas-keidel.de
@ 2012-06-27 14:12 ` Baruch Siach
  2012-06-27 14:23 ` Jonas Keidel
  1 sibling, 0 replies; 4+ messages in thread
From: Baruch Siach @ 2012-06-27 14:12 UTC (permalink / raw)
  To: buildroot

Hi Jonas,

On Wed, Jun 27, 2012 at 03:50:49PM +0200, jonas at jonas-keidel.de wrote:
> i've got some troubles to get mii-diag compiled with static
> libraries for my busybox enviroment. Is there any usable patch to
> get this work or what shall i change in the buildroot config?

Please post your .config file, and the error message you see in your build 
attempt.

baruch

-- 
     http://baruch.siach.name/blog/                  ~. .~   Tk Open Systems
=}------------------------------------------------ooO--U--Ooo------------{=
   - baruch at tkos.co.il - tel: +972.2.679.5364, http://www.tkos.co.il -

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

* [Buildroot] mii-diag static problem
  2012-06-27 13:50 [Buildroot] mii-diag static problem jonas at jonas-keidel.de
  2012-06-27 14:12 ` Baruch Siach
@ 2012-06-27 14:23 ` Jonas Keidel
  2012-06-27 20:08   ` Peter Korsgaard
  1 sibling, 1 reply; 4+ messages in thread
From: Jonas Keidel @ 2012-06-27 14:23 UTC (permalink / raw)
  To: buildroot

Hey baruch,

There is noch error message, i just need to get mii-diag (or even better
mii-tool) compiled the static way, so that it will work with busybox and my
configuration. Is that possible?

Thx a lot.
Am 27.06.2012 15:50 schrieb <jonas@jonas-keidel.de>:

> Hey guys,
>
> i've got some troubles to get mii-diag compiled with static libraries for
> my busybox enviroment. Is there any usable patch to get this work or what
> shall i change in the buildroot config?
>
> Thx for helping!
> ______________________________**_________________
> buildroot mailing list
> buildroot at busybox.net
> http://lists.busybox.net/**mailman/listinfo/buildroot<http://lists.busybox.net/mailman/listinfo/buildroot>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20120627/9064f137/attachment-0001.html>

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

* [Buildroot] mii-diag static problem
  2012-06-27 14:23 ` Jonas Keidel
@ 2012-06-27 20:08   ` Peter Korsgaard
  0 siblings, 0 replies; 4+ messages in thread
From: Peter Korsgaard @ 2012-06-27 20:08 UTC (permalink / raw)
  To: buildroot

>>>>> "Jonas" == Jonas Keidel <jonas@jonas-keidel.de> writes:

 Jonas> Hey baruch,

 Jonas> There is noch error message, i just need to get mii-diag (or
 Jonas> even better mii-tool) compiled the static way, so that it will
 Jonas> work with busybox and my configuration. Is that possible?

We have the 'Build options->prefer static libraries' option, but
mii-diag wasn't following it until a few minutes ago when I committed a
fix (a0f965d).

With that fixed, it works:

file output/target/usr/sbin/mii-diag
output/target/usr/sbin/mii-diag: ELF 32-bit LSB executable, ARM, version 1 (SYSV), statically linked, stripped

cat defconfig
BR2_arm=y
BR2_arm926t=y
BR2_PREFER_STATIC_LIB=y
BR2_PACKAGE_MII_DIAG=y

So with latest git it is possible.

-- 
Bye, Peter Korsgaard

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

end of thread, other threads:[~2012-06-27 20:08 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-06-27 13:50 [Buildroot] mii-diag static problem jonas at jonas-keidel.de
2012-06-27 14:12 ` Baruch Siach
2012-06-27 14:23 ` Jonas Keidel
2012-06-27 20:08   ` Peter Korsgaard

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