<div><em>Hi all; </em></div>
<div><em></em>&nbsp;</div>
<div><em>I am trying to cross compile dropbear package outside the snapgear source tree for and embedded <br>solution running ARM-linux on IXP425 Big endian system.&nbsp; </em></div>
<div><em></em>&nbsp;</div>
<div><i>The package builds correctly using make PROGRAMS=&quot;dropbear scp&quot; with options CC=arm-linux-gcc -mbig-endian.&nbsp;</i></div>
<div><i>But, when I download and execute the scp: ELF 32-bit MSB executable, ARM ,version 1 (ARM), for GNU/Linux 2.0.0, dynamically linked</i></div>
<div><i>(uses shared libs), for GNU/Linux 2.0.0, not stripped ...into my board, I get the following error..</i></div>
<div><i></i>&nbsp;</div>
<div><i># ./scp<br>libc.so.6: aborted attempt to load ./scp!</i></div>
<div><em></em>&nbsp;</div>
<div><em>Snap shots of few libraries on the /lib of the target board are </em></div>
<div><em></em>&nbsp;</div>
<div>&nbsp;0 lrwxrwxrwx&nbsp;&nbsp;&nbsp; 1 0&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 24 ld-linux.so.2 -&gt; /lib/<a href="http://ld-uClibc-0.9.27.so">ld-uClibc-0.9.27.so</a><br>&nbsp; 22 -rwxrwxrwx&nbsp;&nbsp;&nbsp; 1 0&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 21312 <a href="http://ld-uClibc-0.9.27.so">ld-uClibc-0.9.27.so</a><br>
&nbsp;&nbsp; 0 lrwxrwxrwx&nbsp;&nbsp;&nbsp; 1 0&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 19 ld-uClibc.so.0 -&gt; <a href="http://ld-uClibc-0.9.27.so">ld-uClibc-0.9.27.so</a><br>&nbsp;&nbsp; 0 lrwxrwxrwx&nbsp;&nbsp;&nbsp; 1 0&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 19 libc.so.0 -&gt; <a href="http://libuClibc-0.9.27.so">libuClibc-0.9.27.so</a><br>
&nbsp; 11 -rw-rw-rw-&nbsp;&nbsp;&nbsp; 1 0&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 10688 <a href="http://libcrypt-0.9.27.so">libcrypt-0.9.27.so</a><br>&nbsp;&nbsp; 0 lrwxrwxrwx&nbsp;&nbsp;&nbsp; 1 0&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 18 libcrypt.so.0 -&gt; <a href="http://libcrypt-0.9.27.so">libcrypt-0.9.27.so</a></div>

<div>&nbsp;930 -rwxr-xr-x&nbsp;&nbsp;&nbsp; 1 0&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 946960 libcrypto.so.0.9.8<br>73 -rw-rw-rw-&nbsp;&nbsp;&nbsp; 1 0&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 276256 <a href="http://libuClibc-0.9.27.so">libuClibc-0.9.27.so</a><br>&nbsp;&nbsp; 5 -rw-rw-rw-&nbsp;&nbsp;&nbsp; 1 0&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 4120 <a href="http://libutil-0.9.27.so">libutil-0.9.27.so</a><br>
&nbsp;&nbsp; 0 lrwxrwxrwx&nbsp;&nbsp;&nbsp; 1 0&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 17 libutil.so.0 -&gt; <a href="http://libutil-0.9.27.so">libutil-0.9.27.so</a><br></div>
<div><i></i>&nbsp;</div>
<div><i>I think I&#39;m getting this error because I&#39;m using the snapgear packages with <br>uClibc instead of glibc and tool chain arm-linux-tools-20061213.tar.gz.</i></div>
<div><em></em>&nbsp;</div>
<div><i>Any ideas on how to correct this in the makefiles to use the correct<br>dynamic linking libraries? </i></div>
<div><i></i>&nbsp;</div>
<div><i>Thanks<br>Sara</i></div>
<div><em></em>&nbsp;</div>