undefined reference to `DISInstrToStr'

Discussions related to using the OSE version of VirtualBox.

undefined reference to `DISInstrToStr'

Postby RicV » 25. Jan 2016, 21:30

I am moving to 5.0.14 from the tarball on https://www.virtualbox.org/wiki/Downloads (moving from 5.0.12 downloaded from there before). My build machine is an Ubuntu 14.04 64 bit PC.

After running the configure script, with no switches at all, and then sourcing env.sh and running kmk all, I am getting a build error: undefined reference to `DISInstrToStr' (see kmk_all.log attached).

I can easily work around this by setting LOG_ENABLED=1 before the make, after commenting out 3 errant log messages calls as mentioned here: https://forums.virtualbox.org/viewtopic ... 18#p333928 and I actually had added that in my 5.0.12 env.sh script because at the time I needed log messages. But now I want to build without any logging enabled, so I hope someone can help me resolve the DISInstrToStr reference issue another way.

The kmk_all_log.log attachment shows that it build properly, the only difference being the env variable. I had removed the entire out tree before each attempt.

Thanks in advance, RicV
Attachments
kmk_all_log.zip
kmk log with LOG_ENABLED=1
(109.76 KiB) Downloaded 10 times
kmk_all.zip
kmk log with LOG_ENABLED not set
(108.32 KiB) Downloaded 10 times
RicV
 
Posts: 96
Joined: 25. Aug 2015, 17:58
Location: Lake Tahoe, California
Primary OS: Ubuntu other
VBox Version: OSE self-compiled
Guest OSses: Linux *.*, Win*

Re: undefined reference to `DISInstrToStr'

Postby frank » 27. Jan 2016, 11:33

Same problem as ticket 15073. I will attach the fix here. The problem is that you compile VirtualBox 5.0.x while you have a different version of VirtualBox installed at /opt/VirtualBox. This shouldn't be a problem at all but due to the bug this actually is a problem.
Attachments
diff_vbox_5.0_compile.zip
Patch against the VBox 5.0.14 source code
(769 Bytes) Downloaded 13 times
frank
Oracle Corporation
 
Posts: 3362
Joined: 7. Jun 2007, 09:11
Location: Dresden, Germany
Primary OS: Debian Sid
VBox Version: PUEL
Guest OSses: Linux, Windows

Re: undefined reference to `DISInstrToStr'

Postby RicV » 28. Jan 2016, 00:17

Thank you very much, Frank. Of course I did have a prior version installed, since I had not yet built the current version. But with this patch applied, it built and ran correctly.
RicV
 
Posts: 96
Joined: 25. Aug 2015, 17:58
Location: Lake Tahoe, California
Primary OS: Ubuntu other
VBox Version: OSE self-compiled
Guest OSses: Linux *.*, Win*


Return to VirtualBox OSE

Who is online

Users browsing this forum: No registered users and 2 guests