VOGONS


First post, by Cadavre777

User metadata
Rank Newbie
Rank
Newbie

Greetings

I have been having trying to build Dosbox (h-a-l-9000's megabuild 4.1) on NetBSD 4.0.1(stable i386) and I have run out of luck. Plain Dosbox 0.72 builds just fine, so there shouldn't any dependencies that have not been met.

Let me show where the problem is...

Making all in visualc
g++ -g -O2 -I/usr/X11R6/include/freetype2 -I/usr/X11R6/include -o dosbox dosbox.o cpu/libcpu.a debug/libdebug.a dos/libdos.a fpu/libfpu.a hardware/libhardware.a gui/libgui.a ints/libints.a misc/libmisc.a shell/libshell.a hardware/serialport/libserial.a hardware/parport/libparallel.a libs/gui_tk/libgui_tk.a libs/porttalk/libporttalk.a -lSDL_sound -lm -L/usr/pkg/lib -Wl,-rpath,/usr/pkg/lib -lSDL -lpthread -L/usr/X11R6/lib -lfreetype -lz -lpcap -lSDL_net
hardware/libhardware.a(sblaster.o): In function `SBLASTER_ShutDown(Section*)':
/home/test/dosbox/src/hardware/sblaster.cpp:1568: undefined reference to `HWOPL_Cleanup()'
hardware/libhardware.a(sblaster.o): In function `SBLASTER':
/home/test/dosbox/src/hardware/sblaster.cpp:1494: undefined reference to `HARDOPL_Init(unsigned int, unsigned int)'
ints/libints.a(bios.o): In function `BIOS_HostTimeSync':
/home/test/dosbox/src/ints/bios.cpp:338: undefined reference to `ftime'
*** Error code 1

This is the process I followed after unpacking the megabuild and changing directory.

 $ sh autogen.sh && ./configure
make

Unfortunately I require the lpt support in megabuild 4.1 for the application I intend to use (even though dosbox was intended for games) as there are no commercial systems available which meet the requirements.

As far as I can see, ftime is the culprit in bios.cpp. Is there something I'm not doing correctly or just not doing? Please note I'm not a developer, changing any code myself would just make more problems.

Any ideas? Mods, please move this thread if I have put it in the wrong section.

Thanks

Cadavre777

Reply 1 of 1, by Qbix

User metadata
Rank DOSBox Author
Rank
DOSBox Author

there is probably some file missing from the makefile.am
But this is a non stock dosbox and of such we don't really support it.

Water flows down the stream
How to ask questions the smart way!