Subject: port-alpha/16472: alpha libkern doesn't include strtoul()
To: None <gnats-bugs@gnats.netbsd.org>
From: None <khym@azeotrope.org>
List: netbsd-bugs
Date: 04/24/2002 00:17:49
>Number:         16472
>Category:       port-alpha
>Synopsis:       alpha libkern doesn't include strtoul()
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    port-alpha-maintainer
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Apr 23 22:19:00 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator:     Dave Huang
>Release:        NetBSD 1.5ZB
>Organization:
Name: Dave Huang         |  Mammal, mammal / their names are called /
INet: khym@azeotrope.org |  they raise a paw / the bat, the cat /
FurryMUCK: Dahan         |  dolphin and dog / koala bear and hog -- TMBG
Dahan: Hani G Y+C 26 Y++ L+++ W- C++ T++ A+ E+ S++ V++ F- Q+++ P+ B+ PA+ PL++
>Environment:
	
	
System: NetBSD yerfable.azeotrope.org 1.5ZB NetBSD 1.5ZB (YERFABLE) #185: Tue Mar 12 04:10:02 CST 2002 khym@yerfable.azeotrope.org:/usr/src.local/sys/arch/alpha/compile/YERFABLE alpha
Architecture: alpha
Machine: alpha
>Description:
	The alpha libkern doesn't include strtoul(), which is required
by dev/pcmcia/if_wi_pcmcia.c
>How-To-Repeat:
	Try to build an alpha kernel that includes the wi driver and
watch the link fail.
>Fix:
Index: Makefile.inc
===================================================================
RCS file: /cvsroot/syssrc/sys/lib/libkern/arch/alpha/Makefile.inc,v
retrieving revision 1.22
diff -u -r1.22 Makefile.inc
--- Makefile.inc	2001/07/13 00:04:00	1.22
+++ Makefile.inc	2002/04/24 05:15:52
@@ -7,7 +7,7 @@
 	memchr.c memcmp.c memcpy.S memmove.S memset.c \
 	softfloat.c \
 	strcat.c strcmp.c strcpy.c strlen.c strcasecmp.c \
-	strncasecmp.c strncmp.c strncpy.c \
+	strncasecmp.c strncmp.c strncpy.c strtoul.c \
 	scanc.c skpc.c \
 	random.c
>Release-Note:
>Audit-Trail:
>Unformatted: