It also happens on my machine (gcc 2.91.66).
The immediate and simple solution is to add an: #include "MenuBackend.h"
to the top of src/frontends/Menubar_pimpl.h
The reason for this is line 77 in the Menubar_pimpl.h file that says:
: pimpl_(p), obj_(o) { item_.reset(i); }
specifically the probl
gcc-2.95.2
today's make.log attached
Garst
Making all in xforms
make[4]: Entering directory `/usr/local/garst/lyx-devel/src/frontends/xforms'
/bin/sh ../../../libtool --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I../../../src
-I../../../images -I../../../src/-I../../../src/frontends/
-