[Buildroot] FW: x11vnc compile error

Phil Edworthy PHIL.EDWORTHY at renesas.com
Mon Jan 31 08:58:21 UTC 2011


Hi Feng,

> cc1: warning: include location "/usr/include" is unsafe for cross-
> compilation
> cc1: warning: include location "/usr/include" is unsafe for cross-
> compilation
> In file included from ../rfb/rfb.h:51,
>                  from x11vnc.h:33,
>                  from gui.c:3:
> /usr/include/pthread.h:655: warning: '__regparm__' attribute directive
> ignored
> /usr/include/pthread.h:667: warning: '__regparm__' attribute directive
> ignored
> /usr/include/pthread.h:712: warning: '__regparm__' attribute directive
> ignored
> In file included from ../rfb/rfb.h:51,
>                  from x11vnc.h:33,
>                  from connections.c:3:
> /usr/include/pthread.h:655: warning: '__regparm__' attribute directive
> ignored
> /usr/include/pthread.h:667: warning: '__regparm__' attribute directive
> ignored
> /usr/include/pthread.h:712: warning: '__regparm__' attribute directive
> ignored
> connections.c: In function 'check_gui_inputs':
> connections.c:2024: error: impossible constraint in 'asm'

The version of x11vnc used by BR is quite old, 0.9.3 is from Oct 2007. The
first thing I would try is editing package/x11vnc/x11vnc.mk to bump the
package to the latest release, 0.9.12

Phil


More information about the buildroot mailing list