=> Bootstrap dependency digest>=20211023: found digest-20220214
===> Skipping vulnerability checks.
WARNING: No /usr/pkg/pkgdb/pkg-vulnerabilities file found.
WARNING: To fix run: `/usr/sbin/pkg_admin -K /usr/pkg/pkgdb fetch-pkg-vulnerabilities'.
===> Building for gearsystem-3.4.1nb4
c++ -O2 -mieee -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/pkg/include/SDL2 -I/usr/X11R7/include -I/usr/X11R7/include/libdrm -I/usr/include -I../ -I../../ -Wall -Wextra -Wformat -std=c++11 -DEMULATOR_BUILD=\"pkgsrc\" -DNDEBUG -std=gnu++11 `sdl2-config --cflags` `pkg-config --cflags glew` -c -o main.o ../desktop-shared/main.cpp
c++ -O2 -mieee -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/pkg/include/SDL2 -I/usr/X11R7/include -I/usr/X11R7/include/libdrm -I/usr/include -I../ -I../../ -Wall -Wextra -Wformat -std=c++11 -DEMULATOR_BUILD=\"pkgsrc\" -DNDEBUG -std=gnu++11 `sdl2-config --cflags` `pkg-config --cflags glew` -c -o emu.o ../desktop-shared/emu.cpp
c++ -O2 -mieee -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/pkg/include/SDL2 -I/usr/X11R7/include -I/usr/X11R7/include/libdrm -I/usr/include -I../ -I../../ -Wall -Wextra -Wformat -std=c++11 -DEMULATOR_BUILD=\"pkgsrc\" -DNDEBUG -std=gnu++11 `sdl2-config --cflags` `pkg-config --cflags glew` -c -o gui.o ../desktop-shared/gui.cpp
c++ -O2 -mieee -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/pkg/include/SDL2 -I/usr/X11R7/include -I/usr/X11R7/include/libdrm -I/usr/include -I../ -I../../ -Wall -Wextra -Wformat -std=c++11 -DEMULATOR_BUILD=\"pkgsrc\" -DNDEBUG -std=gnu++11 `sdl2-config --cflags` `pkg-config --cflags glew` -c -o gui_debug.o ../desktop-shared/gui_debug.cpp
c++ -O2 -mieee -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/pkg/include/SDL2 -I/usr/X11R7/include -I/usr/X11R7/include/libdrm -I/usr/include -I../ -I../../ -Wall -Wextra -Wformat -std=c++11 -DEMULATOR_BUILD=\"pkgsrc\" -DNDEBUG -std=gnu++11 `sdl2-config --cflags` `pkg-config --cflags glew` -c -o application.o ../desktop-shared/application.cpp
c++ -O2 -mieee -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/pkg/include/SDL2 -I/usr/X11R7/include -I/usr/X11R7/include/libdrm -I/usr/include -I../ -I../../ -Wall -Wextra -Wformat -std=c++11 -DEMULATOR_BUILD=\"pkgsrc\" -DNDEBUG -std=gnu++11 `sdl2-config --cflags` `pkg-config --cflags glew` -c -o config.o ../desktop-shared/config.cpp
c++ -O2 -mieee -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/pkg/include/SDL2 -I/usr/X11R7/include -I/usr/X11R7/include/libdrm -I/usr/include -I../ -I../../ -Wall -Wextra -Wformat -std=c++11 -DEMULATOR_BUILD=\"pkgsrc\" -DNDEBUG -std=gnu++11 `sdl2-config --cflags` `pkg-config --cflags glew` -c -o renderer.o ../desktop-shared/renderer.cpp
c++ -O2 -mieee -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/pkg/include/SDL2 -I/usr/X11R7/include -I/usr/X11R7/include/libdrm -I/usr/include -I../ -I../../ -Wall -Wextra -Wformat -std=c++11 -DEMULATOR_BUILD=\"pkgsrc\" -DNDEBUG -std=gnu++11 `sdl2-config --cflags` `pkg-config --cflags glew` -c -o imgui_impl_sdl.o ../desktop-shared/imgui/imgui_impl_sdl.cpp
c++ -O2 -mieee -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/pkg/include/SDL2 -I/usr/X11R7/include -I/usr/X11R7/include/libdrm -I/usr/include -I../ -I../../ -Wall -Wextra -Wformat -std=c++11 -DEMULATOR_BUILD=\"pkgsrc\" -DNDEBUG -std=gnu++11 `sdl2-config --cflags` `pkg-config --cflags glew` -c -o imgui_impl_opengl2.o ../desktop-shared/imgui/imgui_impl_opengl2.cpp
c++ -O2 -mieee -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/pkg/include/SDL2 -I/usr/X11R7/include -I/usr/X11R7/include/libdrm -I/usr/include -I../ -I../../ -Wall -Wextra -Wformat -std=c++11 -DEMULATOR_BUILD=\"pkgsrc\" -DNDEBUG -std=gnu++11 `sdl2-config --cflags` `pkg-config --cflags glew` -c -o imgui.o ../desktop-shared/imgui/imgui.cpp
c++ -O2 -mieee -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/pkg/include/SDL2 -I/usr/X11R7/include -I/usr/X11R7/include/libdrm -I/usr/include -I../ -I../../ -Wall -Wextra -Wformat -std=c++11 -DEMULATOR_BUILD=\"pkgsrc\" -DNDEBUG -std=gnu++11 `sdl2-config --cflags` `pkg-config --cflags glew` -c -o imgui_demo.o ../desktop-shared/imgui/imgui_demo.cpp
c++ -O2 -mieee -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/pkg/include/SDL2 -I/usr/X11R7/include -I/usr/X11R7/include/libdrm -I/usr/include -I../ -I../../ -Wall -Wextra -Wformat -std=c++11 -DEMULATOR_BUILD=\"pkgsrc\" -DNDEBUG -std=gnu++11 `sdl2-config --cflags` `pkg-config --cflags glew` -c -o imgui_draw.o ../desktop-shared/imgui/imgui_draw.cpp
c++ -O2 -mieee -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/pkg/include/SDL2 -I/usr/X11R7/include -I/usr/X11R7/include/libdrm -I/usr/include -I../ -I../../ -Wall -Wextra -Wformat -std=c++11 -DEMULATOR_BUILD=\"pkgsrc\" -DNDEBUG -std=gnu++11 `sdl2-config --cflags` `pkg-config --cflags glew` -c -o imgui_widgets.o ../desktop-shared/imgui/imgui_widgets.cpp
c++ -O2 -mieee -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/pkg/include/SDL2 -I/usr/X11R7/include -I/usr/X11R7/include/libdrm -I/usr/include -I../ -I../../ -Wall -Wextra -Wformat -std=c++11 -DEMULATOR_BUILD=\"pkgsrc\" -DNDEBUG -std=gnu++11 `sdl2-config --cflags` `pkg-config --cflags glew` -c -o ImGuiFileBrowser.o ../desktop-shared/FileBrowser/ImGuiFileBrowser.cpp
c++ -O2 -mieee -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/pkg/include/SDL2 -I/usr/X11R7/include -I/usr/X11R7/include/libdrm -I/usr/include -I../ -I../../ -Wall -Wextra -Wformat -std=c++11 -DEMULATOR_BUILD=\"pkgsrc\" -DNDEBUG -std=gnu++11 `sdl2-config --cflags` `pkg-config --cflags glew` -c -o Audio.o ../../src/Audio.cpp
c++ -O2 -mieee -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/pkg/include/SDL2 -I/usr/X11R7/include -I/usr/X11R7/include/libdrm -I/usr/include -I../ -I../../ -Wall -Wextra -Wformat -std=c++11 -DEMULATOR_BUILD=\"pkgsrc\" -DNDEBUG -std=gnu++11 `sdl2-config --cflags` `pkg-config --cflags glew` -c -o Cartridge.o ../../src/Cartridge.cpp
c++ -O2 -mieee -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/pkg/include/SDL2 -I/usr/X11R7/include -I/usr/X11R7/include/libdrm -I/usr/include -I../ -I../../ -Wall -Wextra -Wformat -std=c++11 -DEMULATOR_BUILD=\"pkgsrc\" -DNDEBUG -std=gnu++11 `sdl2-config --cflags` `pkg-config --cflags glew` -c -o CodemastersMemoryRule.o ../../src/CodemastersMemoryRule.cpp
c++ -O2 -mieee -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/pkg/include/SDL2 -I/usr/X11R7/include -I/usr/X11R7/include/libdrm -I/usr/include -I../ -I../../ -Wall -Wextra -Wformat -std=c++11 -DEMULATOR_BUILD=\"pkgsrc\" -DNDEBUG -std=gnu++11 `sdl2-config --cflags` `pkg-config --cflags glew` -c -o GameGearIOPorts.o ../../src/GameGearIOPorts.cpp
c++ -O2 -mieee -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/pkg/include/SDL2 -I/usr/X11R7/include -I/usr/X11R7/include/libdrm -I/usr/include -I../ -I../../ -Wall -Wextra -Wformat -std=c++11 -DEMULATOR_BUILD=\"pkgsrc\" -DNDEBUG -std=gnu++11 `sdl2-config --cflags` `pkg-config --cflags glew` -c -o GearsystemCore.o ../../src/GearsystemCore.cpp
c++ -O2 -mieee -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/pkg/include/SDL2 -I/usr/X11R7/include -I/usr/X11R7/include/libdrm -I/usr/include -I../ -I../../ -Wall -Wextra -Wformat -std=c++11 -DEMULATOR_BUILD=\"pkgsrc\" -DNDEBUG -std=gnu++11 `sdl2-config --cflags` `pkg-config --cflags glew` -c -o Input.o ../../src/Input.cpp
c++ -O2 -mieee -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/pkg/include/SDL2 -I/usr/X11R7/include -I/usr/X11R7/include/libdrm -I/usr/include -I../ -I../../ -Wall -Wextra -Wformat -std=c++11 -DEMULATOR_BUILD=\"pkgsrc\" -DNDEBUG -std=gnu++11 `sdl2-config --cflags` `pkg-config --cflags glew` -c -o KoreanMemoryRule.o ../../src/KoreanMemoryRule.cpp
c++ -O2 -mieee -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/pkg/include/SDL2 -I/usr/X11R7/include -I/usr/X11R7/include/libdrm -I/usr/include -I../ -I../../ -Wall -Wextra -Wformat -std=c++11 -DEMULATOR_BUILD=\"pkgsrc\" -DNDEBUG -std=gnu++11 `sdl2-config --cflags` `pkg-config --cflags glew` -c -o Memory.o ../../src/Memory.cpp
c++ -O2 -mieee -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/pkg/include/SDL2 -I/usr/X11R7/include -I/usr/X11R7/include/libdrm -I/usr/include -I../ -I../../ -Wall -Wextra -Wformat -std=c++11 -DEMULATOR_BUILD=\"pkgsrc\" -DNDEBUG -std=gnu++11 `sdl2-config --cflags` `pkg-config --cflags glew` -c -o MemoryRule.o ../../src/MemoryRule.cpp
c++ -O2 -mieee -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/pkg/include/SDL2 -I/usr/X11R7/include -I/usr/X11R7/include/libdrm -I/usr/include -I../ -I../../ -Wall -Wextra -Wformat -std=c++11 -DEMULATOR_BUILD=\"pkgsrc\" -DNDEBUG -std=gnu++11 `sdl2-config --cflags` `pkg-config --cflags glew` -c -o MSXMemoryRule.o ../../src/MSXMemoryRule.cpp
c++ -O2 -mieee -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/pkg/include/SDL2 -I/usr/X11R7/include -I/usr/X11R7/include/libdrm -I/usr/include -I../ -I../../ -Wall -Wextra -Wformat -std=c++11 -DEMULATOR_BUILD=\"pkgsrc\" -DNDEBUG -std=gnu++11 `sdl2-config --cflags` `pkg-config --cflags glew` -c -o opcodes.o ../../src/opcodes.cpp
c++ -O2 -mieee -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/pkg/include/SDL2 -I/usr/X11R7/include -I/usr/X11R7/include/libdrm -I/usr/include -I../ -I../../ -Wall -Wextra -Wformat -std=c++11 -DEMULATOR_BUILD=\"pkgsrc\" -DNDEBUG -std=gnu++11 `sdl2-config --cflags` `pkg-config --cflags glew` -c -o opcodes_cb.o ../../src/opcodes_cb.cpp
c++ -O2 -mieee -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/pkg/include/SDL2 -I/usr/X11R7/include -I/usr/X11R7/include/libdrm -I/usr/include -I../ -I../../ -Wall -Wextra -Wformat -std=c++11 -DEMULATOR_BUILD=\"pkgsrc\" -DNDEBUG -std=gnu++11 `sdl2-config --cflags` `pkg-config --cflags glew` -c -o opcodes_ed.o ../../src/opcodes_ed.cpp
c++ -O2 -mieee -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/pkg/include/SDL2 -I/usr/X11R7/include -I/usr/X11R7/include/libdrm -I/usr/include -I../ -I../../ -Wall -Wextra -Wformat -std=c++11 -DEMULATOR_BUILD=\"pkgsrc\" -DNDEBUG -std=gnu++11 `sdl2-config --cflags` `pkg-config --cflags glew` -c -o Processor.o ../../src/Processor.cpp
c++ -O2 -mieee -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/pkg/include/SDL2 -I/usr/X11R7/include -I/usr/X11R7/include/libdrm -I/usr/include -I../ -I../../ -Wall -Wextra -Wformat -std=c++11 -DEMULATOR_BUILD=\"pkgsrc\" -DNDEBUG -std=gnu++11 `sdl2-config --cflags` `pkg-config --cflags glew` -c -o RomOnlyMemoryRule.o ../../src/RomOnlyMemoryRule.cpp
c++ -O2 -mieee -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/pkg/include/SDL2 -I/usr/X11R7/include -I/usr/X11R7/include/libdrm -I/usr/include -I../ -I../../ -Wall -Wextra -Wformat -std=c++11 -DEMULATOR_BUILD=\"pkgsrc\" -DNDEBUG -std=gnu++11 `sdl2-config --cflags` `pkg-config --cflags glew` -c -o SegaMemoryRule.o ../../src/SegaMemoryRule.cpp
c++ -O2 -mieee -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/pkg/include/SDL2 -I/usr/X11R7/include -I/usr/X11R7/include/libdrm -I/usr/include -I../ -I../../ -Wall -Wextra -Wformat -std=c++11 -DEMULATOR_BUILD=\"pkgsrc\" -DNDEBUG -std=gnu++11 `sdl2-config --cflags` `pkg-config --cflags glew` -c -o SG1000MemoryRule.o ../../src/SG1000MemoryRule.cpp
c++ -O2 -mieee -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/pkg/include/SDL2 -I/usr/X11R7/include -I/usr/X11R7/include/libdrm -I/usr/include -I../ -I../../ -Wall -Wextra -Wformat -std=c++11 -DEMULATOR_BUILD=\"pkgsrc\" -DNDEBUG -std=gnu++11 `sdl2-config --cflags` `pkg-config --cflags glew` -c -o SmsIOPorts.o ../../src/SmsIOPorts.cpp
c++ -O2 -mieee -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/pkg/include/SDL2 -I/usr/X11R7/include -I/usr/X11R7/include/libdrm -I/usr/include -I../ -I../../ -Wall -Wextra -Wformat -std=c++11 -DEMULATOR_BUILD=\"pkgsrc\" -DNDEBUG -std=gnu++11 `sdl2-config --cflags` `pkg-config --cflags glew` -c -o Video.o ../../src/Video.cpp
c++ -O2 -mieee -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/pkg/include/SDL2 -I/usr/X11R7/include -I/usr/X11R7/include/libdrm -I/usr/include -I../ -I../../ -Wall -Wextra -Wformat -std=c++11 -DEMULATOR_BUILD=\"pkgsrc\" -DNDEBUG -std=gnu++11 `sdl2-config --cflags` `pkg-config --cflags glew` -c -o BootromMemoryRule.o ../../src/BootromMemoryRule.cpp
c++ -O2 -mieee -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/pkg/include/SDL2 -I/usr/X11R7/include -I/usr/X11R7/include/libdrm -I/usr/include -I../ -I../../ -Wall -Wextra -Wformat -std=c++11 -DEMULATOR_BUILD=\"pkgsrc\" -DNDEBUG -std=gnu++11 `sdl2-config --cflags` `pkg-config --cflags glew` -c -o JanggunMemoryRule.o ../../src/JanggunMemoryRule.cpp
c++ -O2 -mieee -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/pkg/include/SDL2 -I/usr/X11R7/include -I/usr/X11R7/include/libdrm -I/usr/include -I../ -I../../ -Wall -Wextra -Wformat -std=c++11 -DEMULATOR_BUILD=\"pkgsrc\" -DNDEBUG -std=gnu++11 `sdl2-config --cflags` `pkg-config --cflags glew` -c -o Blip_Buffer.o ../../src/audio/Blip_Buffer.cpp
c++ -O2 -mieee -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/pkg/include/SDL2 -I/usr/X11R7/include -I/usr/X11R7/include/libdrm -I/usr/include -I../ -I../../ -Wall -Wextra -Wformat -std=c++11 -DEMULATOR_BUILD=\"pkgsrc\" -DNDEBUG -std=gnu++11 `sdl2-config --cflags` `pkg-config --cflags glew` -c -o Effects_Buffer.o ../../src/audio/Effects_Buffer.cpp
c++ -O2 -mieee -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/pkg/include/SDL2 -I/usr/X11R7/include -I/usr/X11R7/include/libdrm -I/usr/include -I../ -I../../ -Wall -Wextra -Wformat -std=c++11 -DEMULATOR_BUILD=\"pkgsrc\" -DNDEBUG -std=gnu++11 `sdl2-config --cflags` `pkg-config --cflags glew` -c -o Sms_Apu.o ../../src/audio/Sms_Apu.cpp
c++ -O2 -mieee -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/pkg/include/SDL2 -I/usr/X11R7/include -I/usr/X11R7/include/libdrm -I/usr/include -I../ -I../../ -Wall -Wextra -Wformat -std=c++11 -DEMULATOR_BUILD=\"pkgsrc\" -DNDEBUG -std=gnu++11 `sdl2-config --cflags` `pkg-config --cflags glew` -c -o Multi_Buffer.o ../../src/audio/Multi_Buffer.cpp
c++ -O2 -mieee -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/pkg/include/SDL2 -I/usr/X11R7/include -I/usr/X11R7/include/libdrm -I/usr/include -I../ -I../../ -Wall -Wextra -Wformat -std=c++11 -DEMULATOR_BUILD=\"pkgsrc\" -DNDEBUG -std=gnu++11 `sdl2-config --cflags` `pkg-config --cflags glew` -c -o Sound_Queue.o ../audio-shared/Sound_Queue.cpp
c++ -o gearsystem main.o emu.o gui.o gui_debug.o application.o config.o renderer.o imgui_impl_sdl.o imgui_impl_opengl2.o imgui.o imgui_demo.o imgui_draw.o imgui_widgets.o ImGuiFileBrowser.o Audio.o Cartridge.o CodemastersMemoryRule.o GameGearIOPorts.o GearsystemCore.o Input.o KoreanMemoryRule.o Memory.o MemoryRule.o MSXMemoryRule.o opcodes.o opcodes_cb.o opcodes_ed.o Processor.o RomOnlyMemoryRule.o SegaMemoryRule.o SG1000MemoryRule.o SmsIOPorts.o Video.o BootromMemoryRule.o JanggunMemoryRule.o Blip_Buffer.o Effects_Buffer.o Sms_Apu.o Multi_Buffer.o Sound_Queue.o -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -L/usr/X11R7/lib -Wl,-R/usr/X11R7/lib -L/usr/lib -Wl,-R/usr/lib `sdl2-config --libs` -lSDL2 `pkg-config --libs glew` -lGLEW
ld: /tmp/pkgbuild/emulators/gearsystem/work.alpha/.buildlink/lib/libSDL2.a(SDL_bsdjoystick.o): in function `FreeHwData':
(.text+0x320): undefined reference to `hid_dispose_report_desc'
ld: (.text+0x324): undefined reference to `hid_dispose_report_desc'
ld: /tmp/pkgbuild/emulators/gearsystem/work.alpha/.buildlink/lib/libSDL2.a(SDL_bsdjoystick.o): in function `BSD_JoystickUpdate':
(.text+0x418): undefined reference to `hid_start_parse'
ld: (.text+0x420): undefined reference to `hid_start_parse'
ld: (.text+0x444): undefined reference to `hid_get_item'
ld: (.text+0x44c): undefined reference to `hid_get_item'
ld: (.text+0x484): undefined reference to `hid_get_data'
ld: (.text+0x48c): undefined reference to `hid_get_data'
ld: (.text+0x4c4): undefined reference to `hid_end_parse'
ld: (.text+0x4c8): undefined reference to `hid_end_parse'
ld: (.text+0x50c): undefined reference to `hid_get_data'
ld: (.text+0x51c): undefined reference to `hid_get_data'
ld: (.text+0x580): undefined reference to `hid_get_data'
ld: (.text+0x588): undefined reference to `hid_get_data'
ld: /tmp/pkgbuild/emulators/gearsystem/work.alpha/.buildlink/lib/libSDL2.a(SDL_bsdjoystick.o): in function `CreateHwData':
(.text+0x934): undefined reference to `hid_get_report_desc'
ld: (.text+0x950): undefined reference to `hid_get_report_desc'
ld: (.text+0x994): undefined reference to `hid_report_size'
ld: (.text+0x998): undefined reference to `hid_report_size'
ld: (.text+0xaa8): undefined reference to `hid_start_parse'
ld: (.text+0xaac): undefined reference to `hid_start_parse'
ld: (.text+0xaf4): undefined reference to `hid_get_item'
ld: (.text+0xafc): undefined reference to `hid_get_item'
ld: (.text+0xb54): undefined reference to `hid_end_parse'
ld: (.text+0xb58): undefined reference to `hid_end_parse'
ld: /tmp/pkgbuild/emulators/gearsystem/work.alpha/.buildlink/lib/libSDL2.a(SDL_bsdjoystick.o): in function `BSD_JoystickInit':
(.text+0x12d4): undefined reference to `hid_init'
ld: (.text+0x12d8): undefined reference to `hid_init'
ld: /tmp/pkgbuild/emulators/gearsystem/work.alpha/.buildlink/lib/libSDL2.a(SDL_audio.o): in function `SDL_AudioInit_REAL':
(.text+0x2d84): undefined reference to `src_new'
ld: (.text+0x2d94): undefined reference to `src_process'
ld: (.text+0x2da0): undefined reference to `src_reset'
ld: (.text+0x2dac): undefined reference to `src_delete'
ld: (.text+0x2db8): undefined reference to `src_strerror'
ld: (.text+0x2dc4): undefined reference to `src_simple'
ld: /tmp/pkgbuild/emulators/gearsystem/work.alpha/.buildlink/lib/libSDL2.a(SDL_x11dyn.o): in function `SDL_X11_LoadSymbols':
(.text+0xd38): undefined reference to `XIBarrierReleasePointer'
ld: (.text+0xed0): undefined reference to `XcursorImageCreate'
ld: (.text+0xee4): undefined reference to `XcursorImageDestroy'
ld: (.text+0xef0): undefined reference to `XcursorImageLoadCursor'
ld: (.text+0xf70): undefined reference to `XIQueryDevice'
ld: (.text+0xf84): undefined reference to `XIFreeDeviceInfo'
ld: (.text+0xf90): undefined reference to `XISelectEvents'
ld: (.text+0xf9c): undefined reference to `XIGrabTouchBegin'
ld: (.text+0xfa8): undefined reference to `XIUngrabTouchBegin'
ld: (.text+0xfb4): undefined reference to `XIQueryVersion'
ld: (.text+0xfc0): undefined reference to `XIGetSelectedEvents'
ld: (.text+0xfcc): undefined reference to `XIGetClientPointer'
ld: (.text+0xfd8): undefined reference to `XIWarpPointer'
ld: (.text+0xfe4): undefined reference to `XRRQueryVersion'
ld: (.text+0xff8): undefined reference to `XRRQueryExtension'
ld: (.text+0x1004): undefined reference to `XRRGetScreenInfo'
ld: (.text+0x1010): undefined reference to `XRRConfigCurrentConfiguration'
ld: (.text+0x101c): undefined reference to `XRRConfigCurrentRate'
ld: (.text+0x1028): undefined reference to `XRRConfigRates'
ld: (.text+0x1034): undefined reference to `XRRConfigSizes'
ld: (.text+0x1040): undefined reference to `XRRSetScreenConfigAndRate'
ld: (.text+0x104c): undefined reference to `XRRFreeScreenConfigInfo'
ld: (.text+0x1058): undefined reference to `XRRSetScreenSize'
ld: (.text+0x1064): undefined reference to `XRRGetScreenSizeRange'
ld: (.text+0x1070): undefined reference to `XRRGetScreenResources'
ld: (.text+0x107c): undefined reference to `XRRGetScreenResourcesCurrent'
ld: (.text+0x1088): undefined reference to `XRRFreeScreenResources'
ld: (.text+0x1094): undefined reference to `XRRGetOutputInfo'
ld: (.text+0x10a0): undefined reference to `XRRFreeOutputInfo'
ld: (.text+0x10ac): undefined reference to `XRRGetCrtcInfo'
ld: (.text+0x10b8): undefined reference to `XRRFreeCrtcInfo'
ld: (.text+0x10c4): undefined reference to `XRRSetCrtcConfig'
ld: (.text+0x10d0): undefined reference to `XRRListOutputProperties'
ld: (.text+0x10dc): undefined reference to `XRRQueryOutputProperty'
ld: (.text+0x10e8): undefined reference to `XRRGetOutputProperty'
ld: (.text+0x10f4): undefined reference to `XRRGetOutputPrimary'
ld: (.text+0x1100): undefined reference to `XRRSelectInput'
ld: (.text+0x110c): undefined reference to `XScreenSaverQueryExtension'
ld: (.text+0x1120): undefined reference to `XScreenSaverQueryVersion'
ld: (.text+0x112c): undefined reference to `XScreenSaverSuspend'
ld: /tmp/pkgbuild/emulators/gearsystem/work.alpha/.buildlink/lib/libSDL2.a(SDL_kmsdrmdyn.o): in function `SDL_KMSDRM_LoadSymbols':
(.text+0x3b8): undefined reference to `gbm_device_is_format_supported'
ld: (.text+0x3c4): undefined reference to `gbm_device_destroy'
ld: (.text+0x3d0): undefined reference to `gbm_create_device'
ld: (.text+0x3dc): undefined reference to `gbm_bo_get_width'
ld: (.text+0x3e8): undefined reference to `gbm_bo_get_height'
ld: (.text+0x3f4): undefined reference to `gbm_bo_get_stride'
ld: (.text+0x400): undefined reference to `gbm_bo_get_format'
ld: (.text+0x40c): undefined reference to `gbm_bo_get_handle'
ld: (.text+0x418): undefined reference to `gbm_bo_write'
ld: (.text+0x424): undefined reference to `gbm_bo_get_device'
ld: (.text+0x430): undefined reference to `gbm_bo_set_user_data'
ld: (.text+0x43c): undefined reference to `gbm_bo_get_user_data'
ld: (.text+0x448): undefined reference to `gbm_bo_destroy'
ld: (.text+0x454): undefined reference to `gbm_bo_create'
ld: (.text+0x460): undefined reference to `gbm_surface_create'
ld: (.text+0x46c): undefined reference to `gbm_surface_destroy'
ld: (.text+0x478): undefined reference to `gbm_surface_lock_front_buffer'
ld: (.text+0x484): undefined reference to `gbm_surface_release_buffer'
gmake: *** [../desktop-shared/Makefile.common:102: gearsystem] Error 1
*** Error code 2

Stop.
make[1]: stopped in /usr/pkgsrc/emulators/gearsystem
*** Error code 1

Stop.
make: stopped in /usr/pkgsrc/emulators/gearsystem