<br>This is my building process.:<br>This is the log of my building process:<br>------------------------------<div id=":62" class="ii gt">-----------------------------------------<br>$
./configure --enable-shared --disable-static
CPPFLAGS=-I/usr/local/include LDFLAGS=-L/usr/local/lib
PKG_CONFIG_PATH=/usr/local/lib/pkgconfig lt_cv_deplibs_check_method=pass_all<br>
<br>checking for a BSD-compatible install... /bin/install -c<br>checking whether build environment is sane... yes<br>checking for a thread-safe mkdir -p... /bin/mkdir -p<br>checking for gawk... gawk<br>checking whether make sets $(MAKE)... yes<br>

checking build system type... i686-pc-mingw32<br>checking host system type... i686-pc-mingw32<br>checking for as... as<br>checking for dlltool... dlltool<br>checking for objdump... objdump<br>checking for style of include used by make... GNU<br>

checking for gcc... gcc<br>checking whether the C compiler works... yes<br>checking for C compiler default output file name... a.exe<br>checking for suffix of executables... .exe<br>checking whether we are cross compiling... no<br>

checking for suffix of object files... o<br>checking whether we are using the GNU C compiler... yes<br>checking whether gcc accepts -g... yes<br>checking for gcc option to accept ISO C89... none needed<br>checking dependency style of gcc... gcc3<br>

checking for a sed that does not truncate output... /bin/sed<br>checking for grep that handles long lines and -e... /bin/grep<br>checking for egrep... /bin/grep -E<br>checking for fgrep... /bin/grep -F<br>checking for ld used by gcc... C:/MinGW/mingw32/bin/ld.exe<br>

checking if the linker (C:/MinGW/mingw32/bin/ld.exe) is GNU ld... yes<br>checking for BSD- or MS-compatible name lister (nm)... /bin/nm -B<br>checking the name lister (/bin/nm -B) interface... BSD nm<br>checking whether ln -s works... yes<br>

checking the maximum length of command line arguments... 8192<br>checking whether the shell understands some XSI constructs... yes<br>checking whether the shell understands &quot;+=&quot;... yes<br>checking for C:/MinGW/mingw32/bin/ld.exe option to reload object files... -r<br>

checking for objdump... (cached) objdump<br>checking how to recognize dependent libraries... (cached) pass_all<br>checking for ar... ar<br>checking for strip... strip<br>checking for ranlib... ranlib<br>checking command to parse /bin/nm -B output from gcc object... ok<br>

checking how to run the C preprocessor... gcc -E<br>checking for ANSI C header files... yes<br>checking for sys/types.h... yes<br>checking for sys/stat.h... yes<br>checking for stdlib.h... yes<br>checking for string.h... yes<br>

checking for memory.h... yes<br>checking for strings.h... yes<br>checking for inttypes.h... yes<br>checking for stdint.h... yes<br>checking for unistd.h... yes<br>checking for dlfcn.h... no<br>checking for objdir... .libs<br>

checking if gcc supports -fno-rtti -fno-exceptions... no<br>checking for gcc option to produce PIC... -DDLL_EXPORT -DPIC<br>checking if gcc PIC flag -DDLL_EXPORT -DPIC works... yes<br>checking if gcc static flag -static works... yes<br>

checking if gcc supports -c -o file.o... yes<br>checking if gcc supports -c -o file.o... (cached) yes<br>checking whether the gcc linker (C:/MinGW/mingw32/bin/ld.exe) supports shared libraries... yes<br>checking whether -lc should be explicitly linked in... yes<br>

checking dynamic linker characteristics... Win32 ld.exe<br>checking how to hardcode library paths into programs... immediate<br>checking whether stripping libraries is possible... yes<br>checking if libtool supports shared libraries... yes<br>

checking whether to build shared libraries... yes<br>checking whether to build static libraries... no<br>checking for bash... /bin/bash<br>checking if dolt supports this host... no, falling back to libtool<br>checking for pkg-config... /bin/pkg-config<br>

checking pkg-config is at least version 0.9.0... yes<br>checking whether to build gtk-doc documentation... no<br>checking for gtkdoc-check... no<br>checking for find... /bin/find<br>checking for xargs... /bin/xargs<br>checking for gcc... (cached) gcc<br>

checking whether we are using the GNU C compiler... (cached) yes<br>checking whether gcc accepts -g... (cached) yes<br>checking for gcc option to accept ISO C89... (cached) none needed<br>checking dependency style of gcc... (cached) gcc3<br>

checking how to run the C preprocessor... gcc -E<br>checking for g++... g++<br>checking whether we are using the GNU C++ compiler... yes<br>checking whether g++ accepts -g... yes<br>checking dependency style of g++... gcc3<br>

checking whether we are using the GNU C++ compiler... (cached) yes<br>checking whether g++ accepts -g... (cached) yes<br>checking dependency style of g++... (cached) gcc3<br>checking how to run the C++ preprocessor... g++ -E<br>

checking for ld used by g++... C:/MinGW/mingw32/bin/ld.exe<br>checking if the linker (C:/MinGW/mingw32/bin/ld.exe) is GNU ld... yes<br>checking whether the g++ linker (C:/MinGW/mingw32/bin/ld.exe) supports shared libraries... yes<br>

checking for g++ option to produce PIC... -DDLL_EXPORT -DPIC<br>checking if g++ PIC flag -DDLL_EXPORT -DPIC works... yes<br>checking if g++ static flag -static works... yes<br>checking if g++ supports -c -o file.o... yes<br>

checking if g++ supports -c -o file.o... (cached) yes<br>checking whether the g++ linker (C:/MinGW/mingw32/bin/ld.exe) supports shared libraries... yes<br>checking dynamic linker characteristics... Win32 ld.exe<br>checking how to hardcode library paths into programs... immediate<br>

checking whether gcc and cc understand -c and -o together... yes<br>checking for inline... inline<br>checking for pkg-config... (cached) /bin/pkg-config<br>checking pkg-config is at least version 0.9.0... yes<br>checking whether byte ordering is bigendian... no<br>

checking whether float word ordering is bigendian... no<br>checking for native atomic primitives... none<br>checking whether atomic ops require a memory barrier... no<br>checking for native Win32... yes<br>checking for Sun Solaris (non-POSIX ctime_r)... no<br>

checking for cos in -lm... yes<br>checking for sched_yield in -lrt... no<br>checking for stdint.h... (cached) yes<br>checking for inttypes.h... (cached) yes<br>checking sys/int_types.h usability... no<br>checking sys/int_types.h presence... no<br>

checking for sys/int_types.h... no<br>checking for uint64_t... yes<br>checking for uint128_t... no<br>checking fcntl.h usability... yes<br>checking fcntl.h presence... yes<br>checking for fcntl.h... yes<br>checking for unistd.h... (cached) yes<br>

checking signal.h usability... yes<br>checking signal.h presence... yes<br>checking for signal.h... yes<br>checking for sys/stat.h... (cached) yes<br>checking sys/socket.h usability... no<br>checking sys/socket.h presence... no<br>

checking for sys/socket.h... no<br>checking sys/poll.h usability... no<br>checking sys/poll.h presence... no<br>checking for sys/poll.h... no<br>checking sys/un.h usability... no<br>checking sys/un.h presence... no<br>checking for sys/un.h... no<br>

checking sched.h usability... no<br>checking sched.h presence... no<br>checking for sched.h... no<br>checking fenv.h usability... yes<br>checking fenv.h presence... yes<br>checking for fenv.h... yes<br>checking for feenableexcept... no<br>

checking for fedisableexcept... no<br>checking libgen.h usability... yes<br>checking libgen.h presence... yes<br>checking for libgen.h... yes<br>checking byteswap.h usability... no<br>checking byteswap.h presence... no<br>

checking for byteswap.h... no<br>checking for signal.h... (cached) yes<br>checking setjmp.h usability... yes<br>checking setjmp.h presence... yes<br>checking for setjmp.h... yes<br>checking for vasnprintf... no<br>checking for link... no<br>

checking for ctime_r... no<br>checking for drand48... no<br>checking for flockfile... no<br>checking windows.h usability... yes<br>checking windows.h presence... yes<br>checking for windows.h... yes<br>checking for supported warning flags... <br>

checking whether gcc supports -Wall... no<br>checking whether gcc supports -Wextra... no<br>checking whether gcc supports -Wsign-compare... no<br>checking whether gcc supports -Werror-implicit-function-declaration... no<br>

checking whether gcc supports -Wpointer-arith... no<br>checking whether gcc supports -Wwrite-strings... no<br>checking whether gcc supports -Wstrict-prototypes... no<br>checking whether gcc supports -Wmissing-prototypes... no<br>

checking whether gcc supports -Wmissing-declarations... no<br>checking whether gcc supports -Wnested-externs... no<br>checking whether gcc supports -Wpacked... no<br>checking whether gcc supports -Wswitch-enum... no<br>checking whether gcc supports -Wmissing-format-attribute... no<br>

checking whether gcc supports -Wstrict-aliasing=2... no<br>checking whether gcc supports -Winit-self... no<br>checking whether gcc supports -Wunsafe-loop-optimizations... no<br>checking whether gcc supports -Wdeclaration-after-statement... no<br>

checking whether gcc supports -Wold-style-definition... no<br>checking whether gcc supports -Wno-missing-field-initializers... no<br>checking whether gcc supports -Wno-unused-parameter... no<br>checking whether gcc supports -Wno-attributes... no<br>

checking whether gcc supports -Wno-long-long... no<br>checking whether gcc supports -Winline... no<br>checking whether gcc supports -fno-strict-aliasing... no<br>checking whether gcc supports -fno-common... no<br>checking whether gcc supports -Wp,-D_FORTIFY_SOURCE=2... no<br>

checking which warning flags were supported... <br>checking how to enable unused result warnings... <br>checking
how to allow undefined symbols in shared libraries used by test
suite... checking whether gcc supports -Wl,--allow-shlib-undefined... no<br>
<br>checking for VALGRIND... no<br>no<br>checking for compress in -lz... yes<br>checking zlib.h usability... yes<br>checking zlib.h presence... yes<br>checking for zlib.h... yes<br>checking for X... no<br>checking for cairo&#39;s Xlib surface backend feature... <br>

checking for xlib... no<br>no<br>checking whether cairo&#39;s Xlib surface backend feature could be enabled... no (requires X development libraries)<br>checking for cairo&#39;s Xlib Xrender surface backend feature... <br>

checking whether cairo&#39;s Xlib Xrender surface backend feature could be enabled... no (requires --enable-xlib)<br>checking for cairo&#39;s Quartz surface backend feature... <br>checking ApplicationServices/ApplicationServices.h usability... no<br>

checking ApplicationServices/ApplicationServices.h presence... no<br>checking for ApplicationServices/ApplicationServices.h... no<br>checking CoreGraphics/CoreGraphics.h usability... no<br>checking CoreGraphics/CoreGraphics.h presence... no<br>

checking for CoreGraphics/CoreGraphics.h... no<br>checking whether cairo&#39;s Quartz surface backend feature could be enabled... no (requires CoreGraphics framework)<br>checking for cairo&#39;s Quartz font backend feature... <br>

checking whether cairo&#39;s Quartz font backend feature could be enabled... no (requires CoreGraphics framework)<br>checking for cairo&#39;s Microsoft Windows surface backend feature... <br>checking whether cairo&#39;s Microsoft Windows surface backend feature could be enabled... yes<br>

checking for cairo&#39;s Microsoft Windows font backend feature... <br>checking whether cairo&#39;s Microsoft Windows font backend feature could be enabled... yes<br>checking for gs... no<br>checking for cairo&#39;s PNG functions feature... <br>

checking for png... yes<br>checking whether cairo&#39;s PNG functions feature could be enabled... yes<br>checking for cairo&#39;s FreeType font backend feature... <br>checking for FONTCONFIG... yes<br>checking for FcFini... no<br>

checking for FREETYPE... yes<br>checking whether cairo&#39;s FreeType font backend feature could be enabled... yes<br>checking for FT_Bitmap_Size.y_ppem... yes<br>checking for FT_GlyphSlot_Embolden... no<br>checking for FT_Load_Sfnt_Table... no<br>

checking for FT_Library_SetLcdFilter... no<br>checking pthread.h usability... no<br>checking pthread.h presence... no<br>checking for pthread.h... no<br>checking for cairo&#39;s PostScript surface backend feature... <br>
checking whether cairo&#39;s PostScript surface backend feature could be enabled... yes<br>
checking for gs... no<br>checking for LIBSPECTRE... no<br>no<br>checking for cairo&#39;s PDF surface backend feature... <br>checking whether cairo&#39;s PDF surface backend feature could be enabled... yes<br>checking for POPPLER... no<br>

no<br>checking for cairo&#39;s SVG surface backend feature... <br>checking whether cairo&#39;s SVG surface backend feature could be enabled... yes<br>checking for LIBRSVG... no<br>no<br>checking for cairo&#39;s image surface backend feature... <br>

checking for pixman... yes<br>checking whether cairo&#39;s image surface backend feature could be enabled... yes<br>checking for cairo&#39;s user font backend feature... <br>checking whether cairo&#39;s user font backend feature could be enabled... yes<br>

checking for gtk... no<br>no<br>configure: creating ./config.status<br>config.status: creating src/cairo.pc<br>config.status: creating cairo-uninstalled.pc<br>config.status: creating src/cairo-win32.pc<br>config.status: creating cairo-win32-uninstalled.pc<br>

config.status: creating src/cairo-win32-font.pc<br>config.status: creating cairo-win32-font-uninstalled.pc<br>config.status: creating src/cairo-png.pc<br>config.status: creating cairo-png-uninstalled.pc<br>config.status: creating src/cairo-ft.pc<br>

config.status: creating cairo-ft-uninstalled.pc<br>config.status: creating src/cairo-ps.pc<br>config.status: creating cairo-ps-uninstalled.pc<br>config.status: creating src/cairo-pdf.pc<br>config.status: creating cairo-pdf-uninstalled.pc<br>

config.status: creating src/cairo-svg.pc<br>config.status: creating cairo-svg-uninstalled.pc<br>config.status: creating Makefile<br>config.status: creating boilerplate/Makefile<br>config.status: creating src/Makefile<br>
config.status: creating test/Makefile<br>
config.status: creating test/pdiff/Makefile<br>config.status: creating perf/Makefile<br>config.status: creating util/Makefile<br>config.status: creating doc/Makefile<br>config.status: creating doc/public/Makefile<br>config.status: creating config.h<br>

config.status: executing depfiles commands<br>config.status: executing libtool commands<br>config.status: executing ./build/Makefile.win32.features commands<br>config.status: creating ./build/Makefile.win32.features<br>config.status: ./build/Makefile.win32.features is unchanged<br>

config.status: executing ./src/Makefile.am.features commands<br>config.status: creating ./src/Makefile.am.features<br>config.status: ./src/Makefile.am.features is unchanged<br>config.status: executing ./src/Makefile.win32.features commands<br>

config.status: creating ./src/Makefile.win32.features<br>config.status: ./src/Makefile.win32.features is unchanged<br>config.status: executing ./boilerplate/Makefile.am.features commands<br>config.status: creating ./boilerplate/Makefile.am.features<br>

config.status: ./boilerplate/Makefile.am.features is unchanged<br>config.status: executing ./boilerplate/Makefile.win32.features commands<br>config.status: creating ./boilerplate/Makefile.win32.features<br>config.status: ./boilerplate/Makefile.win32.features is unchanged<br>

config.status: executing src/cairo-features.h commands<br>config.status: creating src/cairo-features.h<br>config.status: executing ./src/cairo-supported-features.h commands<br>config.status: creating ./src/cairo-supported-features.h<br>

config.status: ./src/cairo-supported-features.h is unchanged<br>config.status: executing ./build/Makefile.win32.features-h commands<br>config.status: creating ./build/Makefile.win32.features-h<br>config.status: ./build/Makefile.win32.features-h is unchanged<br>

<br>cairo (version 1.8.10 [release]) will be compiled with:<br><br>The following surface backends:<br>  Image:         yes (always builtin)<br>  Xlib:          no (requires X development libraries)<br>  Xlib Xrender:  no (requires --enable-xlib)<br>

  Quartz:        no (requires CoreGraphics framework)<br>  Quartz-image:  no (disabled, use --enable-quartz-image to enable)<br>  XCB:           no (disabled, use --enable-xcb to enable)<br>  Win32:         yes<br>  OS2:           no (disabled, use --enable-os2 to enable)<br>

  PostScript:    yes<br>  PDF:           yes<br>  SVG:           yes<br>  glitz:         no (disabled, use --enable-glitz to enable)<br>  BeOS:          no (disabled, use --enable-beos to enable)<br>  DirectFB:      no (disabled, use --enable-directfb to enable)<br>

<br>The following font backends:<br>  User:          yes (always builtin)<br>  FreeType:      yes<br>  Win32:         yes<br>  Quartz:        no (requires CoreGraphics framework)<br><br>The following functions:<br>  PNG functions: yes<br>

<br>And the following internal features:<br>  gcov support:  no<br>  test surfaces: no (disabled, use --enable-test-surfaces to enable)<br>  ps testing:    no (requires ghostscript)<br>  pdf testing:   no (requires poppler-glib &gt;= 0.9.2)<br>

  svg testing:   no (requires librsvg-2.0 &gt;= 2.15.0)<br>  win32 printing testing:    no (requires ghostscript)<br><br>---------------------------------------------------------------------------<br><br>make  all-recursive<br>

make[1]: Entering directory `/home/VIETPHUONG/cairo-1.8.10&#39;<br>Making all in src<br>make[2]: Entering directory `/home/VIETPHUONG/cairo-1.8.10/src&#39;<br>make  all-am<br>make[3]: Entering directory `/home/VIETPHUONG/cairo-1.8.10/src&#39;<br>

/bin/sh ../libtool --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I..  -I. -IC:/msys/1.0/local/include/pixman-1      -IC:/msys/1.0/local/include/freetype2 -IC:/msys/1.0/local/include   -IC:/msys/1.0/local/include   -IC:/msys/1.0/local/include/libpng12                 -I/usr/local/include  -g -O2 -MT cairo-analysis-surface.lo -MD -MP -MF .deps/cairo-analysis-surface.Tpo -c -o cairo-analysis-surface.lo cairo-analysis-surface.c<br>

libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -I. -IC:/msys/1.0/local/include/pixman-1 -IC:/msys/1.0/local/include/freetype2 -IC:/msys/1.0/local/include -IC:/msys/1.0/local/include -IC:/msys/1.0/local/include/libpng12 -I/usr/local/include -g -O2 -MT cairo-analysis-surface.lo -MD -MP -MF .deps/cairo-analysis-surface.Tpo -c cairo-analysis-surface.c  -DDLL_EXPORT -DPIC -o .libs/cairo-analysis-surface.o<br>
....<br>

... THIS IS SO LONG SO I TRIMMED THE PART THAT I THINK IT HAS LITTLE INFORMATION....<br><br>
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -I. -IC:/msys/1.0/local/include/pixman-1 -IC:/msys/1.0/local/include/freetype2 -IC:/msys/1.0/local/include -IC:/msys/1.0/local/include -IC:/msys/1.0/local/include/libpng12
-I/usr/local/include -g -O2 -MT cairo-deflate-stream.lo -MD -MP -MF
.deps/cairo-deflate-stream.Tpo -c cairo-deflate-stream.c  -DDLL_EXPORT
-DPIC -o .libs/cairo-deflate-stream.o<br>
mv -f .deps/cairo-deflate-stream.Tpo .deps/cairo-deflate-stream.Plo<br>/bin/sh ../libtool --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I..  -I. -IC:/msys/1.0/local/include/pixman-1      -IC:/msys/1.0/local/include/freetype2 -IC:/msys/1.0/local/include   -IC:/msys/1.0/local/include   -IC:/msys/1.0/local/include/libpng12                
-I/usr/local/include  -g -O2 -MT cairo-svg-surface.lo -MD -MP -MF
.deps/cairo-svg-surface.Tpo -c -o cairo-svg-surface.lo
cairo-svg-surface.c<br>
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -I. -IC:/msys/1.0/local/include/pixman-1 -IC:/msys/1.0/local/include/freetype2 -IC:/msys/1.0/local/include -IC:/msys/1.0/local/include -IC:/msys/1.0/local/include/libpng12
-I/usr/local/include -g -O2 -MT cairo-svg-surface.lo -MD -MP -MF
.deps/cairo-svg-surface.Tpo -c cairo-svg-surface.c  -DDLL_EXPORT -DPIC
-o .libs/cairo-svg-surface.o<br>
mv -f .deps/cairo-svg-surface.Tpo .deps/cairo-svg-surface.Plo<br>Generating cairo.def<br>/bin/sh
../libtool --tag=CC   --mode=link gcc  -g -O2 -version-info
10802:10:10800 -no-undefined -export-symbols cairo.def -L/usr/local/lib
-o <a href="http://libcairo.la/" target="_blank">libcairo.la</a> -rpath /usr/local/lib                                      
cairo-analysis-surface.lo cairo-arc.lo cairo-array.lo cairo-atomic.lo
cairo-base85-stream.lo cairo-bentley-ottmann.lo cairo.lo cairo-cache.lo
cairo-clip.lo cairo-color.lo cairo-debug.lo cairo-fixed.lo
cairo-font-face.lo cairo-font-face-twin.lo cairo-font-face-twin-data.lo
cairo-font-options.lo cairo-freelist.lo cairo-gstate.lo cairo-hash.lo
cairo-hull.lo cairo-image-surface.lo cairo-lzw.lo cairo-matrix.lo
cairo-meta-surface.lo cairo-misc.lo cairo-mutex.lo
cairo-output-stream.lo cairo-paginated-surface.lo cairo-path-bounds.lo
cairo-path.lo cairo-path-fill.lo cairo-path-fixed.lo
cairo-path-stroke.lo cairo-pattern.lo cairo-pen.lo cairo-polygon.lo
cairo-rectangle.lo cairo-region.lo cairo-scaled-font.lo
cairo-skiplist.lo cairo-slope.lo cairo-spline.lo cairo-stroke-style.lo
cairo-surface.lo cairo-surface-fallback.lo cairo-system.lo
cairo-traps.lo cairo-unicode.lo cairo-user-font.lo cairo-version.lo
cairo-wideint.lo cairo-cff-subset.lo cairo-scaled-font-subsets.lo
cairo-truetype-subset.lo cairo-type1-fallback.lo cairo-type1-subset.lo
cairo-type3-glyph-surface.lo cairo-pdf-operators.lo      
cairo-win32-surface.lo cairo-win32-printing-surface.lo
cairo-win32-font.lo   cairo-png.lo   cairo-ft-font.lo
cairo-ps-surface.lo cairo-pdf-surface.lo cairo-deflate-stream.lo
cairo-svg-surface.lo  -LC:/msys/1.0/local/lib -lpixman-1     
-LC:/msys/1.0/local/lib -lfreetype   -LC:/msys/1.0/local/lib
-lfontconfig   -LC:/msys/1.0/local/lib -lpng12    -lgdi32 -lmsimg32 
-lm    -lz -lz      -lm -lm<br>
libtool: link: if test &quot;x`/bin/sed 1q cairo.def`&quot; = xEXPORTS; then cp
cairo.def .libs/libcairo-2.dll.def; else echo EXPORTS &gt;
.libs/libcairo-2.dll.def; cat cairo.def &gt;&gt;
.libs/libcairo-2.dll.def; fi<br>libtool:
link:  gcc -shared .libs/libcairo-2.dll.def 
.libs/cairo-analysis-surface.o .libs/cairo-arc.o .libs/cairo-array.o
.libs/cairo-atomic.o .libs/cairo-base85-stream.o
.libs/cairo-bentley-ottmann.o .libs/cairo.o .libs/cairo-cache.o
.libs/cairo-clip.o .libs/cairo-color.o .libs/cairo-debug.o
.libs/cairo-fixed.o .libs/cairo-font-face.o
.libs/cairo-font-face-twin.o .libs/cairo-font-face-twin-data.o
.libs/cairo-font-options.o .libs/cairo-freelist.o .libs/cairo-gstate.o
.libs/cairo-hash.o .libs/cairo-hull.o .libs/cairo-image-surface.o
.libs/cairo-lzw.o .libs/cairo-matrix.o .libs/cairo-meta-surface.o
.libs/cairo-misc.o .libs/cairo-mutex.o .libs/cairo-output-stream.o
.libs/cairo-paginated-surface.o .libs/cairo-path-bounds.o
.libs/cairo-path.o .libs/cairo-path-fill.o .libs/cairo-path-fixed.o
.libs/cairo-path-stroke.o .libs/cairo-pattern.o .libs/cairo-pen.o
.libs/cairo-polygon.o .libs/cairo-rectangle.o .libs/cairo-region.o
.libs/cairo-scaled-font.o .libs/cairo-skiplist.o .libs/cairo-slope.o
.libs/cairo-spline.o .libs/cairo-stroke-style.o .libs/cairo-surface.o
.libs/cairo-surface-fallback.o .libs/cairo-system.o .libs/cairo-traps.o
.libs/cairo-unicode.o .libs/cairo-user-font.o .libs/cairo-version.o
.libs/cairo-wideint.o .libs/cairo-cff-subset.o .libs/cairo-scaled-font-subsets.o .libs/cairo-truetype-subset.o .libs/cairo-type1-fallback.o .libs/cairo-type1-subset.o .libs/cairo-type3-glyph-surface.o .libs/cairo-pdf-operators.o .libs/cairo-win32-surface.o .libs/cairo-win32-printing-surface.o
.libs/cairo-win32-font.o .libs/cairo-png.o .libs/cairo-ft-font.o
.libs/cairo-ps-surface.o .libs/cairo-pdf-surface.o
.libs/cairo-deflate-stream.o .libs/cairo-svg-surface.o  
-L/usr/local/lib -LC:/msys/1.0/local/lib /usr/local/lib/libpixman-1.a
/usr/local/lib/libfreetype.a /usr/local/lib/libfontconfig.a
/usr/local/lib/libpng12.a -lgdi32 -lmsimg32 -lz    -o
.libs/libcairo-2.dll -Wl,--enable-auto-image-base -Xlinker --out-implib
-Xlinker .libs/libcairo.dll.a<br>
make[3]: Leaving directory `/home/VIETPHUONG/cairo-1.8.10/src&#39;<br>make[2]: Leaving directory `/home/VIETPHUONG/cairo-1.8.10/src&#39;<br>make[1]: Leaving directory `/home/VIETPHUONG/cairo-1.8.10&#39;<br><br>//------------------------------------------------------------------------------------------------------------------<br>

This is some log that can not redirect to file so I copy from command line screen (sorry because I have not much exp):<br><br>cairo-misc.c:611:1: warning: &quot;WINVER&quot; redefined<br>In file included from C:/MinGW/bin/../lib/gcc/mingw32/3.4.5/../../../../include/<br>

windows.h:48,<br>                 from cairo-mutex-impl-private.h:195,<br>                 from cairo-mutex-type-private.h:45,<br>                 from cairo-scaled-font-private.h:44,<br>                 from cairoint.h:354,<br>

                 from cairo-misc.c:41:<br>C:/MinGW/bin/../lib/gcc/mingw32/3.4.5/../../../../include/windef.h:12:1: warning<br>: this is the location of the previous definition<br>cairo-system.c:58:1: warning: &quot;WINVER&quot; redefined<br>

In file included from C:/MinGW/bin/../lib/gcc/mingw32/3.4.5/../../../../include/<br>windows.h:48,<br>                 from cairo-mutex-impl-private.h:195,<br>                 from cairo-mutex-type-private.h:45,<br>                 from cairo-scaled-font-private.h:44,<br>

                 from cairoint.h:354,<br>                 from cairo-system.c:48:<br>C:/MinGW/bin/../lib/gcc/mingw32/3.4.5/../../../../include/windef.h:12:1: warning<br>: this is the location of the previous definition<br>

cairo-win32-surface.c: In function `_cairo_win32_print_gdi_error&#39;:<br>cairo-win32-surface.c:96: warning: passing arg 5 of `FormatMessageW&#39; from incomp<br>atible pointer type<br>cairo-win32-surface.c:99: warning: passing arg 2 of `fwprintf&#39; from incompatible<br>

 pointer type<br>Creating library file: .libs/libcairo.dll.a<br>C:/msys/1.0/local/lib/libfontconfig.a(fcfreetype.o): In function `FcFreeTypeQuer<br>yFace&#39;:<br>C:/msys/1.0/home/VIETPHUONG/fontconfig-2.8.0/src/fcfreetype.c:727: undefined ref<br>

erence to `libiconv_open&#39;<br>C:/msys/1.0/home/VIETPHUONG/fontconfig-2.8.0/src/fcfreetype.c:746: undefined ref<br>erence to `libiconv&#39;<br>C:/msys/1.0/home/VIETPHUONG/fontconfig-2.8.0/src/fcfreetype.c:751: undefined ref<br>

erence to `libiconv_close&#39;<br>C:/msys/1.0/home/VIETPHUONG/fontconfig-2.8.0/src/fcfreetype.c:1663: undefined re<br>ference to `FT_Get_BDF_Property&#39;<br>C:/msys/1.0/home/VIETPHUONG/fontconfig-2.8.0/src/fcfreetype.c:1684: undefined re<br>

ference to `FT_Get_BDF_Property&#39;<br>C:/msys/1.0/home/VIETPHUONG/fontconfig-2.8.0/src/fcfreetype.c:1544: undefined re<br>ference to `FT_Get_BDF_Property&#39;<br>C:/msys/1.0/home/VIETPHUONG/fontconfig-2.8.0/src/fcfreetype.c:1551: undefined re<br>

ference to `FT_Get_BDF_Property&#39;<br>C:/msys/1.0/home/VIETPHUONG/fontconfig-2.8.0/src/fcfreetype.c:1573: undefined re<br>ference to `FT_Get_BDF_Property&#39;<br>C:/msys/1.0/home/VIETPHUONG/fontconfig-2.8.0/src/fcfreetype.c:756: undefined ref<br>

erence to `libiconv_close&#39;<br>C:/msys/1.0/home/VIETPHUONG/fontconfig-2.8.0/src/fcfreetype.c:737: undefined ref<br>erence to `libiconv_close&#39;<br>C:/msys/1.0/home/VIETPHUONG/fontconfig-2.8.0/src/fcfreetype.c:1723: undefined re<br>

ference to `FT_Get_X11_Font_Format&#39;<br>C:/msys/1.0/home/VIETPHUONG/fontconfig-2.8.0/src/fcfreetype.c:1061: undefined re<br>ference to `FT_Get_BDF_Property&#39;<br>C:/msys/1.0/local/lib/libfontconfig.a(fcxml.o): In function `FcConfigMessage&#39;:<br>

C:/msys/1.0/home/VIETPHUONG/fontconfig-2.8.0/src/fcxml.c:466: undefined referenc<br>e to `xmlSAX2GetLineNumber&#39;<br>C:/msys/1.0/home/VIETPHUONG/fontconfig-2.8.0/src/fcxml.c:469: undefined referenc<br>e to `xmlSAX2GetLineNumber&#39;<br>

C:/msys/1.0/local/lib/libfontconfig.a(fcxml.o): In function `FcConfigParseAndLoa<br>d&#39;:<br>C:/msys/1.0/home/VIETPHUONG/fontconfig-2.8.0/src/fcxml.c:2500: undefined referen<br>ce to `xmlCreatePushParserCtxt&#39;<br>C:/msys/1.0/home/VIETPHUONG/fontconfig-2.8.0/src/fcxml.c:2539: undefined referen<br>

ce to `xmlParseChunk&#39;<br>C:/msys/1.0/home/VIETPHUONG/fontconfig-2.8.0/src/fcxml.c:2553: undefined referen<br>ce to `xmlFreeParserCtxt&#39;<br>C:/msys/1.0/home/VIETPHUONG/fontconfig-2.8.0/src/fcxml.c:2544: undefined referen<br>

ce to `xmlCtxtGetLastError&#39;<br>collect2: ld returned 1 exit status<br>make[3]: *** [<a href="http://libcairo.la/" target="_blank">libcairo.la</a>] Error 1<br>make[2]: *** [all] Error 2<br>make[1]: *** [all-recursive] Error 1<br>
make: *** [all] Error 2<br><br><br><br>Now I try with the following configure command (add LIBS=&quot;-lexpat -liconv -lfreetype&quot;) and use libexpat instead of libxml2:<br>$
./configure --enable-shared --disable-static
CPPFLAGS=-I/usr/local/include LDFLAGS=-L/usr/local/lib
PKG_CONFIG_PATH=/usr/local/lib/pkgconfig lt_cv_deplibs_check_method=pass_all LIBS=&quot;-lexpat -liconv -lfreetype&quot;.<br>It&#39;s ok, but I still don&#39;t understand what is reason? <br>
</div><br><div class="gmail_quote">2010/2/25 suzuki toshiya <span dir="ltr">&lt;<a href="mailto:mpsuzuki@hiroshima-u.ac.jp">mpsuzuki@hiroshima-u.ac.jp</a>&gt;</span><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hi,<br>
<br>
Could you post whole log of your building process?<br>
<br>
Regards,<br>
mpsuzuki<br>
<br>
Đào Việt Phương wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div><div></div><div class="h5">
Hi all,<br>
I need to compile cairo dll on MinGW with freetype support, because the<br>
requirement is only one cairo dll so the other dependencies library I&#39;ve<br>
compiled as static libs. The problem is linking with fontconfig reports some<br>
undefined references to FreeType functions.<br>
I &#39;ve compiled cairo as static lib with--enable-ft=yes and cairo as dynamic<br>
lib with --enable-ft=no without problems.<br>
<br>
Could any one help me know where the problem come from?<br>
Thanks!<br>
<br>
  ------------------------------------------------------------------------<br>
<br></div></div>
--<br>
cairo mailing list<br>
<a href="mailto:cairo@cairographics.org" target="_blank">cairo@cairographics.org</a><br>
<a href="http://lists.cairographics.org/mailman/listinfo/cairo" target="_blank">http://lists.cairographics.org/mailman/listinfo/cairo</a><br>
</blockquote>
<br>
</blockquote></div><br><br clear="all"><br>-- <br>-----------------------------------------------------------------------<br>Đào Việt Phương<br>