[cairo] building errors under wine
oken
okenjian at 163.com
Tue Sep 28 01:23:17 PDT 2010
Hi,all
I am installing cairo1.10.0 under wine, after configuring with the following command, I type "make check", then many errors come out.
./configure --enable-xlib=no --enable-ps=no --enable-win32=yes --enable-win32-font=yes CC=winegcc CFLAGS="-g -pipe -mno-cygwin" LDFLAGS="-pipe -mwindows -mno-cygwin -m32 -L$HOME/pixman/pixman/.libs" pixman_CFLAGS="-I$HOME/pixman/pixman" pixman_LIBS="-lpixman-1"
the pixman's verion is 0.19.4 and is configured by the following FLAGS:
./configure --enable-gtk=no CC=winegcc CFLAGS="-g -pipe -mno-cygwin" LDFLAGS="-pipe -mwindows -mno-cygwin -m32"
$OKEN>make check
make check-recursive
make[1]: Entering directory `/home/oken/cairo'
Making check in src
make[2]: Entering directory `/home/oken/cairo/src'
Checking that enabled public/private headers can be compiled standalone
CHECK cairo.h
cairo-QtK4Y9.o: file not recognized: File format not recognized
winebuild: /usr/bin/ld -r failed with status 256
winegcc: winebuild failed
CHECK cairo-deprecated.h
cairo-deprecated-XxJoWg.o: file not recognized: File format not recognized
winebuild: /usr/bin/ld -r failed with status 256
winegcc: winebuild failed
CHECK cairo-win32.h
cairo-win32-PxV8Xn.o: file not recognized: File format not recognized
winebuild: /usr/bin/ld -r failed with status 256
winegcc: winebuild failed
CHECK cairo-ft.h
cairo-ft-IYSiEC.o: file not recognized: File format not recognized
winebuild: /usr/bin/ld -r failed with status 256
winegcc: winebuild failed
CHECK cairo-pdf.h
cairo-pdf-kih0eU.o: file not recognized: File format not recognized
winebuild: /usr/bin/ld -r failed with status 256
winegcc: winebuild failed
CHECK cairo-svg.h
cairo-svg-sUoMe0.o: file not recognized: File format not recognized
winebuild: /usr/bin/ld -r failed with status 256
winegcc: winebuild failed
CHECK cairoint.h
cairoint-ochcba.o: file not recognized: File format not recognized
winebuild: /usr/bin/ld -r failed with status 256
winegcc: winebuild failed
CHECK cairo-analysis-surface-private.h
cairo-analysis-surface-private-rG0zve.o: file not recognized: File format not recognized
winebuild: /usr/bin/ld -r failed with status 256
winegcc: winebuild failed
CHECK cairo-arc-private.h
cairo-arc-private-I9uhxT.o: file not recognized: File format not recognized
winebuild: /usr/bin/ld -r failed with status 256
winegcc: winebuild failed
CHECK cairo-atomic-private.h
cairo-atomic-private-JYj3rF.o: file not recognized: File format not recognized
winebuild: /usr/bin/ld -r failed with status 256
winegcc: winebuild failed
CHECK cairo-boxes-private.h
cairo-boxes-private-JIZb6O.o: file not recognized: File format not recognized
winebuild: /usr/bin/ld -r failed with status 256
winegcc: winebuild failed
CHECK cairo-cache-private.h
cairo-cache-private-ftfdH3.o: file not recognized: File format not recognized
winebuild: /usr/bin/ld -r failed with status 256
winegcc: winebuild failed
CHECK cairo-clip-private.h
cairo-clip-private-Nmjwjf.o: file not recognized: File format not recognized
winebuild: /usr/bin/ld -r failed with status 256
winegcc: winebuild failed
CHECK cairo-combsort-private.h
cairo-combsort-private-2GH2lg.o: file not recognized: File format not recognized
winebuild: /usr/bin/ld -r failed with status 256
winegcc: winebuild failed
CHECK cairo-compiler-private.h
cairo-compiler-private-AS08Xj.o: file not recognized: File format not recognized
winebuild: /usr/bin/ld -r failed with status 256
.............
.............
winegcc: winebuild failed
make[2]: *** [headers-standalone] Error 1
make[2]: Leaving directory `/home/oken/cairo/src'
make[1]: *** [check-recursive] Error 1
make[1]: Leaving directory `/home/oken/cairo'
make: *** [check] Error 2
then i type make, and another error occurs:
In file included from cairo-deflate-stream.c:40:
/usr/include/zlib.h:1374: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'gzseek64'
/usr/include/zlib.h:1375: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'gztell64'
/usr/include/zlib.h:1376: error: expected declaration specifiers or '...' before 'off64_t'
/usr/include/zlib.h:1377: error: expected declaration specifiers or '...' before 'off64_t'
winegcc: gcc failed
make[3]: *** [cairo-deflate-stream.lo] Error 1
/usr/include/zlib.h:
#if defined(_LARGEFILE64_SOURCE) || _FILE_OFFSET_BITS == 64
ZEXTERN gzFile ZEXPORT gzopen64 OF((const char *, const char *));
1374 ZEXTERN z_off64_t ZEXPORT gzseek64 OF((gzFile, z_off64_t, int));
1375 ZEXTERN z_off64_t ZEXPORT gztell64 OF((gzFile));
1376 ZEXTERN uLong ZEXPORT adler32_combine64 OF((uLong, uLong, z_off64_t));
1377 ZEXTERN uLong ZEXPORT crc32_combine64 OF((uLong, uLong, z_off64_t));
#endif
what's wrong?
how to fix them?
oken
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.cairographics.org/archives/cairo/attachments/20100928/c1c26894/attachment.html>
More information about the cairo
mailing list