[Bug 246028] games/retroarch: Fails to build with UDEV enabled

From: <bugzilla-noreply_at_freebsd.org>
Date: Sun, 30 Jan 2022 21:47:01 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=246028

--- Comment #16 from Ivan Rozhuk <rozhuk.im@gmail.com> ---
with latest update:

In file included from deps/switchres/custom_video.cpp:18:
./deps/switchres/custom_video.h:99:7: warning: private field 'm_device_name' is
not used [-Wunused-private-field]
        char m_device_name[32];
             ^
./deps/switchres/custom_video.h:100:7: warning: private field 'm_device_key' is
not used [-Wunused-private-field]
        char m_device_key[128];
             ^
./deps/switchres/custom_video.h:103:6: warning: private field 'm_custom_method'
is not used [-Wunused-private-field]
        int m_custom_method;
            ^
3 warnings generated.
deps/switchres/edid.cpp:165:20: warning: implicit conversion from 'int' to
'char' changes value from 229 to -27 [-Wconstant-conversion]
        edid->b[66] = 485 & 0xff;
                    ~ ~~~~^~~~~~
1 warning generated.
LD retroarch
ld: error: undefined symbol: rarch_key_map_linux
>>> referenced by udev_input.c
>>>               obj-unix/release/input/drivers/udev_input.o:(udev_input_init)
>>> referenced by udev_input.c
>>>               obj-unix/release/input/drivers/udev_input.o:(udev_input_init)
c++: error: linker command failed with exit code 1 (use -v to see invocation)

-- 
You are receiving this mail because:
You are the assignee for the bug.