On Wed, Jan 30, 2013 at 09:07:55PM +0000, Stuart Henderson wrote: > On 2013/01/30 21:15, Matthieu Herrb wrote: > > On Wed, Jan 30, 2013 at 07:50:56PM +0000, Stuart Henderson wrote: > > > > > > Ok so this needs some more, at least for the default flavour. > > > > > > cc -c -I/usr/local/include -I/usr/local/include/libpng -Demacs > > > -DHAVE_CONFIG_H -DUSE_LUCID -I. > > > -I/usr/ports/pobj/emacs-21.4/emacs-21.4/src -I/usr/X11R6/include > > > -O2 -pipe xterm.c > > > xterm.c: In function `x_term_init': > > > xterm.c:14303: dereferencing pointer to incomplete type > > > > > > > Do you have the config.log file from configure somewhere ? it looks > > like HAVE_XRMSETDATABASE is not probed correctly, and thus the builds > > fails into a dead branch of the code (the ifndef HAVE_XRMSETDATABASE > > part has probably not been compile tested for years...) > > > > Probably yet another issue with static linking of X libs. > > -- > > Matthieu Herrb > > > > I do; lots of "xcb_io.o: Undefined symbol `_xcb_XXX' referenced from > text segment" messages after "checking for XrmSetDatabase". >
You need to set LIB_X11_LIB to -lX11 -lxcb , either by patching the configure.in or in s/openbsd.h... but it will probably not be enough... the no_x11 flavor may be easier. -- Matthieu Herrb
