--- tigervnc-1.3.1/unix/xserver/hw/xwayland/xwayland.c~ 2015-01-10 18:03:40.852155058 +0100 +++ tigervnc-1.3.1/unix/xserver/hw/xwayland/xwayland.c 2015-01-10 18:08:58.240164951 +0100 @@ -682,3 +682,8 @@ FatalError("Couldn't add screen\n"); } } + +// never called with Xwayland, satisfy 'os' linked +// lib externs used only with Xvnc binary +void vncWriteBlockHandler(fd_set *fds) { } +void vncWriteWakeupHandler(int nfds, fd_set *fds) { } --- tigervnc-1.3.1/unix/xserver/hw/vnc/Makefile.am~ 2015-01-11 06:02:48.324838411 +0100 +++ tigervnc-1.3.1/unix/xserver/hw/vnc/Makefile.am 2015-01-11 06:34:59.852555819 +0100 @@ -37,7 +37,7 @@ -DVENDOR_STRING="\"$(VENDOR_STRING)\"" -I$(TIGERVNC_SRCDIR)/common \ -I$(top_srcdir)/include ${XSERVERLIBS_CFLAGS} -I$(includedir) -Xvnc_LDADD = $(XVNC_LIBS) libvnccommon.la $(COMMON_LIBS) \ +Xvnc_LDADD = $(XVNC_LIBS) libvnccommon.la $(COMMON_LIBS) $(OS_LIB) \ $(XSERVER_LIBS) $(XSERVER_SYS_LIBS) $(XVNC_SYS_LIBS) -lX11 Xvnc_LDFLAGS = $(LD_EXPORT_SYMBOLS_FLAG)