12.04: problem building emacs 24.1.50

view full story

http://askubuntu.com – I've just updated to 12.04. Everything works fine except for the latest custom-build emacs. It says now: emacs: symbol lookup error: emacs: undefined symbol: gtk_window_set_has_resize_grip So I've decided to re-build emacs. For that I've git pull the latest snapshot, and have done everything as I usually do, but now I get an error during compilation: In file included from /home/boris/its/blds/emacs/lib-src/emacsclient.c:76:0: ../lib/getopt.h:196:8: error: redefinition of ‘struct option’ /usr/include/getopt.h:106:8: note: originally defined here ../lib/getopt.h:245:12: error: conflictin (HowTos)