=> Bootstrap dependency digest>=20010302: found digest-20111104 => Bootstrap dependency fetch-[0-9]*: found fetch-1.7 ===> Building for sharity-light-1.2nb1 --- nfs_dir --- --- proc.o --- --- sock.o --- --- rumba.o --- --- psinode.o --- --- nfs_dir --- (cd nfs; /usr/pkg/bin/bmake "CFLAGS=-Wall -O2 -DNETBSD" "CC=gcc" "ARCH= " "RPC_WARNFLAGS=-Wno-unused -Wno-switch -Wno-uninitialized") --- proc.o --- gcc -Iinclude -I. -Wall -O2 -DNETBSD -c -o proc.o proc.c --- sock.o --- gcc -Iinclude -I. -Wall -O2 -DNETBSD -c -o sock.o sock.c --- rumba.o --- gcc -Iinclude -I. -Wall -O2 -DNETBSD -c -o rumba.o rumba.c --- psinode.o --- gcc -Iinclude -I. -Wall -O2 -DNETBSD -c -o psinode.o psinode.c --- nfs_dir --- --- nfs_prot.h --- rm -f nfs_prot.h rpcgen -h nfs_prot.x | sed 's@char data\[NFS_FHSIZE\];@long long data\[NFS_FHSIZE / sizeof(long long)\];@' > nfs_prot.h --- nfs_prot_xdr.c --- rm -f nfs_prot_xdr.c rpcgen -c nfs_prot.x | sed 's;^#include ".*/nfs_prot.h"$;#include "nfs_prot.h";' >nfs_prot_xdr.c --- mount.o --- gcc -c -I. -I.. -Wall -O2 -DNETBSD mount.c --- psinode.o --- psinode.c: In function 'psi_lookup': psinode.c:326:50: warning: cast from pointer to integer of different size --- proc.o --- proc.c: In function 'smb_encode_dialect': proc.c:85:9: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness /usr/include/string.h:128:14: note: expected 'char * __restrict__' but argument is of type 'byte *' proc.c:85:9: warning: pointer targets in passing argument 2 of 'strcpy' differ in signedness /usr/include/string.h:128:14: note: expected 'const char * __restrict__' but argument is of type 'const byte *' proc.c: In function 'smb_encode_ascii': proc.c:93:9: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness --- sock.o --- sock.c: In function 'close_fp': --- proc.o --- /usr/include/string.h:128:14: note: expected 'char * __restrict__' but argument is of type 'byte *' proc.c:93:9: warning: pointer targets in passing argument 2 of 'strcpy' differ in signedness /usr/include/string.h:128:14: note: expected 'const char * __restrict__' but argument is of type 'const byte *' --- sock.o --- sock.c:18:15: warning: cast from pointer to integer of different size sock.c: In function '_recvfrom': sock.c:34:18: warning: pointer targets in passing argument 6 of 'recvfrom' differ in signedness /usr/include/sys/socket.h:166:16: note: expected 'socklen_t * __restrict__' but argument is of type 'int *' --- proc.o --- proc.c: In function 'smb_name_mangle': proc.c:131:9: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness /usr/include/string.h:399:15: note: expected 'const char *' but argument is of type 'const byte *' --- sock.o --- sock.c: In function 'server_sock': sock.c:264:22: warning: cast to pointer from integer of different size --- nfs_dir --- mount.c: In function 'mount_and_dispatch': mount.c:150:33: warning: pointer targets in passing argument 3 of 'getsockname' differ in signedness /usr/include/sys/socket.h:119:12: note: expected 'socklen_t * __restrict__' but argument is of type 'int *' --- sock.o --- sock.c: In function 'smb_request_read_raw': sock.c:421:4: warning: cast from pointer to integer of different size sock.c:423:4: warning: cast from pointer to integer of different size --- proc.o --- proc.c: In function 'smb_proc_open': proc.c:524:21: warning: pointer targets in initialization differ in signedness proc.c:532:11: warning: pointer targets in assignment differ in signedness proc.c:535:9: warning: pointer targets in passing argument 1 of 'smb_encode_ascii' differ in signedness proc.c:90:1: note: expected 'byte *' but argument is of type 'char *' proc.c:535:9: warning: pointer targets in passing argument 2 of 'smb_encode_ascii' differ in signedness proc.c:90:1: note: expected 'const byte *' but argument is of type 'const char *' proc.c:548:19: warning: pointer targets in assignment differ in signedness proc.c:551:17: warning: pointer targets in passing argument 1 of 'smb_encode_ascii' differ in signedness proc.c:90:1: note: expected 'byte *' but argument is of type 'char *' proc.c:551:17: warning: pointer targets in passing argument 2 of 'smb_encode_ascii' differ in signedness proc.c:90:1: note: expected 'const byte *' but argument is of type 'const char *' proc.c: In function 'smb_proc_close': proc.c:586:21: warning: pointer targets in initialization differ in signedness proc.c: In function 'smb_proc_read': proc.c:606:21: warning: pointer targets in initialization differ in signedness proc.c:623:9: warning: pointer targets in passing argument 2 of 'smb_decode_data' differ in signedness proc.c:107:1: note: expected 'byte *' but argument is of type 'char *' proc.c: In function 'smb_proc_read_raw': proc.c:646:21: warning: pointer targets in initialization differ in signedness proc.c:661:9: warning: pointer targets in passing argument 2 of 'smb_request_read_raw' differ in signedness include/smb/smb_fs.h:157:5: note: expected 'unsigned char *' but argument is of type 'char *' proc.c: In function 'smb_proc_write': proc.c:671:21: warning: pointer targets in initialization differ in signedness proc.c: In function 'smb_proc_write_raw': proc.c:698:21: warning: pointer targets in initialization differ in signedness proc.c:726:9: warning: pointer targets in passing argument 2 of 'smb_request_write_raw' differ in signedness include/smb/smb_fs.h:159:5: note: expected 'const unsigned char *' but argument is of type 'const char *' proc.c: In function 'smb_proc_do_create': proc.c:756:15: warning: pointer targets in initialization differ in signedness proc.c:760:5: warning: pointer targets in assignment differ in signedness proc.c:763:3: warning: pointer targets in passing argument 1 of 'smb_encode_ascii' differ in signedness proc.c:90:1: note: expected 'byte *' but argument is of type 'char *' proc.c:763:3: warning: pointer targets in passing argument 2 of 'smb_encode_ascii' differ in signedness proc.c:90:1: note: expected 'const byte *' but argument is of type 'const char *' proc.c: In function 'smb_proc_mv': proc.c:802:21: warning: pointer targets in initialization differ in signedness proc.c:808:11: warning: pointer targets in assignment differ in signedness proc.c:810:9: warning: pointer targets in passing argument 1 of 'smb_encode_ascii' differ in signedness proc.c:90:1: note: expected 'byte *' but argument is of type 'char *' proc.c:810:9: warning: pointer targets in passing argument 2 of 'smb_encode_ascii' differ in signedness proc.c:90:1: note: expected 'const byte *' but argument is of type 'const char *' proc.c:810:11: warning: pointer targets in assignment differ in signedness proc.c:811:9: warning: pointer targets in passing argument 1 of 'smb_encode_ascii' differ in signedness proc.c:90:1: note: expected 'byte *' but argument is of type 'char *' proc.c:811:9: warning: pointer targets in passing argument 2 of 'smb_encode_ascii' differ in signedness proc.c:90:1: note: expected 'const byte *' but argument is of type 'const char *' proc.c: In function 'smb_proc_mkdir': proc.c:831:11: warning: pointer targets in assignment differ in signedness proc.c:832:9: warning: pointer targets in passing argument 1 of 'smb_encode_ascii' differ in signedness proc.c:90:1: note: expected 'byte *' but argument is of type 'char *' proc.c:832:9: warning: pointer targets in passing argument 2 of 'smb_encode_ascii' differ in signedness proc.c:90:1: note: expected 'const byte *' but argument is of type 'const char *' proc.c: In function 'smb_proc_rmdir': proc.c:852:11: warning: pointer targets in assignment differ in signedness proc.c:853:9: warning: pointer targets in passing argument 1 of 'smb_encode_ascii' differ in signedness proc.c:90:1: note: expected 'byte *' but argument is of type 'char *' proc.c:853:9: warning: pointer targets in passing argument 2 of 'smb_encode_ascii' differ in signedness proc.c:90:1: note: expected 'const byte *' but argument is of type 'const char *' proc.c: In function 'smb_proc_unlink': proc.c:868:21: warning: pointer targets in initialization differ in signedness proc.c:875:11: warning: pointer targets in assignment differ in signedness proc.c:877:9: warning: pointer targets in passing argument 1 of 'smb_encode_ascii' differ in signedness proc.c:90:1: note: expected 'byte *' but argument is of type 'char *' proc.c:877:9: warning: pointer targets in passing argument 2 of 'smb_encode_ascii' differ in signedness proc.c:90:1: note: expected 'const byte *' but argument is of type 'const char *' proc.c: In function 'smb_proc_trunc': proc.c:892:21: warning: pointer targets in initialization differ in signedness proc.c:897:11: warning: pointer targets in assignment differ in signedness proc.c:902:9: warning: pointer targets in passing argument 1 of 'smb_encode_ascii' differ in signedness proc.c:90:1: note: expected 'byte *' but argument is of type 'char *' proc.c:902:9: warning: pointer targets in passing argument 2 of 'smb_encode_ascii' differ in signedness proc.c:90:1: note: expected 'const byte *' but argument is of type 'char *' proc.c: In function 'smb_proc_readdir_short': proc.c:959:13: warning: pointer targets in assignment differ in signedness proc.c:970:27: warning: pointer targets in assignment differ in signedness proc.c:974:25: warning: pointer targets in passing argument 1 of 'smb_encode_ascii' differ in signedness proc.c:90:1: note: expected 'byte *' but argument is of type 'char *' proc.c:974:25: warning: pointer targets in passing argument 2 of 'smb_encode_ascii' differ in signedness proc.c:90:1: note: expected 'const byte *' but argument is of type 'char *' proc.c:974:27: warning: pointer targets in assignment differ in signedness proc.c:976:25: warning: pointer targets in passing argument 1 of 'smb_encode_word' differ in signedness proc.c:56:1: note: expected 'byte *' but argument is of type 'char *' proc.c:976:27: warning: pointer targets in assignment differ in signedness proc.c:978:27: warning: pointer targets in assignment differ in signedness proc.c:982:25: warning: pointer targets in passing argument 1 of 'smb_encode_ascii' differ in signedness proc.c:90:1: note: expected 'byte *' but argument is of type 'char *' proc.c:982:25: warning: pointer targets in passing argument 2 of 'smb_encode_ascii' differ in signedness proc.c:90:1: note: expected 'const byte *' but argument is of type 'char *' proc.c:982:27: warning: pointer targets in assignment differ in signedness proc.c:983:25: warning: pointer targets in passing argument 1 of 'smb_encode_vblock' differ in signedness proc.c:98:1: note: expected 'byte *' but argument is of type 'char *' proc.c:983:25: warning: pointer targets in passing argument 2 of 'smb_encode_vblock' differ in signedness proc.c:98:1: note: expected 'const byte *' but argument is of type 'char *' proc.c:983:27: warning: pointer targets in assignment differ in signedness proc.c:1002:19: warning: pointer targets in assignment differ in signedness proc.c:1003:17: warning: pointer targets in passing argument 1 of 'smb_decode_word' differ in signedness proc.c:64:1: note: expected 'byte *' but argument is of type 'char *' proc.c:1003:19: warning: pointer targets in assignment differ in signedness proc.c:1004:17: warning: pointer targets in passing argument 1 of 'smb_decode_word' differ in signedness proc.c:64:1: note: expected 'byte *' but argument is of type 'char *' proc.c:1004:19: warning: pointer targets in assignment differ in signedness proc.c: In function 'smb_proc_readdir_long': proc.c:1217:5: warning: large integer implicitly truncated to unsigned type proc.c:1229:7: warning: pointer targets in assignment differ in signedness proc.c: In function 'smb_proc_getattr_core': proc.c:1422:21: warning: pointer targets in initialization differ in signedness proc.c:1429:11: warning: pointer targets in assignment differ in signedness proc.c:1430:9: warning: pointer targets in passing argument 1 of 'smb_encode_ascii' differ in signedness proc.c:90:1: note: expected 'byte *' but argument is of type 'char *' proc.c:1430:9: warning: pointer targets in passing argument 2 of 'smb_encode_ascii' differ in signedness proc.c:90:1: note: expected 'const byte *' but argument is of type 'const char *' proc.c: In function 'smb_proc_getattrE': proc.c:1454:21: warning: pointer targets in initialization differ in signedness proc.c: In function 'smb_proc_setattr_core': proc.c:1518:21: warning: pointer targets in initialization differ in signedness proc.c:1525:11: warning: pointer targets in assignment differ in signedness proc.c:1528:9: warning: pointer targets in passing argument 1 of 'smb_encode_ascii' differ in signedness proc.c:90:1: note: expected 'byte *' but argument is of type 'char *' proc.c:1528:9: warning: pointer targets in passing argument 2 of 'smb_encode_ascii' differ in signedness proc.c:90:1: note: expected 'const byte *' but argument is of type 'const char *' proc.c:1528:11: warning: pointer targets in assignment differ in signedness proc.c:1529:9: warning: pointer targets in passing argument 1 of 'smb_encode_ascii' differ in signedness proc.c:90:1: note: expected 'byte *' but argument is of type 'char *' proc.c:1529:9: warning: pointer targets in passing argument 2 of 'smb_encode_ascii' differ in signedness proc.c:90:1: note: expected 'const byte *' but argument is of type 'char *' proc.c:1529:11: warning: pointer targets in assignment differ in signedness proc.c: In function 'smb_proc_setattrE': proc.c:1546:21: warning: pointer targets in initialization differ in signedness proc.c: In function 'smb_proc_dskattr': proc.c:1608:11: warning: pointer targets in assignment differ in signedness proc.c:1609:9: warning: pointer targets in passing argument 1 of 'smb_decode_word' differ in signedness proc.c:64:1: note: expected 'byte *' but argument is of type 'char *' proc.c:1609:11: warning: pointer targets in assignment differ in signedness proc.c:1610:9: warning: pointer targets in passing argument 1 of 'smb_decode_word' differ in signedness proc.c:64:1: note: expected 'byte *' but argument is of type 'char *' proc.c:1610:11: warning: pointer targets in assignment differ in signedness proc.c:1611:9: warning: pointer targets in passing argument 1 of 'smb_decode_word' differ in signedness proc.c:64:1: note: expected 'byte *' but argument is of type 'char *' proc.c:1611:11: warning: pointer targets in assignment differ in signedness proc.c:1612:9: warning: pointer targets in passing argument 1 of 'smb_decode_word' differ in signedness proc.c:64:1: note: expected 'byte *' but argument is of type 'char *' proc.c:1612:11: warning: pointer targets in assignment differ in signedness proc.c: In function 'smb_proc_reconnect': proc.c:1689:9: warning: pointer targets in passing argument 2 of 'smb_name_mangle' differ in signedness proc.c:127:1: note: expected 'const byte *' but argument is of type 'char *' proc.c:1690:9: warning: pointer targets in passing argument 2 of 'smb_name_mangle' differ in signedness proc.c:127:1: note: expected 'const byte *' but argument is of type 'char *' proc.c:1734:17: warning: pointer targets in passing argument 2 of 'smb_encode_dialect' differ in signedness proc.c:82:1: note: expected 'const byte *' but argument is of type 'const char *' proc.c:1802:25: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness /usr/include/string.h:128:14: note: expected 'char * __restrict__' but argument is of type 'byte *' proc.c:1804:25: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness /usr/include/string.h:128:14: note: expected 'char * __restrict__' but argument is of type 'byte *' proc.c:1806:25: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness /usr/include/string.h:128:14: note: expected 'char * __restrict__' but argument is of type 'byte *' proc.c:1807:25: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness /usr/include/string.h:399:15: note: expected 'const char *' but argument is of type 'byte *' proc.c:1808:25: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness /usr/include/string.h:128:14: note: expected 'char * __restrict__' but argument is of type 'byte *' proc.c:1809:25: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness /usr/include/string.h:399:15: note: expected 'const char *' but argument is of type 'byte *' proc.c:1810:25: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness /usr/include/string.h:128:14: note: expected 'char * __restrict__' but argument is of type 'byte *' proc.c:1826:25: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness /usr/include/string.h:128:14: note: expected 'char * __restrict__' but argument is of type 'byte *' proc.c:1828:25: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness /usr/include/string.h:128:14: note: expected 'char * __restrict__' but argument is of type 'byte *' proc.c:1854:9: warning: pointer targets in passing argument 2 of 'smb_encode_ascii' differ in signedness proc.c:90:1: note: expected 'const byte *' but argument is of type 'char *' proc.c:1855:9: warning: pointer targets in passing argument 2 of 'smb_encode_ascii' differ in signedness proc.c:90:1: note: expected 'const byte *' but argument is of type 'char *' proc.c:1856:9: warning: pointer targets in passing argument 2 of 'smb_encode_ascii' differ in signedness proc.c:90:1: note: expected 'const byte *' but argument is of type 'char *' --- nfs_dir --- --- nfs_funcs.o --- gcc -c -I. -I.. -Wall -O2 -DNETBSD nfs_funcs.c --- kernel.o --- gcc -Iinclude -I. -Wall -O2 -DNETBSD -c -o kernel.o kernel.c --- smb_abstraction.o --- gcc -Iinclude -I. -Wall -O2 -DNETBSD -c -o smb_abstraction.o smb_abstraction.c --- nfs_dir --- nfs_funcs.c: In function 'nfsproc_readdir': nfs_funcs.c:268:8: warning: dereferencing type-punned pointer will break strict-aliasing rules nfs_funcs.c:270:3: warning: dereferencing type-punned pointer will break strict-aliasing rules nfs_funcs.c:270:3: warning: dereferencing type-punned pointer will break strict-aliasing rules nfs_funcs.c: In function 'nfsproc_read': nfs_funcs.c:369:7: warning: pointer targets in passing argument 2 of 'fo_read' differ in signedness ../my_defines.h:91:5: note: expected 'int *' but argument is of type 'u_int *' nfs_funcs.c: In function 'nfs_dispatch': nfs_funcs.c:550:2: warning: passing argument 2 of 'transp->xp_ops->xp_getargs' from incompatible pointer type nfs_funcs.c:550:2: note: expected 'xdrproc_t' but argument is of type 'bool_t (*)()' nfs_funcs.c:559:2: warning: passing argument 2 of 'svc_sendreply' from incompatible pointer type /usr/include/rpc/svc.h:227:15: note: expected 'xdrproc_t' but argument is of type 'bool_t (*)()' nfs_funcs.c:562:2: warning: passing argument 2 of 'transp->xp_ops->xp_freeargs' from incompatible pointer type nfs_funcs.c:562:2: note: expected 'xdrproc_t' but argument is of type 'bool_t (*)()' --- fo_nfs.o --- gcc -Iinclude -I. -Wall -O2 -DNETBSD -c -o fo_nfs.o fo_nfs.c --- nfs_dir --- --- syscalls.o --- gcc -c -I. -I.. -Wall -O2 -DNETBSD syscalls.c --- nfs_prot_xdr.o --- gcc -c -I. -I.. -Wall -O2 -DNETBSD -Wno-unused -Wno-switch -Wno-uninitialized -c nfs_prot_xdr.c --- syscalls.o --- In file included from /usr/include/linux/nfs_mount.h:11:0, from syscalls.c:149: /usr/include/linux/in.h:26:16: error: redeclaration of enumerator 'IPPROTO_IP' /usr/include/netinet/in.h:34:18: note: previous definition of 'IPPROTO_IP' was here /usr/include/linux/in.h:27:18: error: redeclaration of enumerator 'IPPROTO_ICMP' /usr/include/netinet/in.h:38:20: note: previous definition of 'IPPROTO_ICMP' was here /usr/include/linux/in.h:28:18: error: redeclaration of enumerator 'IPPROTO_IGMP' /usr/include/netinet/in.h:40:20: note: previous definition of 'IPPROTO_IGMP' was here /usr/include/linux/in.h:29:18: error: redeclaration of enumerator 'IPPROTO_IPIP' /usr/include/netinet/in.h:42:20: note: previous definition of 'IPPROTO_IPIP' was here /usr/include/linux/in.h:30:17: error: redeclaration of enumerator 'IPPROTO_TCP' /usr/include/netinet/in.h:44:19: note: previous definition of 'IPPROTO_TCP' was here /usr/include/linux/in.h:31:17: error: redeclaration of enumerator 'IPPROTO_EGP' /usr/include/netinet/in.h:46:19: note: previous definition of 'IPPROTO_EGP' was here /usr/include/linux/in.h:32:17: error: redeclaration of enumerator 'IPPROTO_PUP' /usr/include/netinet/in.h:48:19: note: previous definition of 'IPPROTO_PUP' was here /usr/include/linux/in.h:33:17: error: redeclaration of enumerator 'IPPROTO_UDP' /usr/include/netinet/in.h:50:19: note: previous definition of 'IPPROTO_UDP' was here /usr/include/linux/in.h:34:17: error: redeclaration of enumerator 'IPPROTO_IDP' /usr/include/netinet/in.h:52:19: note: previous definition of 'IPPROTO_IDP' was here /usr/include/linux/in.h:35:18: error: redeclaration of enumerator 'IPPROTO_DCCP' /usr/include/netinet/in.h:56:20: note: previous definition of 'IPPROTO_DCCP' was here /usr/include/linux/in.h:36:18: error: redeclaration of enumerator 'IPPROTO_RSVP' /usr/include/netinet/in.h:64:20: note: previous definition of 'IPPROTO_RSVP' was here /usr/include/linux/in.h:37:17: error: redeclaration of enumerator 'IPPROTO_GRE' /usr/include/netinet/in.h:66:19: note: previous definition of 'IPPROTO_GRE' was here /usr/include/linux/in.h:39:19: error: redeclaration of enumerator 'IPPROTO_IPV6' /usr/include/netinet/in.h:58:20: note: previous definition of 'IPPROTO_IPV6' was here /usr/include/linux/in.h:41:17: error: redeclaration of enumerator 'IPPROTO_ESP' /usr/include/netinet/in.h:68:19: note: previous definition of 'IPPROTO_ESP' was here /usr/include/linux/in.h:42:16: error: redeclaration of enumerator 'IPPROTO_AH' /usr/include/netinet/in.h:70:18: note: previous definition of 'IPPROTO_AH' was here /usr/include/linux/in.h:44:20: error: redeclaration of enumerator 'IPPROTO_PIM' /usr/include/netinet/in.h:82:19: note: previous definition of 'IPPROTO_PIM' was here /usr/include/linux/in.h:46:20: error: redeclaration of enumerator 'IPPROTO_COMP' /usr/include/netinet/in.h:84:20: note: previous definition of 'IPPROTO_COMP' was here /usr/include/linux/in.h:47:20: error: redeclaration of enumerator 'IPPROTO_SCTP' /usr/include/netinet/in.h:86:20: note: previous definition of 'IPPROTO_SCTP' was here /usr/include/linux/in.h:48:21: error: redeclaration of enumerator 'IPPROTO_UDPLITE' /usr/include/netinet/in.h:88:23: note: previous definition of 'IPPROTO_UDPLITE' was here /usr/include/linux/in.h:50:18: error: redeclaration of enumerator 'IPPROTO_RAW' /usr/include/netinet/in.h:90:19: note: previous definition of 'IPPROTO_RAW' was here /usr/include/linux/in.h:51:3: error: redeclaration of enumerator 'IPPROTO_MAX' /usr/include/netinet/in.h:92:5: note: previous definition of 'IPPROTO_MAX' was here /usr/include/linux/in.h:56:8: error: redefinition of 'struct in_addr' /usr/include/netinet/in.h:142:8: note: originally defined here /usr/include/linux/in.h:124:8: error: redefinition of 'struct ip_mreq' /usr/include/netinet/in.h:251:8: note: originally defined here /usr/include/linux/in.h:129:8: error: redefinition of 'struct ip_mreqn' /usr/include/bits/in.h:105:8: note: originally defined here /usr/include/linux/in.h:135:8: error: redefinition of 'struct ip_mreq_source' /usr/include/netinet/in.h:260:8: note: originally defined here /usr/include/linux/in.h:141:8: error: redefinition of 'struct ip_msfilter' /usr/include/netinet/in.h:310:8: note: originally defined here /usr/include/linux/in.h:153:8: error: redefinition of 'struct group_req' /usr/include/netinet/in.h:287:8: note: originally defined here /usr/include/linux/in.h:158:8: error: redefinition of 'struct group_source_req' /usr/include/netinet/in.h:296:8: note: originally defined here /usr/include/linux/in.h:164:8: error: redefinition of 'struct group_filter' /usr/include/netinet/in.h:331:8: note: originally defined here /usr/include/linux/in.h:176:8: error: redefinition of 'struct in_pktinfo' /usr/include/bits/in.h:113:8: note: originally defined here /usr/include/linux/in.h:184:8: error: redefinition of 'struct sockaddr_in' /usr/include/netinet/in.h:225:8: note: originally defined here In file included from /usr/include/linux/nfs_mount.h:12:0, from syscalls.c:149: /usr/include/linux/nfs.h:41:11: error: redeclaration of enumerator 'NFS_OK' nfs_prot.h:69:11: note: previous definition of 'NFS_OK' was here /usr/include/linux/nfs.h:42:16: error: redeclaration of enumerator 'NFSERR_PERM' nfs_prot.h:70:16: note: previous definition of 'NFSERR_PERM' was here /usr/include/linux/nfs.h:43:17: error: redeclaration of enumerator 'NFSERR_NOENT' nfs_prot.h:71:17: note: previous definition of 'NFSERR_NOENT' was here /usr/include/linux/nfs.h:44:14: error: redeclaration of enumerator 'NFSERR_IO' nfs_prot.h:72:14: note: previous definition of 'NFSERR_IO' was here /usr/include/linux/nfs.h:45:16: error: redeclaration of enumerator 'NFSERR_NXIO' nfs_prot.h:73:16: note: previous definition of 'NFSERR_NXIO' was here /usr/include/linux/nfs.h:47:17: error: redeclaration of enumerator 'NFSERR_ACCES' nfs_prot.h:74:17: note: previous definition of 'NFSERR_ACCES' was here /usr/include/linux/nfs.h:48:17: error: redeclaration of enumerator 'NFSERR_EXIST' nfs_prot.h:75:17: note: previous definition of 'NFSERR_EXIST' was here /usr/include/linux/nfs.h:50:17: error: redeclaration of enumerator 'NFSERR_NODEV' nfs_prot.h:76:17: note: previous definition of 'NFSERR_NODEV' was here /usr/include/linux/nfs.h:51:18: error: redeclaration of enumerator 'NFSERR_NOTDIR' nfs_prot.h:77:18: note: previous definition of 'NFSERR_NOTDIR' was here /usr/include/linux/nfs.h:52:17: error: redeclaration of enumerator 'NFSERR_ISDIR' nfs_prot.h:78:17: note: previous definition of 'NFSERR_ISDIR' was here /usr/include/linux/nfs.h:54:16: error: redeclaration of enumerator 'NFSERR_FBIG' nfs_prot.h:79:16: note: previous definition of 'NFSERR_FBIG' was here /usr/include/linux/nfs.h:55:17: error: redeclaration of enumerator 'NFSERR_NOSPC' nfs_prot.h:80:17: note: previous definition of 'NFSERR_NOSPC' was here /usr/include/linux/nfs.h:56:16: error: redeclaration of enumerator 'NFSERR_ROFS' nfs_prot.h:81:16: note: previous definition of 'NFSERR_ROFS' was here /usr/include/linux/nfs.h:59:23: error: redeclaration of enumerator 'NFSERR_NAMETOOLONG' nfs_prot.h:82:23: note: previous definition of 'NFSERR_NAMETOOLONG' was here /usr/include/linux/nfs.h:60:20: error: redeclaration of enumerator 'NFSERR_NOTEMPTY' nfs_prot.h:83:20: note: previous definition of 'NFSERR_NOTEMPTY' was here /usr/include/linux/nfs.h:61:17: error: redeclaration of enumerator 'NFSERR_DQUOT' nfs_prot.h:84:17: note: previous definition of 'NFSERR_DQUOT' was here /usr/include/linux/nfs.h:62:17: error: redeclaration of enumerator 'NFSERR_STALE' nfs_prot.h:85:17: note: previous definition of 'NFSERR_STALE' was here /usr/include/linux/nfs.h:64:18: error: redeclaration of enumerator 'NFSERR_WFLUSH' nfs_prot.h:86:18: note: previous definition of 'NFSERR_WFLUSH' was here /usr/include/linux/nfs.h:118:10: error: redeclaration of enumerator 'NFNON' nfs_prot.h:91:10: note: previous definition of 'NFNON' was here /usr/include/linux/nfs.h:119:10: error: redeclaration of enumerator 'NFREG' nfs_prot.h:92:10: note: previous definition of 'NFREG' was here /usr/include/linux/nfs.h:120:10: error: redeclaration of enumerator 'NFDIR' nfs_prot.h:93:10: note: previous definition of 'NFDIR' was here /usr/include/linux/nfs.h:121:10: error: redeclaration of enumerator 'NFBLK' nfs_prot.h:94:10: note: previous definition of 'NFBLK' was here /usr/include/linux/nfs.h:122:10: error: redeclaration of enumerator 'NFCHR' nfs_prot.h:95:10: note: previous definition of 'NFCHR' was here /usr/include/linux/nfs.h:123:10: error: redeclaration of enumerator 'NFLNK' nfs_prot.h:96:10: note: previous definition of 'NFLNK' was here /usr/include/linux/nfs.h:124:11: error: redeclaration of enumerator 'NFSOCK' nfs_prot.h:97:11: note: previous definition of 'NFSOCK' was here /usr/include/linux/nfs.h:125:10: error: redeclaration of enumerator 'NFBAD' nfs_prot.h:98:10: note: previous definition of 'NFBAD' was here /usr/include/linux/nfs.h:126:11: error: redeclaration of enumerator 'NFFIFO' nfs_prot.h:99:11: note: previous definition of 'NFFIFO' was here syscalls.c:150:5: error: conflicting types for 'syscall_mount' ../syshdr.h:80:12: note: previous declaration of 'syscall_mount' was here syscalls.c: In function 'syscall_mount': syscalls.c:190:17: error: incompatible types when assigning to type 'struct nfs3_fh' from type 'nfs_fh' *** [syscalls.o] Error code 1 bmake: stopped in /tmp/pkgsrc/net/sharity-light/work/Sharity-Light.1.2/nfs --- nfs_prot_xdr.o --- nfs_prot_xdr.c: In function 'xdr_nfs_fh': nfs_prot_xdr.c:68:3: warning: passing argument 2 of 'xdr_opaque' from incompatible pointer type /usr/include/rpc/xdr.h:313:15: note: expected 'caddr_t' but argument is of type 'long long int *' 1 error bmake: stopped in /tmp/pkgsrc/net/sharity-light/work/Sharity-Light.1.2/nfs *** [nfs_dir] Error code 2 bmake: stopped in /tmp/pkgsrc/net/sharity-light/work/Sharity-Light.1.2 1 error bmake: stopped in /tmp/pkgsrc/net/sharity-light/work/Sharity-Light.1.2 *** Error code 2 Stop. bmake: stopped in /usr/pkgsrc/net/sharity-light *** Error code 1 Stop. bmake: stopped in /usr/pkgsrc/net/sharity-light