Subject: Build failure of libc on port-alpha
To: #List NetBSD current users <current-users@NetBSD.ORG>
From: Paul Goyette <paul@whooppee.com>
List: current-users
Date: 06/03/2000 07:52:38
Got this while doing a 'make build' on my Alpha this morning:
cc -O2 -DALL_STATE -Wall -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wno-uninitialized -Werror -D_LIBC -DNLS -DYP -DHESIOD -DLIBC_SCCS -DSYSLIBC_SCCS -D_REENTRANT -I/usr/src/lib/libc/include -DINET6 -D__DBINTERFACE_PRIVATE -I/usr/src/lib/libc/../../libexec/ld.elf_so -I/usr/src/lib/libc/dlfcn -DRESOLVSORT -I. -DPOSIX_MISTAKE -DPORTMAP -DFLOATING_POINT -c /usr/src/lib/libc/rpc/clnt_bcast.c
cc1: warnings being treated as errors
/usr/src/lib/libc/rpc/clnt_bcast.c: In function `__rpc_getbroadifs':
/usr/src/lib/libc/rpc/clnt_bcast.c:141: warning: type mismatch in implicit declaration for built-in function `memset'
/usr/src/lib/libc/rpc/clnt_bcast.c:168: warning: type mismatch in implicit declaration for built-in function `memcpy'
*** Error code 1
Looks like rpc/clnt_bcast.c doesn't bother to
#include <string.h>
even though the man page for memcpy says it should! :)
-----------------------------------------------------------------------
| Paul Goyette | PGP DSS Key fingerprint: | E-mail addresses: |
| Network Engineer| BCD7 5301 9513 58A6 0DBC | paul@whooppee.com |
| & kernel hacker | 91EB ADB1 A280 3B79 9221 | pgoyette@juniper.net |
-----------------------------------------------------------------------