* [Buildroot] FW: x11vnc compile error
@ 2011-01-31 8:25 Feng Yang
2011-01-31 8:58 ` Phil Edworthy
2011-01-31 14:09 ` Peter Korsgaard
0 siblings, 2 replies; 3+ messages in thread
From: Feng Yang @ 2011-01-31 8:25 UTC (permalink / raw)
To: buildroot
Hi,
My name is Feng and come from Taiwan, as title, I build x11vnc package
in buildroot-2010.08.
My CPU core is SuperH 4A.
Would you mind give me some suggestion to fix error?
following is the error message.
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'
Regards,
Feng
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20110131/7608bae0/attachment-0001.html>
^ permalink raw reply [flat|nested] 3+ messages in thread
* [Buildroot] FW: x11vnc compile error
2011-01-31 8:25 [Buildroot] FW: x11vnc compile error Feng Yang
@ 2011-01-31 8:58 ` Phil Edworthy
2011-01-31 14:09 ` Peter Korsgaard
1 sibling, 0 replies; 3+ messages in thread
From: Phil Edworthy @ 2011-01-31 8:58 UTC (permalink / raw)
To: buildroot
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
^ permalink raw reply [flat|nested] 3+ messages in thread
* [Buildroot] FW: x11vnc compile error
2011-01-31 8:25 [Buildroot] FW: x11vnc compile error Feng Yang
2011-01-31 8:58 ` Phil Edworthy
@ 2011-01-31 14:09 ` Peter Korsgaard
1 sibling, 0 replies; 3+ messages in thread
From: Peter Korsgaard @ 2011-01-31 14:09 UTC (permalink / raw)
To: buildroot
>>>>> "Feng" == Feng Yang <feng.yang.xb@renesas.com> writes:
Feng> Hi,
Feng> My name is Feng and come from Taiwan, as title, I build x11vnc package in
Feng> buildroot-2010.08.
Feng> My CPU core is SuperH 4A.
Feng> Would you mind give me some suggestion to fix error?
Feng> following is the error message.
Seems like it ends up including host header files, which causes the
break. Could you try adding xlib_libXt to your build? With that added,
it builds here on powerpc with latest git.
--
Bye, Peter Korsgaard
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2011-01-31 14:09 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-01-31 8:25 [Buildroot] FW: x11vnc compile error Feng Yang
2011-01-31 8:58 ` Phil Edworthy
2011-01-31 14:09 ` Peter Korsgaard
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox