[patch] Arm build failure

Paul Brook paul at codesourcery.com
Mon Nov 28 16:28:33 UTC 2005


I'm getting the following build failure on arm-linux:

  LD libuClibc-0.9.28.so
libc/libc_so.a(glob.os): In function `collated_compare':glob.c:(.text+0x1f8): 
undefined reference to `__strcoll'

The patch below fixes it.

Paul

Index: libc/string/arm/strcmp.S
===================================================================
--- libc/string/arm/strcmp.S	(revision 12552)
+++ libc/string/arm/strcmp.S	(working copy)
@@ -49,3 +49,4 @@
 
 .size __strcmp,.-__strcmp
 .weak strcoll ; strcoll = strcmp
+.global __strcoll; __strcoll = strcoll



More information about the uClibc mailing list