Source-Changes-D archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: CVS commit: src/external/cddl/osnet/dist/uts/common/fs/zfs



Should be fixed with Rev. 1.4 of
   src/external/cddl/osnet/dist/uts/common/fs/zfs/dmu_diff.c

--
J. Hannken-Illjes - hannken%eis.cs.tu-bs.de@localhost - TU Braunschweig



> On 15. Oct 2019, at 00:13, Paul Goyette <paul%whooppee.com@localhost> wrote:
> 
> I'm now seeing a build error:
> 
> #   compile  libzpool/dmu_diff.pico
> /build/netbsd-local/tools/x86_64/amd64/bin/x86_64--netbsd-gcc -O2   -std=gnu99    -Wall -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wno-sign-compare  -Wsystem-headers   -Wno-traditional  -Wreturn-type -Wswitch -Wshadow -Wcast-qual -Wwrite-strings -Wextra -Wno-unused-parameter -Wno-sign-compare -Wold-style-definition -Wsign-compare -Wformat=2  -Wno-format-zero-length   -Wno-missing-field-initializers -Wno-strict-prototypes -Wno-cast-qual  -Wno-discarded-qualifiers  -Wno-switch -Wno-missing-prototypes -Wno-unused-variable -Wno-shadow -Wno-missing-field-initializers -Wno-parentheses   -fPIE    -Wno-unknown-pragmas -Wno-sign-compare -D_KERNTYPES -D_KERNTYPES --sysroot=/build/netbsd-local/dest/amd64 -std=c99 -D_SUNOS_VTOC_16 -D_PROPLIB_ZFS_CONFLICT -I/build/netbsd-local/src_ro/external/cddl/osnet -I/build/netbsd-local/src_ro/external/cddl/osnet/include -I/build/netbsd-local/src_ro/external/cddl/osnet/sys -I/build/netbsd-local/src_ro/external/cddl/osnet/dist/common/zfs -I/build/netbsd-local/src_ro/external/cddl/osnet/dist/head -I/build/netbsd-local/src_ro/external/cddl/osnet/dist/lib/libdevinfo -I/build/netbsd-local/src_ro/external/cddl/osnet/dist/lib/libnvpair -I/build/netbsd-local/src_ro/external/cddl/osnet/dist/lib/libshare/common -I/build/netbsd-local/src_ro/external/cddl/osnet/dist/lib/libumem -I/build/netbsd-local/src_ro/external/cddl/osnet/dist/lib/libuutil/common -I/build/netbsd-local/src_ro/external/cddl/osnet/dist/lib/libzfs/common -I/build/netbsd-local/src_ro/external/cddl/osnet/dist/lib/libzfs_core/common -I/build/netbsd-local/src_ro/external/cddl/osnet/dist/lib/libzpool/common -I/build/netbsd-local/src_ro/external/cddl/osnet/dist/common -I/build/netbsd-local/src_ro/external/cddl/osnet/dist/uts/common -I/build/netbsd-local/src_ro/external/cddl/osnet/dist/uts/common/zfs -I/build/netbsd-local/src_ro/external/cddl/osnet/dist/uts/common/fs/zfs -I/build/netbsd-local/src_ro/external/cddl/osnet/dist/uts/common/sys -std=c99  -c    -fPIC   -g /build/netbsd-local/src_ro/external/cddl/osnet/lib/libzpool/../../dist/uts/common/fs/zfs/dmu_diff.c -o dmu_diff.pico
> /build/netbsd-local/src_ro/external/cddl/osnet/lib/libzpool/../../dist/uts/common/fs/zfs/dmu_diff.c: In function 'write_bytes':
> /build/netbsd-local/src_ro/external/cddl/osnet/lib/libzpool/../../dist/uts/common/fs/zfs/dmu_diff.c:70:6: error: 'struct uio' has no member named 'uio_vmspace'
>  auio.uio_vmspace = vmspace_kernel();
>      ^
> /build/netbsd-local/src_ro/external/cddl/osnet/lib/libzpool/../../dist/uts/common/fs/zfs/dmu_diff.c:70:21: warning: implicit declaration of function 'vmspace_kernel' [-Wimplicit-function-declaration]
>  auio.uio_vmspace = vmspace_kernel();
>                     ^~~~~~~~~~~~~~
> /build/netbsd-local/src_ro/external/cddl/osnet/lib/libzpool/../../dist/uts/common/fs/zfs/dmu_diff.c:56:13: warning: variable 'auio' set but not used [-Wunused-but-set-variable]
>  struct uio auio;
>             ^~~~
> *** [dmu_diff.pico] Error code 1
> 
> 
> 
> 
> 
> +--------------------+--------------------------+-----------------------+
> | Paul Goyette       | PGP Key fingerprint:     | E-mail addresses:     |
> | (Retired)          | FA29 0E3B 35AF E8AE 6651 | paul%whooppee.com@localhost     |
> | Software Developer | 0786 F758 55DE 53BA 7731 | pgoyette%netbsd.org@localhost   |
> +--------------------+--------------------------+-----------------------+

Attachment: signature.asc
Description: Message signed with OpenPGP



Home | Main Index | Thread Index | Old Index