Bochs on Fedora 22: Failed to load module libbx_usb_uhci.so
I am having problems using BOCHS (Paket bochs-2.6.2-7.fc22.x86_64) on my newly installed Fedora 22 AMD64. I have used yum to get bochs, but if I try to run a simulation, I get an error:
00000000000p[ ] >>PANIC<< dlopen failed for module 'usb_uhci': /usr/lib64/bochs/plugins/libbx_usb_uhci.so: undefined symbol: _ZTV12usb_device_c
================================================== ======================
Event type: PANIC
Device: [ ]
Message: dlopen failed for module 'usb_uhci': /usr/lib64/bochs/plugins/libbx_usb_uhci.so: undefined symbol: _ZTV12usb_device_c
I have searched online for a solution with no success.
source to share
Not sure if you are doing OS development here. I was; after reading the little book os
Anyway, from this , this and this it seems like it was a problem that was resolved sometime after 2013. If you install via a package manager, I get older 2.6.x. version. As of July 17, 2016, this is the last you can get from the source. 2.6.8
So, for what worked the final source came up here .
Download tar.gz from the previous link to your desired location. cd
to that directory, make sure you uninstall bochs if you installed it via yum
, apt-get
or dnf
for Fed 23+
Then do:
tar -xvf bochs*
#the extra build flags for if your're doing osdev
./configure --enable-debugger --enable-disasm --with-all-libs
make
sudo make install
Viola! Hopefully this should work for you and all the poor souls who have been lost like me.
source to share