CURRENT/amd64: kernel compil error: /usr/src/sys/fs/nfsclient/nfs_clvfsops.c: In function 'nfs_mount':, /usr/src/sys/fs/nfsclient/nfs_clvfsops.c:1030: warning: passing argument 4 of 'copyinstr' from incompatible pointer type

From: O. Hartmann <ohartman_at_zedat.fu-berlin.de>
Date: Fri, 29 Apr 2011 12:02:15 +0200
Since this morning after updating the sources I get the following error 
while compiling a new kernel:

cc -c -O2 -frename-registers -pipe -fno-strict-aliasing -march=native 
-std=c99  -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes 
-Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual  -Wundef 
-Wno-pointer-sign -fformat-extensions -nostdinc  -I. -I/usr/src/sys 
-I/usr/src/sys/contrib/altq -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS 
-include opt_global.h -fno-common -finline-limit=8000 --param 
inline-unit-growth=100 --param large-function-growth=1000 
-fno-omit-frame-pointer -mcmodel=kernel -mno-red-zone  -mfpmath=387 
-mno-mmx -mno-3dnow -mno-sse -mno-sse2 -mno-sse3  -msoft-float 
-fno-asynchronous-unwind-tables -ffreestanding -fstack-protector -Werror 
  /usr/src/sys/fs/nfsclient/nfs_clvfsops.c
cc1: warnings being treated as errors
/usr/src/sys/fs/nfsclient/nfs_clvfsops.c: In function 'nfs_mount':
/usr/src/sys/fs/nfsclient/nfs_clvfsops.c:1030: warning: passing argument 
4 of 'copyinstr' from incompatible pointer type
*** Error code 1

Regards,
Oliver
Received on Fri Apr 29 2011 - 08:02:20 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:13 UTC