<br><br>
<div><span class="gmail_quote">On 9/21/06, <b class="gmail_sendername">Bernhard Fischer</b> <<a href="mailto:rep.nop@aon.at">rep.nop@aon.at</a>> wrote:</span>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">On Wed, Sep 20, 2006 at 09:34:24PM +0800, Qiu Yu wrote:<br>>Hi, all<br>><br>>Paid some effort, I finally got my first buildroot-made rootfs image for
<br>>mipsel platform, but this pleasure did't last long.<br>><br>>When I mount it on my board, after kernel started, I got an error message:<br>>"bin/sh" can't resolve symbol bcopy<br><br>Either enable legacy support in uClibc (i wouldn't do this), or make
<br>sure that busybox doesn't contain bcopy which itself is flagged<br>DEPRECATED<br><br>Same goes for bzero which, too, is deprecated and generates equal size<br>to a plain memset with any reasonable version of gcc anyway.
<br><br>That said, current busybox trunk doesn't contain bcopy, i don't have a<br>1.2 tarball at hand to see if it's erroneously used there.<br><br>Only recently one instance of bzero was erroneously added to busybox:<br>
<a href="http://www.busybox.net/lists/busybox/2006-September/024328.html">http://www.busybox.net/lists/busybox/2006-September/024328.html</a><br><br>If uClibc was cleaned up properly NOT to provide fallback defines behind
<br>your back for e.g. bzero, then you'd have seen a proper compile failure<br>(there most likely was an error about a call to "(bcopy)(s,d,sz)"<br>somewhere in your make output anyway...).<br><br>><br>>I tried to google it, and only got this page "
<br>><a href="http://mailman.uclinux.org/pipermail/uclinux-dev/2006-April/037797.html">http://mailman.uclinux.org/pipermail/uclinux-dev/2006-April/037797.html</a>". I<br>>contacted the guy who sent this message, and he did't find out the cause of
<br>>the problem. All he suggests me is to try different version, and maybe<br>>change some compiler option.<br>><br>>But...any body knows why and how to fix it? Please help me out and thanks!<br>><br>>My buildroot configuration:
<br>><br>>Kernel Headers (Linux 2.4.31 kernel headers)       <-- I'm using Linux<br>>2.4.17 to boot the board, can this be a problem?<br>>Binutils Version (binutils 2.16.1)<br>>GCC compiler Version (gcc 
3.4.2)<br>>uClibc-0.9.28<br>>busybox-1.2.1<br>><br>>--<br>>Qiu, Yu<br>>-----------------------------------------------------------<br>><a href="http://www.unibeing.net/">http://www.unibeing.net</a><br>
>-----------------------------------------------------------<br><br>>_______________________________________________<br>>buildroot mailing list<br>><a href="mailto:buildroot@uclibc.org">buildroot@uclibc.org</a>
<br>><a href="http://busybox.net/mailman/listinfo/buildroot">http://busybox.net/mailman/listinfo/buildroot</a><br></blockquote></div>
<div><br><br clear="all">FYI, I tried busybox 1.3, and the problem no longer exists. :)</div>
<div><br>-- <br>Qiu, Yu<br>-----------------------------------------------------------<br><a href="http://www.unibeing.net">http://www.unibeing.net</a><br>----------------------------------------------------------- </div>