make[3]: Entering directory `/var/tmp/portage/x11-misc/x11vnc-0.9.12/work/x11vnc-0.9.12/x11vnc' if i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -D_REENTRANT -O2 -march=pentium-m -fomit-frame-pointer -pipe -Wall -MT x11vnc-connections.o -MD -MP -MF ".deps/x11vnc-connections.Tpo" -c -o x11vnc-connections.o `test -f 'connections.c' || echo './'`connections.c; \ then mv -f ".deps/x11vnc-connections.Tpo" ".deps/x11vnc-connections.Po"; else rm -f ".deps/x11vnc-connections.Tpo"; exit 1; fi In file included from connections.c:55:0: pointer.h:42:13: error: ‘pointer’ redeclared as different kind of symbol /usr/include/X11/Xdefs.h:53:15: note: previous declaration of ‘pointer’ was here Reproducible: Always
Can you please attach both: emerge --info =x11-misc/x11vnc-0.9.10 and /var/tmp/portage/x11-misc/x11vnc-0.9.10/temp/build.log Thank you
upstream fix. http://sourceforge.net/tracker/index.php?func=detail&aid=3043646&group_id=32584&atid=405858#
Same issue here on ~amd64. That upstream patch doesn't seem to patch the pointer.h-file for me (as the patch doesn't touch that file) I just went for their 'bleeding edge' dev-version 0.9.12 at http://www.karlrunge.com/x11vnc/#downloading and added it to local overlay. Compiles fine, no testing done yet. /Charlie
Same exact error here (~amd64).
Same problem here. Confirmed that installing x11vnc-0.9.12-dev from a local overlay addresses the issue.
the problem is in xproto-7.0.18. I've x11vnc-0.9.10 installed before it released, but it doesn't recompile now. Issues is: downgrade xproto or use newer version of x11vnc.
I've attached an upstream patch to bug #334483 that fixes the issue for x11vnc-0.9.11. It also works for 0.9.10.
Thanks, I've included the fix from bug #334483.