1.ERROR: X windows gui was selected, but X windows libraries were not found.
解决方法: sudo apt-get install xorg-dev
2.ERROR: pkg-config was not found, or unable to access the gtk+-2.0 package.
解决方法:sudo apt-get install libgtk2.0-dev
3.ERROR:/usr/bin/ld: gui/libgui.a(gtk_enh_dbg_osdep.o): undefined reference to symbol 'pthread_create@@GLIBC_2.2.5'
//lib/x86_64-linux-gnu/libpthread.so.0: error adding symbols: DSO missing from command line
原因:没有找到多线程库,在configure时加上LDFLAGS='-pthread'即可
解决方法:./configure --enable-debugger --enable-disasm LDFLAGS='-pthread'
4.make install时出现 install: cannot stat './bochsdbg': No such file or directory
解决方法:将bochs文件改名为bochsdbg
5.make install时出现 mkdir: cannot create directory ‘/usr/local/share/bochs/keymaps’: File exists
解决方法:sudo rm -rf /usr/local/share/bochs/keymaps