3

I ran into some trouble using BOCHS (Paket bochs-2.6.2-7.fc22.x86_64) on my brand new installed Fedora 22 AMD64 system. I used yum to get bochs but if I try to start a simulation I get an error message:

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 searched on the web for a solution with no success.

gideon
  • 19,329
  • 11
  • 72
  • 113
Simon Friese
  • 101
  • 5

1 Answers1

0

Not sure if you were doing some os development here. I was; reading the little os book

Anyway, from this, this and this it seems like this was an issue that was resolved sometime after 2013. If you install via package manager you'll get an older 2.6.x. version. As of Jul 17 2016 2.6.8 is the latest you can get from the source.

So for what worked was getting the latest source from here.

Download the tar.gz from the previous link to a location. cd into that directory, Ensure you remove 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 it should work for you and any poor souls out there who were lost like me.

gideon
  • 19,329
  • 11
  • 72
  • 113