@spider-mario: built it successfully in a clean chroot. Just try this and report.
https://wiki.archlinux.org/index.php/DeveloperWiki:Building_in_a_clean_chroot
Git Clone URL: | https://aur.archlinux.org/dosbox-x-sdl2.git (read-only, click to copy) |
---|---|
Package Base: | dosbox-x-sdl2 |
Description: | x86 emulator with builtin DOS, with patches and more features |
Upstream URL: | http://dosbox-x.com |
Keywords: | dos dosbox emulation emulator sdl2 |
Licenses: | GPL-2.0-or-later |
Conflicts: | dosbox-x, dosbox-x-git, dosbox-x-sdl2-git |
Submitter: | 32th |
Maintainer: | FredBezies |
Last Packager: | FredBezies |
Votes: | 9 |
Popularity: | 0.054934 |
First Submitted: | 2018-10-30 17:02 (UTC) |
Last Updated: | 2025-01-02 10:21 (UTC) |
« First ‹ Previous 1 2 3 4
@spider-mario: built it successfully in a clean chroot. Just try this and report.
https://wiki.archlinux.org/index.php/DeveloperWiki:Building_in_a_clean_chroot
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
The shortcut should have:
Exec=dosbox %f
MimeType=application/x-ms-dos-executable
Replies to http://tinyurl.com/contact-alberto
Pinned Comments