[PATCH] coreutils/lib/regex.c fix for missing __mempcpy()

Rob uclibc at paypc.com
Thu Nov 24 14:43:28 UTC 2005


I'm a bit on shakier ground with this patch - for some reason, this library
tries to call __mempcpy() instead of mempcpy().  This isn't found in the
uclibc libc.so, which seems easily fixed.

Thus:

>>>>

./lib/libfetish.a(closeout.o): In function `close_stdout':
closeout.c:(.text+0xb4): warning:
./lib/libfetish.a(regex.o): In function `regerror':
regex.c:(.text+0x5d2c): undefined reference to `__mempcpy'
collect2: ld returned 1 exit status
make[4]: *** [csplit] Error 1
make[4]: Leaving directory `/rootnew/buildroot/build_i686/coreutils-5.2.1/src'

<<<<

Of course, I have not read through the evolution of the uclibc stuff, and
plumbed the mindsets behind these various renamings and __hidden attribute stuff.

All I know is that it seems to fix the build and the tools I've tried seem to
work OK.

The patch can be dropped into the package/coreutils-xx directory.

=Rob=


-------------- next part --------------
A non-text attachment was scrubbed...
Name: coreutils.patch
Type: application/octet-stream
Size: 477 bytes
Desc: not available
Url : http://lists.busybox.net/pipermail/uclibc/attachments/20051125/8d7b50f5/attachment.obj 


More information about the uClibc mailing list