Package Details: dosbox-daum 20150125-2

Git Clone URL: https://aur.archlinux.org/dosbox-daum.git (read-only)
Package Base: dosbox-daum
Description: Emulator with builtin DOS for running DOS Games (Daum version)
Upstream URL: http://ykhwong.x-y.net/
Licenses: GPL
Conflicts: dosbox
Provides: dosbox
Submitter: oi_wtf
Maintainer: oi_wtf
Last Packager: oi_wtf
Votes: 7
Popularity: 0.025102
First Submitted: 2015-06-16 21:17
Last Updated: 2017-02-12 22:43

Required by (45)

Sources (9)

Latest Comments

avamk commented on 2017-02-21 17:36

@oi_wtf: Ah OK. I re-makepkg-ed the sdl-openglhq dependency and making/installing dosbox-daum now works. Thank you!

oi_wtf commented on 2017-02-20 15:20

well, they're all linking errors...

"undefined referenct to"-errors mean, that the linker couldn't find the mentioned function in the actual library (the *.so)
Usually this is caused by two different problems:

1. The library which contains the function is missing from the linkers command line. Adding -lXXX for libXXX.so to the linkers flags helps here.
But since it compiles fine on a few others and my system, this shouldn't be the case.

2. The header (*.h) used for compiling and the library (*.so) have mismatches. Like the header defines a function which isn't actually in the library.
There are many things, that can cause this... Most commonly: The header and the library are from different versions of the library for some reason.
For example: Let's say, there's an old version of the header in /usr/local/, the compiler uses /usr/include/somelib.h, but the linker tries to use /usr/local/lib/libsomelib.so, or the other way round.

You could start with checking if all libraries the mentioned functions belong to are installed correctly and up to date.
Maybe some of them should be recompiled, because their dependencies were upated.

For example the "/usr/lib/libSDL.so: undefined reference to `ts_open'" error looks like it's caused by the latter.

avamk commented on 2017-02-18 19:53

Hello, I got the following error when running makepkg with the latest dosbox-daum:

hardware/libhardware.a(pic.o): In function `_GLOBAL__sub_I_PIC_Ticks':
pic.cpp:(.text.startup+0x89): undefined reference to `IPX_AES_EventHandler_PIC_Event'
pic.cpp:(.text.startup+0x1d2): undefined reference to `IPX_ClientLoop_PIC_Timer'
pic.cpp:(.text.startup+0x1e0): undefined reference to `IPX_ServerLoop_PIC_Timer'
gui/libgui.a(midi.o): In function `MidiHandler_timidity::close_all()':
midi.cpp:(.text+0x5fc): undefined reference to `SDLNet_TCP_Close'
midi.cpp:(.text+0x608): undefined reference to `SDLNet_TCP_Close'
gui/libgui.a(midi.o): In function `MidiHandler_timidity::connect_to_server(char const*, int, _TCPsocket**)':
midi.cpp:(.text+0x63f): undefined reference to `SDLNet_ResolveHost'
midi.cpp:(.text+0x64b): undefined reference to `SDLNet_TCP_Open'
gui/libgui.a(midi.o): In function `MidiHandler_timidity::timidity_write_data(void const*, int)':
midi.cpp:(.text+0x6c3): undefined reference to `SDLNet_TCP_Send'
midi.cpp:(.text+0x6e7): undefined reference to `SDLNet_TCP_Close'
midi.cpp:(.text+0x6f3): undefined reference to `SDLNet_TCP_Close'
gui/libgui.a(midi.o): In function `MidiHandler_timidity::fdgets(char*, unsigned long)':
midi.cpp:(.text+0x9f0): undefined reference to `SDLNet_TCP_Recv'
gui/libgui.a(midi.o): In function `MidiHandler_timidity::timidity_ctl_command(char*, char const*, ...)':
midi.cpp:(.text+0xb3b): undefined reference to `SDLNet_TCP_Send'
gui/libgui.a(midi.o): In function `MidiHandler_timidity::Open(char const*) [clone .part.19]':
midi.cpp:(.text+0xce8): undefined reference to `SDLNet_TCP_Close'
midi.cpp:(.text+0xcf4): undefined reference to `SDLNet_TCP_Close'
midi.cpp:(.text+0xe5a): undefined reference to `SDLNet_TCP_Close'
midi.cpp:(.text+0xe66): undefined reference to `SDLNet_TCP_Close'
gui/libgui.a(midi.o): In function `MidiHandler_timidity::teardown()':
midi.cpp:(.text+0x105c): undefined reference to `SDLNet_TCP_Close'
gui/libgui.a(midi.o):midi.cpp:(.text+0x1068): more undefined references to `SDLNet_TCP_Close' follow
gui/libgui.a(midi.o): In function `_GLOBAL__sub_I_MIDI_evt_len':
midi.cpp:(.text.startup+0x2d0): undefined reference to `SDLNet_Init'
/usr/lib/libSDL.so: undefined reference to `ts_open'
/usr/lib/libSDL.so: undefined reference to `ts_config'
/usr/lib/libSDL.so: undefined reference to `ts_close'
/usr/lib/libSDL.so: undefined reference to `ts_fd'
/usr/lib/libSDL.so: undefined reference to `ts_read'
collect2: error: ld returned 1 exit status

How do I troubleshoot this? Thanks!

CyberConan commented on 2017-02-13 20:00

Thanks!! Now dosbox-daum compiles well again. I hope ykhwong makes a new release. Two years without news of the best version dosbox performed to date is a shame. Regards.

oi_wtf commented on 2017-02-12 22:43

Yeah, looks like the same error diskotechjam has...
But something must be different with your systems compared to mine, since I did't get that error...

Replacing 'false' with '0' or even better 'NULL' or 'nullptr' should be the correct fix for this, yes.
'NULL' is actually returned later in the function, so any caller should handle the 'NULL' return value anyway.
Since this error occurred more than once, I'll add a patch.

CyberConan commented on 2017-02-11 12:43

Hi, I have the same error (in spanish):

drive_physfs.cpp: En la función miembro ‘virtual void* physfsDrive::opendir(const char*)’:
drive_physfs.cpp:418:42: error: no se puede convertir ‘bool’ a ‘void*’ en la devolución
if (!PHYSFS_isDirectory(myname)) return false;

I have could compile replacing in this file false for 0 but I don't know if is the best solution.

oi_wtf commented on 2017-02-10 21:50

Sorry, can't reproduce your error.
Did you change CFLAGS, CXXFLAGS or LDFLAGS in makepkg.conf?
Do you use some other compiler than standard gcc?
On my system that's currently: gcc-multilib 6.3.1-1 from [multilib]...

diskotechjam commented on 2017-02-06 21:06

Getting an error installing with yaourt...

drive_physfs.cpp: In member function ‘virtual void* physfsDrive::opendir(const char*)’:
drive_physfs.cpp:418:42: error: cannot convert ‘bool’ to ‘void*’ in return
if (!PHYSFS_isDirectory(myname)) return false;
^~~~~
make[3]: *** [Makefile:385: drive_physfs.o] Error 1
make[3]: Leaving directory '/tmp/yaourt-tmp-tom/aur-dosbox-daum/src/src/dos'
make[2]: *** [Makefile:480: all-recursive] Error 1
make[2]: Leaving directory '/tmp/yaourt-tmp-tom/aur-dosbox-daum/src/src'
make[1]: *** [Makefile:378: all-recursive] Error 1
make[1]: Leaving directory '/tmp/yaourt-tmp-tom/aur-dosbox-daum/src'
make: *** [Makefile:319: all] Error 2
==> ERROR: A failure occurred in build().
Aborting...

unknown78 commented on 2016-03-19 17:37

I supose because of the new nvidia driver it crashes if you use openglhq as output. __GLVND_DISALLOW_PATCHING=1 << doesn't work. Using opengl as output surface works.

oi_wtf commented on 2015-12-06 12:43

I don't know.
Maybe there's some info at http://cafe.daum.net/dosbox
but I can't tell since I can't read korean. :(

All comments