<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
</head>
<body>
I have to compile libcairo-1.14.2 in linux in 32 but format, on a 64
bit linux system. <br>
<br>
I have tried the following commands:<br>
# ./autogen.sh --host = i386-pc-linux-gnu --build = i386-linux
CFLAGS = -m32<br>
# ./configure --prefix = "/ usr / work / libcairo-1.14.2 / compiled
/" --host = i386-pc-linux-gnu --build = i386-linux CFLAGS = "- m32
-O"<br>
<br>
but, after I run make, the compilation returns me as an error:<br>
In file included from cairo-xlib-private.h: 40: 0,<br>
from cairo-xlib-display.c: 40:<br>
cairo-xlib-xrender-private.h: 106: 16: error: redefinition of
'struct _XLinearGradient'<br>
typedef struct _XLinearGradient {<br>
^<br>
In file included from cairo-xlib-xrender.h: 45: 0,<br>
from cairo-xlib-xrender-private.h: 53,<br>
from cairo-xlib-private.h: 40,<br>
from cairo-xlib-display.c: 40:<br>
/usr/include/X11/extensions/Xrender.h:186:16: note: originally
defined here<br>
typedef struct _XLinearGradient {<br>
^<br>
In file included from cairo-xlib-private.h: 40: 0,<br>
from cairo-xlib-display.c: 40:<br>
cairo-xlib-xrender-private.h: 109: 3: error: conflicting types for
'XLinearGradient'<br>
} XLinearGradient; <br>
<br>
How can build on 32 bit over a 64 bit system ?<br>
<pre class="moz-signature" cols="72">
</pre>
</body>
</html>