Subject: build failure in regress/lib/libc/string (undefined ref to memmem) (patch included)
To: None <current-users@netbsd.org>
From: Sean Davis <dive-nb@endersgame.net>
List: current-users
Date: 03/13/2005 15:32:17
Hi, since I'm not sure if this is fixed in CVS or not, I'm just posting the
patch here. This fixes the failure for me (it looks like somebody made a
pasto in lib/libc/string/Makefile.inc)

Index: lib/libc/string/Makefile.inc
===================================================================
RCS file: /disks/wd1a/nb/anoncvs/src/lib/libc/string/Makefile.inc,v
retrieving revision 1.55
diff -u -r1.55 Makefile.inc
--- lib/libc/string/Makefile.inc	13 Mar 2005 15:15:13 -0000	1.55
+++ lib/libc/string/Makefile.inc	13 Mar 2005 20:24:59 -0000
@@ -39,7 +39,7 @@
 SRCS+=	memcpy.c
 .endif
 .if empty(SRCS:Mmemmem.S)
-SRCS+=	memmove.c
+SRCS+=	memmem.c
 .endif
 .if empty(SRCS:Mmemmove.S)
 SRCS+=	memmove.c

- Sean

--
 _
( ) ASCII Ribbon Campaign
 X
/ \ For Plain Text Email