Date: prev next · Thread: first prev next last
2011 Archives by date, by thread · List index


Le 01/06/11 17:19, Christian Lohmaier a écrit :

Hi *,


On Wed, Jun 1, 2011 at 7:59 AM, Joseph Powers <jpowers27@cox.net> wrote:
[problem with gdk-pixbuf on Mac]

Sure that it isn't just a problem with mixing linking against SDK and
linking against the system?

The modules that librsvg did now "pull in" to the build don't properly
link against the SDK, so while it might find the system lib during
compile, later on the SDK one is used or the other way round. Maybe
that's the cause of the problems.


Getting same problems here too, am seeing this in the build log :

io-png.c: In function 'png_simple_error_callback':
io-png.c:186: error: dereferencing pointer to incomplete type
io-png.c: In function 'gdk_pixbuf__png_image_load':
io-png.c:290: error: dereferencing pointer to incomplete type
io-png.c:344: warning: passing argument 5 of 'png_get_iCCP' from
incompatible pointer type
io-png.c: In function 'gdk_pixbuf__png_image_begin_load':
io-png.c:462: error: dereferencing pointer to incomplete type
io-png.c: In function 'gdk_pixbuf__png_image_load_increment':
io-png.c:534: error: dereferencing pointer to incomplete type
io-png.c: In function 'png_info_callback':
io-png.c:657: warning: format '%ld' expects type 'long int', but
argument 5 has type 'png_uint_32'
io-png.c:657: warning: format '%ld' expects type 'long int', but
argument 6 has type 'png_uint_32'
io-png.c:681: warning: passing argument 5 of 'png_get_iCCP' from
incompatible pointer type
io-png.c: In function 'png_error_callback':
io-png.c:772: error: dereferencing pointer to incomplete type
io-png.c: In function 'real_save_png':
io-png.c:981: error: dereferencing pointer to incomplete type
io-png.c:1009: warning: pointer targets in passing argument 5 of
'png_set_iCCP' differ in signedness
make[5]: *** [io-png.lo] Error 1
make[4]: *** [all-recursive] Error 1
make[3]: *** [all] Error 2
make[2]: *** [all-recursive] Error 1
make[1]: *** [all] Error 2
dmake:  Error code 2, while making
'./unxmacxi.pro/misc/build/so_built_so_gdk-pixbuf'


and this in gsf :

gsf-output-stdio.c: In function 'rename_wrapper':
gsf-output-stdio.c:98: warning: label 'unlink_and_retry' defined but not
used

Making all in tests
make[3]: Nothing to be done for `all'.
Making all in m4
make[3]: Nothing to be done for `all'.
Making all in thumbnailer
  CC     main.o
Entering /Users/alex/DevHack/git/libo/codemaker/source/commonjava

Entering /Users/alex/DevHack/git/libo/offapi/com/sun/star/text

main.c:38:35: error: gdk-pixbuf/gdk-pixbuf.h: No such file or directory
main.c: In function 'call_convert':
main.c:71: error: 'GdkPixbuf' undeclared (first use in this function)
main.c:71: error: (Each undeclared identifier is reported only once
main.c:71: error: for each function it appears in.)
main.c:71: error: 'pixbuf' undeclared (first use in this function)
main.c:73: warning: implicit declaration of function
'gdk_pixbuf_new_from_file_at_scale'
main.c:73: warning: nested extern declaration of
'gdk_pixbuf_new_from_file_at_scale'
main.c:77: warning: implicit declaration of function 'gdk_pixbuf_save'
main.c:77: warning: nested extern declaration of 'gdk_pixbuf_save'
make[3]: *** [main.o] Error 1
make[2]: *** [all-recursive] Error 1
make[1]: *** [all] Error 2
dmake:  Error code 2, while making
'./unxmacxi.pro/misc/build/so_built_so_libgsf'


libpackage2 :
and a million ld visibility warnings when compiling libpackage2


i18npool :
Entering /Users/alex/DevHack/git/libo/i18npool/source/breakiterator
dmake:  makefile.mk:  line 102:  Warning: -- More than one prerequisite
for %-target. Use :| ruleop or indirect prerequisites.


binfilter :
Compiling: binfilter/bf_sch/source/core/sch_chtmod2a.cxx
Compiling: binfilter/bf_sch/source/core/sch_chtmod3d.cxx
Undefined symbols:
  "utl::ConfigItem::ConfigItem(rtl::OUString, short)", referenced from:

binfilter::SvtModuleOptions_Impl::SvtModuleOptions_Impl(binfilter::SvtModuleOptions*)in
svt_moduleoptions.o
      binfilter::SvtLoadOptions_Impl::SvtLoadOptions_Impl()in svt_saveopt.o
      binfilter::SvtSaveOptions_Impl::SvtSaveOptions_Impl()in svt_saveopt.o
      binfilter::SvtSecurityOptions_Impl::SvtSecurityOptions_Impl()in
svt_securityoptions.o

binfilter::SvtLocalisationOptions_Impl::SvtLocalisationOptions_Impl()in
svt_localisationoptions.o

binfilter::SvtWorkingSetOptions_Impl::SvtWorkingSetOptions_Impl()in
svt_workingsetoptions.o
      binfilter::SvtInternalOptions_Impl::SvtInternalOptions_Impl()in
svt_internaloptions.o
      binfilter::SvtStartOptions_Impl::SvtStartOptions_Impl()in
svt_startoptions.o
      binfilter::SvtHistoryOptions_Impl::SvtHistoryOptions_Impl()in
svt_historyoptions.o
      binfilter::SvtInetOptions::Impl::Impl() in svt_inetoptions.o
      binfilter::SvtMenuOptions_Impl::SvtMenuOptions_Impl()in
svt_menuoptions.o

binfilter::SvtDynamicMenuOptions_Impl::SvtDynamicMenuOptions_Impl()in
svt_dynamicmenuoptions.o
      binfilter::SvtOptions3D_Impl::SvtOptions3D_Impl()in svt_options3d.o
      binfilter::SvtFontOptions_Impl::SvtFontOptions_Impl()in
svt_fontoptions.o

binfilter::SvtAddXMLToStorageOptions_Impl::SvtAddXMLToStorageOptions_Impl()in
svt_addxmltostorageoptions.o
      binfilter::SvtDefaultOptions_Impl::SvtDefaultOptions_Impl()in
svt_defaultoptions.o
      binfilter::SvtSearchOptions_Impl::SvtSearchOptions_Impl()in
svt_searchopt.o

binfilter::SvtPrintWarningOptions_Impl::SvtPrintWarningOptions_Impl()in
svt_printwarningoptions.o
      binfilter::SvtCacheOptions_Impl::SvtCacheOptions_Impl()in
svt_cacheoptions.o
      binfilter::SvtCommandOptions_Impl::SvtCommandOptions_Impl()in
svt_cmdoptions.o

binfilter::SvtExtendedSecurityOptions_Impl::SvtExtendedSecurityOptions_Impl()in
svt_extendedsecurityoptions.o
      binfilter::SourceViewConfig_Impl::SourceViewConfig_Impl()in
svt_sourceviewconfig.o

binfilter::SvtCompatibilityOptions_Impl::SvtCompatibilityOptions_Impl()in svt_compatibility.o

binfilter::SvtOptionsDlgOptions_Impl::SvtOptionsDlgOptions_Impl()in
svt_optionsdlg.o
      binfilter::SfxMiscCfg::SfxMiscCfg()in svt_misccfg.o
      binfilter::SvtHelpOptions_Impl::SvtHelpOptions_Impl()in svt_helpopt.o

binfilter::SvtPrintOptions_Impl::SvtPrintOptions_Impl(rtl::OUString
const&)in svt_printoptions.o
      binfilter::SvtSystemLanguageOptions::SvtSystemLanguageOptions()in
svt_languageoptions.o
      binfilter::SvtCTLOptions_Impl::SvtCTLOptions_Impl()in svt_ctloptions.o
      binfilter::SvtCJKOptions_Impl::SvtCJKOptions_Impl()in svt_cjkoptions.o
      binfilter::ColorConfig_Impl::ColorConfig_Impl(unsigned char)in
svt_colorcfg.o
      binfilter::SvtUndoOptions_Impl::SvtUndoOptions_Impl()in svt_undoopt.o
      binfilter::SvtUserOptions_Impl::SvtUserOptions_Impl()in
svt_useroptions.o
      binfilter::SvtSysLocaleOptions_Impl::SvtSysLocaleOptions_Impl()in
svt_syslocaleoptions.o
      binfilter::SvtMiscOptions_Impl::SvtMiscOptions_Impl()in svt_miscopt.o
  "GDIMetaFile::Write(SvStream&)", referenced from:
      binfilter::GraphicFilter::ExportGraphic(Graphic const&, String
const&, SvStream&, unsigned short,
com::sun::star::uno::Sequence<com::sun::star::beans::PropertyValue>
const*)in svt_filter.o
ld: symbol(s) not found
collect2: ld returned 1 exit status
dmake:  Error code 1, while making
'../../unxmacxi.pro/lib/libbf_svtmxi.dylib'


with the nice little end result messages :-))
ERROR: error 65280 occurred while making /Users/alex/DevHack/git/libo/libgsf
ERROR: error 65280 occurred while making
/Users/alex/DevHack/git/libo/filter/source/xsltfilter
ERROR: error 65280 occurred while making
/Users/alex/DevHack/git/libo/gdk-pixbuf
ERROR: error 65280 occurred while making
/Users/alex/DevHack/git/libo/binfilter/bf_svtools/util


Alex


Context


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.