The package fails to build for me:
g++ -march=x86-64 -mtune=generic -pipe -fno-plt -std=gnu++11 -O2 -msse -Wall -Wextra -Wunused -pedantic -Wlogical-op -Wsign-promo -Wconversion-null -Wno-deprecated-declarations -Wno-implicit-fallthrough -Wno-strict-aliasing -Wno-missing-field-initializers -Wno-format-zero-length -Wno-address-of-packed-member -Wno-int-to-void-pointer-cast -I/tmp/makepkg/dosbox-x-sdl2/src/dosbox-x-dosbox-x-v0.83.3/vs2015/sdlnet/linux-host/include -I/tmp/makepkg/dosbox-x-sdl2/src/dosbox-x-dosbox-x-v0.83.3/vs2015/sdlnet/linux-host/include/SDL -D_XOPEN_SOURCE=700 -D_POSIX_C_SOURCE=200809L -Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now -L/tmp/makepkg/dosbox-x-sdl2/src/dosbox-x-dosbox-x-v0.83.3/vs2015/sdlnet/linux-host/lib -o dosbox-x dosbox.o debug/libdebug.a dos/libdos.a shell/libshell.a builtin/libbuiltin.a ints/libints.a misc/libmisc.a hardware/serialport/libserial.a hardware/parport/libparallel.a libs/porttalk/libporttalk.a gui/libgui.a libs/gui_tk/libgui_tk.a hardware/libhardware.a cpu/libcpu.a hardware/reSID/libresid.a fpu/libfpu.a gui/libgui.a output/liboutput.a hardware/mame/libmame.a libs/zmbv/libzmbv.a aviwriter/libaviwriter.a xBRZ/libxbrz.a mt32/libmt32.a -lasound -lm -ldl -lpthread -L/usr/lib -pthread -lSDL2 -ltinfo -lfreetype -lSDL_net -lz -lpng -lz -lpcap -lX11 -lXrandr -lxkbfile -lfluidsynth -lGL
/usr/bin/ld: hardware/serialport/libserial.a(misc_util.o): in function `TCPClientSocket::TCPClientSocket(int)':
misc_util.cpp:(.text+0x172): undefined reference to `SDLNet_GetError'
/usr/bin/ld: hardware/serialport/libserial.a(misc_util.o): in function `TCPClientSocket::TCPClientSocket(_TCPsocket*)':
misc_util.cpp:(.text+0x25a): undefined reference to `SDLNet_GetError'
/usr/bin/ld: hardware/serialport/libserial.a(misc_util.o): in function `TCPClientSocket::TCPClientSocket(char const*, unsigned short)':
misc_util.cpp:(.text+0x37a): undefined reference to `SDLNet_GetError'
/usr/bin/ld: hardware/serialport/libserial.a(misc_util.o): in function `TCPServerSocket::TCPServerSocket(unsigned short)':
misc_util.cpp:(.text+0x77a): undefined reference to `SDLNet_GetError'
/usr/bin/ld: gui/libgui.a(midi.o): in function `MidiHandler_timidity::PlaySysex(unsigned char*, unsigned long)':
midi.cpp:(.text+0xa0a): undefined reference to `SDLNet_GetError'
/usr/bin/ld: gui/libgui.a(midi.o):midi.cpp:(.text+0xbc2): more undefined references to `SDLNet_GetError' follow
Pinned Comments