[SOLVED] Building Custom Bochs
Posted: Tue Nov 24, 2020 5:11 pm
Hello.
I'm having some trouble building Bochs on Ubuntu/WSL2.
Here's my current command line:Do note that I do have the regular apt bochs package with everything working in that.
The reason I need to build it is actually to see how bochs handles USB calls. I added a little debug line at usb_xhci.cc:3037
but when I build it it gives this error:
What should I do so that it compiles correctly? All I really need is the compile arguments for the apt bochs package.
I'm having some trouble building Bochs on Ubuntu/WSL2.
Here's my current command line:
Code: Select all
./configure --enable-plugins --enable-usb-xhci --enable-usb --enable-gameport --enable-iodebug
make -j8
echo We are not installing because we already have the apt bochs package. Leave it in its folder.
The reason I need to build it is actually to see how bochs handles USB calls. I added a little debug line at usb_xhci.cc:3037
Code: Select all
BX_DEBUG(("Broadcast Packet"));
Code: Select all
00000000000i[ ] LTDL_LIBRARY_PATH not set. using compile time default '/usr/local/lib/bochs/plugins'
00000000000i[ ] BXSHARE not set. using compile time default '/usr/local/share/bochs'
00000000000i[ ] lt_dlhandle is (nil)
00000000000p[ ] >>PANIC<< dlopen failed for module 'unmapped' (libbx_unmapped.so): file not found
00000000000e[SIM ] notify called, but no bxevent_callback function is registered
00000000000e[SIM ] notify called, but no bxevent_callback function is registered
========================================================================
Bochs is exiting with the following message:
[ ] dlopen failed for module 'unmapped' (libbx_unmapped.so): file not found