Build failed on cairo (Win32)

classic Classic list List threaded Threaded
3 messages Options
matm matm
Reply | Threaded
Open this post in threaded view
|

Build failed on cairo (Win32)

Good evening all,

Since 3 days, my environment does not build fully (it did last week).
Win7 x64, building Win32 with msvc 2008 Express under Cygwin.
It stops when building libcairo. I tried to relaunch with:
/opt/lo/bin/make cairo.clean cairo

which lead to the command:
cl -MD -O2 -MD -LD -Ferelease/cairo.dll ../../../../lib/pixman-1.lib  
release/cairo-analysis-surface.obj  release/cairo-arc.obj  
release/cairo-array.obj  release/cairo-atomic.obj  
release/cairo-base64-stream.obj  [SNIP]

whose end of output is :

    Creating library release/cairo.lib and object release/cairo.exp
LINK : warning LNK4098: defaultlib 'LIBCMT' conflicts with use of other  
libs; use /NODEFAULTLIB:library
cairo-deflate-stream.obj : error LNK2019: unresolved external symbol  
_deflate referenced in function _cairo_deflate_stream_deflate
cairo-deflate-stream.obj : error LNK2019: unresolved external symbol  
_deflateEnd referenced in function __cairo_deflate_stream_close
cairo-deflate-stream.obj : error LNK2019: unresolved external symbol  
_deflateInit_ referenced in function __cairo_deflate_stream_create
release/cairo.dll : fatal error LNK1120: 3 unresolved externals

The warning seems to come from parameters conflicts but am not sure  
whether it has an impact on the error just after.

Since I am the only one complaining (and tinderboxes do not report it  
neither), and nothing has changed there since December, I am in the dark  
about what is the source.

My autogen.lastrun is:
--with-max-jobs=3
--with-num-cpus=3
--disable-directx
--disable-binfilter
--without-junit
--disable-build-mozilla
--with-mozilla-build=/cygdrive/c/data/mozilla-build
--with-ant-home=/ant
--disable-odk
--with-windows-sdk-home=/cygdrive/C/Program Files/Microsoft  
SDKs/Windows/v7.1
--disable-activex

Thanks for any help/insight/mentoring.

Regards

--
Mat M
_______________________________________________
LibreOffice mailing list
[hidden email]
http://lists.freedesktop.org/mailman/listinfo/libreoffice
julien2412 julien2412
Reply | Threaded
Open this post in threaded view
|

Re: Build failed on cairo (Win32)

Hi,

If you talk about master repository, there have been some commits recently which could help :
http://cgit.freedesktop.org/libreoffice/core/commit/?id=6219ff898a8c3ae6b7abe4272b4b68cc986093e4
http://cgit.freedesktop.org/libreoffice/core/commit/?id=e20fa170160e1bb1953ad171e092edfb3de531af
I would do a make clean && make to compile from scratch but perhaps there's another way to avoid this.

Julien.
matm matm
Reply | Threaded
Open this post in threaded view
|

Re: Build failed on cairo (Win32)

Hi

already got the commits. Make clean was necessary.

TY


Mat M

Le Sat, 07 Apr 2012 18:23:28 +0200, julien2412 <[hidden email]> a  
écrit:

> Hi,
>
> If you talk about master repository, there have been some commits  
> recently
> which could help :
> http://cgit.freedesktop.org/libreoffice/core/commit/?id=6219ff898a8c3ae6b7abe4272b4b68cc986093e4
> http://cgit.freedesktop.org/libreoffice/core/commit/?id=e20fa170160e1bb1953ad171e092edfb3de531af
> I would do a make clean && make to compile from scratch but perhaps  
> there's
> another way to avoid this.
>
> Julien.
>
> --
> View this message in context:  
> http://nabble.documentfoundation.org/Build-failed-on-cairo-Win32-tp3891535p3892975.html
> Sent from the Dev mailing list archive at Nabble.com.
> _______________________________________________
> LibreOffice mailing list
> [hidden email]
> http://lists.freedesktop.org/mailman/listinfo/libreoffice


--
Mat M
_______________________________________________
LibreOffice mailing list
[hidden email]
http://lists.freedesktop.org/mailman/listinfo/libreoffice