Re: PATCH for bochs/plugins/libbx_usb_uhci.so: undefined symbol: _ZTV12usb_device_c

Volker Ruppert <[email protected]> Fri, 20 Nov 2015 19:44:15 +0100
Newsgroups gmane.comp.emulators.bochs.devel
Message-ID <[email protected]>
Hi!
> I was testing bochs on Fedora 23, when I noticed this
>
> bochs/plugins/libbx_usb_uhci.so: undefined symbol: _ZTV12usb_device_c
>
> issue when trying to run bochs. As it was using a old 2.6.2 (2013)
> version of bochs, I downloaded the latest svn source and compiled the
> same with
>
> ./configure --enable-debugger --enable-disasm --with-all-libs
> --enable-e1000 --enable-sb16  --enable-plugins --enable-usb

Thanks for pointing out this issue. It doesn't happen here with openSUSE 
13.1. Your patch is not 100% correct, since USB HC plugin devices can be 
loaded before devices init via bochsrc. That's why we have load the USB 
core plugin before parsing configuration. The devices init will unload 
it if no USB HC is present.
BTW: Can you please check whether or not similar changes are required 
for the networking or sound lowlevel code?

Thanks,
Volker


------------------------------------------------------------------------------