ld: error: undefined symbol: v4l2_compat_translate_cmd >>> referenced by v4l2-ioctl.c >>> obj-media_tree-drivers-media-v4l2-core-v4l2-ioctl.o:(video_usercopy) ld: error: undefined symbol: v4l2_compat_get_user >>> referenced by v4l2-ioctl.c >>> obj-media_tree-drivers-media-v4l2-core-v4l2-ioctl.o:(video_usercopy) ld: error: undefined symbol: v4l2_compat_put_array_args >>> referenced by v4l2-ioctl.c >>> obj-media_tree-drivers-media-v4l2-core-v4l2-ioctl.o:(video_usercopy) ld: error: undefined symbol: v4l2_compat_get_array_args >>> referenced by v4l2-ioctl.c >>> obj-media_tree-drivers-media-v4l2-core-v4l2-ioctl.o:(video_usercopy) ld: error: undefined symbol: v4l2_compat_put_user >>> referenced by v4l2-ioctl.c >>> obj-media_tree-drivers-media-v4l2-core-v4l2-ioctl.o:(video_usercopy) cc: error: linker command failed with exit code 1 (use -v to see invocation) *** [webcamd] Error code 1 make[2]: stopped in /tmp/stage/usr/ports/multimedia/webcamd/work/webcamd-5.13.2.2 1 error make[2]: stopped in /tmp/stage/usr/ports/multimedia/webcamd/work/webcamd-5.13.2.2 ===> Compilation failed unexpectedly. Try to set MAKE_JOBS_UNSAFE=yes and rebuild before reporting the failure to the maintainer. *** Error code 1 Stop. make[1]: stopped in /usr/ports/multimedia/webcamd *** Error code 1
This can be solved with the following command make -C /usr/ports/multimedia/webcamd/ rmconfig I'm not sure what specific option is causing the problem anymore, so write down your current /var/db/ports/multimedia_webcamd/options here and then run it :)
The 32-bit COMPAT option is the problem. I'm working on fix for i386. --HPS
Should be fixed now. Thanks for notifying.
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=2fa92e8e2435c3b332343e2d17e5d1782bc59346 commit 2fa92e8e2435c3b332343e2d17e5d1782bc59346 Author: Hans Petter Selasky <hselasky@FreeBSD.org> AuthorDate: 2021-05-23 08:32:59 +0000 Commit: Hans Petter Selasky <hselasky@FreeBSD.org> CommitDate: 2021-05-23 08:33:44 +0000 multimedia/webcamd: Compile fix for building without 32-bit compatibility support. PR: 256095 Approved by: pi (implicit) multimedia/webcamd/Makefile | 2 +- multimedia/webcamd/distinfo | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-)
Thanks!