Subject: lib/3487: inet_neta.c fails to compile for Alpha (and other 64-bit? arch?)
To: None <gnats-bugs@gnats.netbsd.org>
From: John Franklin <franklin@elfie.bevc.blacksburg.va.us>
List: netbsd-bugs
Date: 04/13/1997 22:30:27
>Number:         3487
>Category:       lib
>Synopsis:       inet_neta.c fails to compile for Alpha (and other 64-bit? arch?)
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    lib-bug-people (Library Bug People)
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun Apr 13 19:35:01 1997
>Last-Modified:
>Originator:     John Franklin
>Organization:
	
>Release:        NetBSD-current sup'd 13 April 1997 6pm EDT
>Environment:
	
System: NetBSD elfie.bevc.blacksburg.va.us 1.2D NetBSD 1.2D (YOSSARIAN) #0: Thu Apr 10 05:32:53 EDT 1997 root@elfie.bevc.blacksburg.va.us:/home/src/sys/arch/alpha/compile/YOSSARIAN alpha


>Description:
	The file inet_neta.c fails to compile due to a missing #include.
	See below.

cc -O -DNLS -DYP -DLIBC_SCCS -DSYSLIBC_SCCS -D_REENTRANT -I/home/src/lib/libc/include -D__DBINTERFACE_PRIVATE -DPOSIX_MISTAKE -DFLOATING_POINT  -Werror  -c /home/src/lib/libc/net/inet_neta.c
cc1: warnings being treated as errors
/home/src/lib/libc/net/inet_neta.c: In  function `inet_neta':
/home/src/lib/libc/net/inet_neta.c:81: warning: type mismatch in implicit declaration for built-in function `strcpy'
*** Error code 1

>How-To-Repeat:
	Try to build inet_neta.c from the latest sup on an Alpha (possibly
	other 64-bit arch)
>Fix:
	Add #include <string.h> to the top of the file.
>Audit-Trail:
>Unformatted: