make[1]: Entering directory `/home/zfl/bochs-2.6.9/gui'
g++ -c -I.. -I./.. -I../iodev -I./../iodev -I../instrument/stubs -I./../instrument/stubs -g -O2 -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -pthread x.cc -o x.o
x.cc:37:22: fatal error: X11/Xlib.h: No such file or directory
#include <X11/Xlib.h>
^
compilation terminated.
make[1]: *** [x.o] Error 1
make[1]: Leaving directory `/home/zfl/bochs-2.6.9/gui'
make: *** [gui/libgui.a] Error 2
Looks like you are missing the libx11 package.
Try
sudo apt-get install libx11-dev
and recompile after that.
EDIT: Steps to recompile. Run the following commands.
make dist-clean
./configure
make
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.