[Bug 246121] [bhyve][PATCH] Append Keyboard Layout specified option for using VNC.
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 26 Jul 2021 12:45:54 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=246121 --- Comment #29 from mario felicioni <marietto2008@gmail.com> --- root@marietto:/usr/src/usr.sbin # sh bhyve_kbdlayout.shar sh: cannot open bhyve_kbdlayout.shar: No such file or directory root@marietto:/usr/src/usr.sbin # cd /usr/src/usr.sbin/bhyve root@marietto:/usr/src/usr.sbin/bhyve # make [Creating objdir /usr/obj/usr/src/amd64.amd64/usr.sbin/bhyve...] echo bhyve.full: /usr/lib/libc.a /usr/lib/libvmmapi.a /usr/lib/libmd.a /usr/lib/libpthread.a /usr/lib/libz.a /usr/lib/libutil.a /usr/lib/libsbuf.a /usr/lib/libcam.a /usr/lib/lib9p.a /usr/lib/libnetgraph.a /usr/lib/libcrypto.a >> .depend ...... cc -O2 -pipe -fno-common -I/usr/src/usr.sbin/bhyve/../../contrib/lib9p -I/usr/src/sys -DINET -DINET6 -DNETGRAPH -I/usr/src/sys/dev/e1000 -I/usr/src/sys/dev/mii -I/usr/src/sys/dev/usb/controller -g -MD -MF.depend.ps2kbd.o -MTps2kbd.o -std=gnu99 -Wno-format-zero-length -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 /usr/src/usr.sbin/bhyve/ps2kbd.c -o ps2kbd.o /usr/src/usr.sbin/bhyve/ps2kbd.c:407:14: error: variable has incomplete type 'struct stat' struct stat sb; ^ /usr/src/usr.sbin/bhyve/ps2kbd.c:407:9: note: forward declaration of 'struct stat' struct stat sb; ^ /usr/src/usr.sbin/bhyve/ps2kbd.c:413:16: error: use of undeclared identifier 'kbdlayout_name' strncat(path, kbdlayout_name, (sizeof(path) - strlen(PS2KBD_LAYOUT_BASEDIR) - 1)); ^ /usr/src/usr.sbin/bhyve/ps2kbd.c:415:8: error: implicit declaration of function 'stat' is invalid in C99 [-Werror,-Wimplicit-function-declaration] err = stat(path, &sb); ^ /usr/src/usr.sbin/bhyve/ps2kbd.c:423:7: error: implicit declaration of function 'open' is invalid in C99 [-Werror,-Wimplicit-function-declaration] fd = open(path, O_RDONLY); ^ /usr/src/usr.sbin/bhyve/ps2kbd.c:423:18: error: use of undeclared identifier 'O_RDONLY' fd = open(path, O_RDONLY); ^ /usr/src/usr.sbin/bhyve/ps2kbd.c:427:7: error: implicit declaration of function 'read' is invalid in C99 [-Werror,-Wimplicit-function-declaration] sz = read(fd, buf, sb.st_size ); ^ /usr/src/usr.sbin/bhyve/ps2kbd.c:427:7: note: did you mean 'fread'? /usr/include/stdio.h:263:9: note: 'fread' declared here size_t fread(void * __restrict, size_t, size_t, FILE * __restrict); ^ /usr/src/usr.sbin/bhyve/ps2kbd.c:429:2: error: implicit declaration of function 'close' is invalid in C99 [-Werror,-Wimplicit-function-declaration] close(fd); ^ /usr/src/usr.sbin/bhyve/ps2kbd.c:458:6: error: use of undeclared identifier 'kbdlayout_name' if (kbdlayout_name != NULL) ^ 8 errors generated. *** Error code 1 Stop. make: stopped in /usr/src/usr.sbin/bhyve -- You are receiving this mail because: You are the assignee for the bug.