On Sat, 20 Feb 2010, Peter Gammie wrote:
> On 20/02/2010, at 2:38 AM, nxtcomputing wrote:
>
>> I still can't get the iwconfig or other wireless tools to work.
>> I must be doing something wrong or I am going about it the wrong way.
>>
>> I tried to copy iwconfig, iwevent, iwgetid, iwlist, iwpriv, iwspy to
>> /usr/bin.
>>
>> I then try to run the command and i get "/bin/sh: iwconfig: not found"
>
> You also need to copy the shared libraries that iwconfig uses.
>
> 'readelf' (suitably cross-compiled) can tell you what those are.
I've found that the X86 compiled readelf on the host developement
linux machine reads the arm elf binaries ok. e.g. on my host developement
box...
:~/export/cfdisk$ file bin/busybox
bin/busybox: ELF 32-bit LSB executable, ARM, version 1, for GNU/Linux
2.4.3, dynamically linked (uses shared libs), stripped
:~/export/cfdisk$ readelf -d bin/busybox
Dynamic segment at offset 0x871ac contains 21 entries:
Tag Type Name/Value
0x00000001 (NEEDED) Shared library: [libcrypt.so.1]
0x00000001 (NEEDED) Shared library: [libc.so.6]
0x0000000c (INIT) 0xb9fc
0x0000000d (FINI) 0x7439c
0x00000004 (HASH) 0x8128
0x00000005 (STRTAB) 0xa090
0x00000006 (SYMTAB) 0x8ac0
0x0000000a (STRSZ) 2936 (bytes)
0x0000000b (SYMENT) 16 (bytes)
0x00000015 (DEBUG) 0x0
0x00000003 (PLTGOT) 0x97290
0x00000002 (PLTRELSZ) 2624 (bytes)
0x00000014 (PLTREL) REL
0x00000017 (JMPREL) 0xafbc
0x00000011 (REL) 0xaf64
0x00000012 (RELSZ) 88 (bytes)
0x00000013 (RELENT) 8 (bytes)
0x6ffffffe (VERNEED) 0xaec4
0x6fffffff (VERNEEDNUM) 2
0x6ffffff0 (VERSYM) 0xac08
0x00000000 (NULL) 0x0
------------------------------------
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/ts-7000/
<*> Your email settings:
Individual Email | Traditional
<*> To change settings online go to:
http://groups.yahoo.com/group/ts-7000/join
(Yahoo! ID required)
<*> To change settings via email:
<*> To unsubscribe from this group, send an email to:
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
|