Date: Thu, 02 Jul 2020 12:33:11 +0000 From: bugzilla-noreply@freebsd.org To: virtualization@FreeBSD.org Subject: [Bug 247715] Problem Bhyve sound build FreeBSD-Releng-11.4 r362840 Message-ID: <bug-247715-27103@https.bugs.freebsd.org/bugzilla/>
index | next in thread | raw e-mail
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=247715 Bug ID: 247715 Summary: Problem Bhyve sound build FreeBSD-Releng-11.4 r362840 Product: Base System Version: Unspecified Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: bhyve Assignee: virtualization@FreeBSD.org Reporter: didier.castellacci@yahoo.fr Hello I followed the procedure of the site "https://aliov.org/index.php/2020/03/23/bhyve-hd-audio-in-freebsd-12-1/" I wanted to do it for freebsd-11.4 and I'm having problems with make here is the error message Thank You Didier svn co https://svn.FreeBSD.org/base/head freebsd-head $ cd freebsd-head $ svn diff -c 349335 > patch1.diff $ svn diff -c 350255 > patch2.diff cd /usr/src/usr.sbin/bhyve # patch -Np2 -i $HOME/freebsd-head/patch1.diff # patch -Np2 -i $HOME/freebsd-head/patch2.diff # make sudo make echo bhyve.full: /usr/lib/libc.a /usr/lib/libvmmapi.a /usr/lib/libmd.a /usr/lib/libpthread.a /usr/lib/libz.a /us r/lib/libcrypto.a >> .depend Warning: Object directory not changed from original /data/src/src/usr/src/usr.sbin/bhyve cc -O2 -pipe -I/data/src/src/usr/src/sys -DINET -DINET6 -I/data/src/src/usr/src/sys/dev/e1000 -I/data/src/src/ usr/src/sys/dev/mii -I/data/src/src/usr/src/sys/dev/usb/controller -g -MD -MF.depend.atkbdc.o -MTatkbdc.o -std= gnu99 -fstack-protector-strong -Wsystem-headers -Werror -Wall -Wno-format-y2k -Wno-uninitialized -Wno-pointer-si gn -Wno-empty-body -Wno-string-plus-int -Wno-unused-const-variable -Wno-tautological-compare -Wno-unused-value - Wno-parentheses-equality -Wno-unused-function -Wno-enum-conversion -Wno-unused-local-typedef -Wno-address-of-pac ked-member -Wno-switch -Wno-switch-enum -Wno-knr-promoted-parameter -Qunused-arguments -c atkbdc.c -o atkbdc.o cc -O2 -pipe -I/data/src/src/usr/src/sys -DINET -DINET6 -I/data/src/src/usr/src/sys/dev/e1000 -I/data/src/src/ usr/src/sys/dev/mii -I/data/src/src/usr/src/sys/dev/usb/controller -g -MD -MF.depend.acpi.o -MTacpi.o -std=gnu9 9 -fstack-protector-strong -Wsystem-headers -Werror -Wall -Wno-format-y2k -Wno-uninitialized -Wno-pointer-sign - Wno-empty-body -Wno-string-plus-int -Wno-unused-const-variable -Wno-tautological-compare -Wno-unused-value -Wno- parentheses-equality -Wno-unused-function -Wno-enum-conversion -Wno-unused-local-typedef -Wno-address-of-packed- member -Wno-switch -Wno-switch-enum -Wno-knr-promoted-parameter -Qunused-arguments -c acpi.c -o acpi.o cc -O2 -pipe -I/data/src/src/usr/src/sys -DINET -DINET6 -I/data/src/src/usr/src/sys/dev/e1000 -I/data/src/src/ usr/src/sys/dev/mii -I/data/src/src/usr/src/sys/dev/usb/controller -g -MD -MF.depend.audio.o -MTaudio.o -std=gn u99 -fstack-protector-strong -Wsystem-headers -Werror -Wall -Wno-format-y2k -Wno-uninitialized -Wno-pointer-sign -Wno-empty-body -Wno-string-plus-int -Wno-unused-const-variable -Wno-tautological-compare -Wno-unused-value -Wn o-parentheses-equality -Wno-unused-function -Wno-enum-conversion -Wno-unused-local-typedef -Wno-address-of-packe d-member -Wno-switch -Wno-switch-enum -Wno-knr-promoted-parameter -Qunused-arguments -c audio.c -o audio.o audio.c:109:6: error: implicit declaration of function 'caph_rights_limit' is invalid in C99 [-Werror,-Wimplicit-function-declaration] if (caph_rights_limit(aud->fd, &rights) == -1) ^ audio.c:109:6: note: did you mean 'cap_rights_limit'? /data/src/src/usr/src/sys/sys/capsicum.h:398:5: note: 'cap_rights_limit' declared here int cap_rights_limit(int fd, const cap_rights_t *rights); ^ audio.c:111:6: error: implicit declaration of function 'caph_ioctls_limit' is invalid in C99 [-Werror,-Wimplicit-function-declaration] if (caph_ioctls_limit(aud->fd, cmds, nitems(cmds)) == -1) ^ audio.c:111:6: note: did you mean 'cap_ioctls_limit'? /data/src/src/usr/src/sys/sys/capsicum.h:408:5: note: 'cap_ioctls_limit' declared here int cap_ioctls_limit(int fd, const cap_ioctl_t *cmds, size_t ncmds); ^ 2 errors generated. *** Error code 1 Stop. make: stopped in /data/src/src/usr/src/usr.sbin/bhyve -- You are receiving this mail because: You are the assignee for the bug.help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-247715-27103>
