bochs 2.2.1 with wxwidgets >=2.6 compiles perfectly. Please allow the current ebuild in portage to compile also with wxwidgets 2.6 instead of just allow 2.4. Thanks in advance. Reproducible: Always Steps to Reproduce:
it simply need a patch make[1]: Entering directory `/mnt/Dati/Gentoo/tmp/portage/bochs-2.2.1/work/bochs-2.2.1/gui' /bin/sh ../libtool --mode=compile i686-pc-linux-gnu-g++ -c -I.. -I./.. -I../iodev -I./../iodev -I../instrument/stubs -I./../instrument/stubs -O3 -mtune=pentium3 -march=pentium3 -pipe -fomit-frame-pointer -mmmx -msse -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES `sdl-config --cflags` `/usr/lib/wx/config/gtk2-ansi-release-2.6 --cxxflags` wx.cc -o wx.lo i686-pc-linux-gnu-g++ -c -I.. -I./.. -I../iodev -I./../iodev -I../instrument/stubs -I./../instrument/stubs -O3 -mtune=pentium3 -march=pentium3 -pipe -fomit-frame-pointer -mmmx -msse -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -I/usr/include/SDL -D_REENTRANT -I/usr/lib/wx/include/gtk2-ansi-release-2.6 -I/usr/include/wx-2.6 -DGTK_NO_CHECK_CASTS -D__WXGTK__ -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -D_LARGEFILE_SOURCE=1 -DNO_GCC_PRAGMA wx.cc -fPIC -DPIC -o .libs/wx.o wx.cc:557:28: gdk/gdkkeysyms.h: No such file or directory wx.cc: In member function `bx_bool MyPanel::fillBxKeyEvent_GTK(wxKeyEvent&, BxKeyEvent&, bx_bool)': wx.cc:572: error: `GDK_space' undeclared (first use this function) wx.cc:572: error: (Each undeclared identifier is reported only once for each function it appears in.) wx.cc:572: error: `GDK_asciitilde' undeclared (first use this function) wx.cc:576: error: `GDK_KP_1' undeclared (first use this function) wx.cc:582: error: `GDK_KP_2' undeclared (first use this function) wx.cc:588: error: `GDK_KP_3' undeclared (first use this function) wx.cc:594: error: `GDK_KP_4' undeclared (first use this function) wx.cc:600: error: `GDK_KP_5' undeclared (first use this function) wx.cc:606: error: `GDK_KP_6' undeclared (first use this function) wx.cc:612: error: `GDK_KP_7' undeclared (first use this function) wx.cc:618: error: `GDK_KP_8' undeclared (first use this function) wx.cc:624: error: `GDK_KP_9' undeclared (first use this function) wx.cc:630: error: `GDK_KP_0' undeclared (first use this function) wx.cc:636: error: `GDK_KP_Decimal' undeclared (first use this function) wx.cc:646: error: `GDK_KP_Subtract' undeclared (first use this function) wx.cc:647: error: `GDK_KP_Add' undeclared (first use this function) wx.cc:649: error: `GDK_KP_Multiply' undeclared (first use this function) wx.cc:650: error: `GDK_KP_Divide' undeclared (first use this function) wx.cc:653: error: `GDK_Up' undeclared (first use this function) wx.cc:654: error: `GDK_Down' undeclared (first use this function) wx.cc:655: error: `GDK_Left' undeclared (first use this function) wx.cc:656: error: `GDK_Right' undeclared (first use this function) wx.cc:659: error: `GDK_Delete' undeclared (first use this function) wx.cc:660: error: `GDK_BackSpace' undeclared (first use this function) wx.cc:661: error: `GDK_Tab' undeclared (first use this function) wx.cc:665: error: `GDK_Return' undeclared (first use this function) wx.cc:666: error: `GDK_Escape' undeclared (first use this function) wx.cc:667: error: `GDK_F1' undeclared (first use this function) wx.cc:668: error: `GDK_F2' undeclared (first use this function) wx.cc:669: error: `GDK_F3' undeclared (first use this function) wx.cc:670: error: `GDK_F4' undeclared (first use this function) wx.cc:671: error: `GDK_F5' undeclared (first use this function) wx.cc:672: error: `GDK_F6' undeclared (first use this function) wx.cc:673: error: `GDK_F7' undeclared (first use this function) wx.cc:674: error: `GDK_F8' undeclared (first use this function) wx.cc:675: error: `GDK_F9' undeclared (first use this function) wx.cc:676: error: `GDK_F10' undeclared (first use this function) wx.cc:677: error: `GDK_F11' undeclared (first use this function) wx.cc:678: error: `GDK_F12' undeclared (first use this function) wx.cc:679: error: `GDK_Control_L' undeclared (first use this function) wx.cc:683: error: `GDK_Shift_L' undeclared (first use this function) wx.cc:684: error: `GDK_Shift_R' undeclared (first use this function) wx.cc:685: error: `GDK_Alt_L' undeclared (first use this function) wx.cc:689: error: `GDK_Caps_Lock' undeclared (first use this function) wx.cc:690: error: `GDK_Num_Lock' undeclared (first use this function) wx.cc:701: error: `GDK_Insert' undeclared (first use this function) wx.cc:702: error: `GDK_Home' undeclared (first use this function) wx.cc:703: error: `GDK_End' undeclared (first use this function) wx.cc:704: error: `GDK_Page_Up' undeclared (first use this function) wx.cc:705: error: `GDK_Page_Down' undeclared (first use this function) make[1]: *** [wx.lo] Error 1 make[1]: Leaving directory `/mnt/Dati/Gentoo/tmp/portage/bochs-2.2.1/work/bochs-2.2.1/gui' make: *** [bochs_plugins] Error 2 as you can see it lacks a file. #if defined (wxHAS_RAW_KEY_CODES) && defined(__WXGTK__) // get those keysym definitions #include <gdk/gdkkeysyms.h> #endif the problem is that file is in: /usr/include/gtk-2.0/gdk for gtk2 and /usr/include/gtk-1.2/gdk for gtk1 so in ebuild (or bochs configure...i'll tell upstream) you need to check that and include it. maybe epatch can help you, after checking the wx status with wx eclass. seems not a big problem and will add wx 2.6 compatibility
Now should be fixed. Please check and reopen if doesn't work (here is working)