[Buildroot] undefined reference to `bcopy' - what's changed?

Ivan Kuten ivan.kuten at promwad.com
Sat Sep 29 22:04:26 UTC 2007


Bernhard Fischer пишет:
> On Sat, Sep 29, 2007 at 07:28:36PM +0300, Ivan Kuten wrote:
>> Hi,
>>
>> I started getting this error. The same config for ARM920T, just doing svn ups and rebuilding buildroot.
>> Day ago it wasn't there.
> 
> You're trying to use a SUSv3 LEGACY function. I'd fix the package, but
> if you're not converned about bloating your build with LEGACY stuff then
> you can of course turn on support for legacy in uClibc.

Please apply fix:
package/x11r7/xlib_libXfont/xlib_libXfont-1.2.7-bcopy-replacement.patch

diff -urN xlib_libXfont-1.2.7.orig/src/builtins/file.c xlib_libXfont-1.2.7/src/builtins/file.c
--- xlib_libXfont-1.2.7.orig/src/builtins/file.c        2007-01-17 23:49:10.000000000 +0200
+++ xlib_libXfont-1.2.7/src/builtins/file.c     2007-09-30 00:52:55.000000000 +0300
@@ -50,7 +50,7 @@
     len = BUFFILESIZE;
     if (len > left)
        len = left;
-    bcopy (io->file->bits + io->offset, f->buffer, len);
+    memmove (f->buffer, io->file->bits + io->offset, len);
     io->offset += len;
     f->left = len - 1;
     f->bufp = f->buffer + 1;


Best regards,
Ivan

--------------------------------
Embedded Linux engineer,
Promwad Company: http://www.promwad.com/
Homepage : http://www.ivankuten.com/
--------------------------------



More information about the buildroot mailing list