make fails when using '--with-system-libs'

Maarten Hoes hoes.maarten at gmail.com
Mon Nov 3 00:46:16 PST 2014


Hrm.

Looks like I spoke (just a little) too soon: there appears to be no
'--with-system-xulrunner' option.

Using '--with-system-npapi-headers=no' for the desired effect instead.

- Maarten.


On Mon, Nov 3, 2014 at 9:18 AM, Maarten Hoes <hoes.maarten at gmail.com> wrote:

> Hi,
>
>
> I did some searching, and the issue seems to be with xulrunner. If I run
> configure with '--with-system-xulrunner=no', the issue goes away. Im
> running Fedora 21 and the distro provided version of xulrunner there is
> 33.0. I did some additional googling, and more people seem to be running
> into a similar issue, which appears to have started with API changes in
> xulrunner 30.0 and higher.
>
>
> Regards,
>
>
> Maarten Hoes.
>
>
>
> On Sat, Nov 1, 2014 at 11:10 AM, Maarten Hoes <hoes.maarten at gmail.com>
> wrote:
>
>> Hi,
>>
>>
>> Im running into the following build failure (it looks like it only occurs
>> when when I run configure with the option '--with-system-libs'). Does
>> anyone have an idea what might be going on here ?
>>
>>
>> Thanks,
>>
>>
>> Maarten Hoes.
>>
>>
>>
>>
>>
>>
>> --------------------------------------------------------------------------------------------------------------------------------------------------------------
>> [build CXX] vcl/headless/svpprn.cxx
>> [build CXX] vcl/headless/svptext.cxx
>> [build CXX] vcl/headless/svpvd.cxx
>> [build CXX] extensions/source/plugin/unx/mediator.cxx
>> [build CXX] extensions/source/plugin/unx/plugcon.cxx
>> In file included from
>> /usr/local/src/libreoffice/extensions/source/plugin/inc/plugin/unx/plugcon.hxx:71:0,
>>                  from
>> /usr/local/src/libreoffice/extensions/source/plugin/unx/plugcon.cxx:36:
>> /usr/local/src/libreoffice/external/np_sdk/npsdk/npupp.h:91:27: error:
>> expected ‘)’ before ‘NPP_InitializeUPP’
>>  typedef void (* NP_LOADDS NPP_InitializeUPP)(void);
>>                            ^
>> /usr/local/src/libreoffice/external/np_sdk/npsdk/npupp.h:118:27: error:
>> expected ‘)’ before ‘NPP_ShutdownUPP’
>>  typedef void (* NP_LOADDS NPP_ShutdownUPP)(void);
>>                            ^
>> /usr/local/src/libreoffice/external/np_sdk/npsdk/npupp.h:151:30: error:
>> expected ‘)’ before ‘NPP_NewUPP’
>>  typedef NPError (* NP_LOADDS NPP_NewUPP)(NPMIMEType pluginType, NPP
>> instance, uint16_t mode, int16_t argc, char* argn[], char* argv[],
>> NPSavedData* saved);
>>                               ^
>> In file included from
>> /usr/local/src/libreoffice/extensions/source/plugin/inc/plugin/unx/plugcon.hxx:71:0,
>>                  from
>> /usr/local/src/libreoffice/extensions/source/plugin/unx/plugcon.cxx:36:
>> /usr/local/src/libreoffice/external/np_sdk/npsdk/npupp.h:177:30: error:
>> expected ‘)’ before ‘NPP_DestroyUPP’
>>  typedef NPError (* NP_LOADDS NPP_DestroyUPP)(NPP instance, NPSavedData**
>> save);
>>                               ^
>> /usr/local/src/libreoffice/external/np_sdk/npsdk/npupp.h:204:30: error:
>> expected ‘)’ before ‘NPP_SetWindowUPP’
>>  typedef NPError (* NP_LOADDS NPP_SetWindowUPP)(NPP instance, NPWindow*
>> window);
>>                               ^
>> /usr/local/src/libreoffice/external/np_sdk/npsdk/npupp.h:233:30: error:
>> expected ‘)’ before ‘NPP_NewStreamUPP’
>>  typedef NPError (* NP_LOADDS NPP_NewStreamUPP)(NPP instance, NPMIMEType
>> type, NPStream* stream, NPBool seekable, uint16_t* stype);
>>                               ^
>> /usr/local/src/libreoffice/external/np_sdk/npsdk/npupp.h:260:30: error:
>> expected ‘)’ before ‘NPP_DestroyStreamUPP’
>>  typedef NPError (* NP_LOADDS NPP_DestroyStreamUPP)(NPP instance,
>> NPStream* stream, NPReason reason);
>>                               ^
>> /usr/local/src/libreoffice/external/np_sdk/npsdk/npupp.h:287:30: error:
>> expected ‘)’ before ‘NPP_WriteReadyUPP’
>>  typedef int32_t (* NP_LOADDS NPP_WriteReadyUPP)(NPP instance, NPStream*
>> stream);
>>                               ^
>> /usr/local/src/libreoffice/external/np_sdk/npsdk/npupp.h:317:30: error:
>> expected ‘)’ before ‘NPP_WriteUPP’
>>  typedef int32_t (* NP_LOADDS NPP_WriteUPP)(NPP instance, NPStream*
>> stream, int32_t offset, int32_t len, void* buffer);
>>                               ^
>> /usr/local/src/libreoffice/external/np_sdk/npsdk/npupp.h:345:27: error:
>> expected ‘)’ before ‘NPP_StreamAsFileUPP’
>>  typedef void (* NP_LOADDS NPP_StreamAsFileUPP)(NPP instance, NPStream*
>> stream, const char* fname);
>>                            ^
>> /usr/local/src/libreoffice/external/np_sdk/npsdk/npupp.h:371:27: error:
>> expected ‘)’ before ‘NPP_PrintUPP’
>>  typedef void (* NP_LOADDS NPP_PrintUPP)(NPP instance, NPPrint*
>> platformPrint);
>>                            ^
>> /usr/local/src/libreoffice/external/np_sdk/npsdk/npupp.h:398:30: error:
>> expected ‘)’ before ‘NPP_HandleEventUPP’
>>  typedef int16_t (* NP_LOADDS NPP_HandleEventUPP)(NPP instance, void*
>> event);
>>                               ^
>> /usr/local/src/libreoffice/external/np_sdk/npsdk/npupp.h:427:27: error:
>> expected ‘)’ before ‘NPP_URLNotifyUPP’
>>  typedef void (* NP_LOADDS NPP_URLNotifyUPP)(NPP instance, const char*
>> url, NPReason reason, void* notifyData);
>>                            ^
>> /usr/local/src/libreoffice/external/np_sdk/npsdk/npupp.h:454:30: error:
>> expected ‘)’ before ‘NPP_GetValueUPP’
>>  typedef NPError (* NP_LOADDS NPP_GetValueUPP)(NPP instance, NPPVariable
>> variable, void *ret_alue);
>>                               ^
>> /usr/local/src/libreoffice/external/np_sdk/npsdk/npupp.h:480:30: error:
>> expected ‘)’ before ‘NPP_SetValueUPP’
>>  typedef NPError (* NP_LOADDS NPP_SetValueUPP)(NPP instance, NPNVariable
>> variable, void *ret_alue);
>>                               ^
>> /usr/local/src/libreoffice/external/np_sdk/npsdk/npupp.h:513:30: error:
>> expected ‘)’ before ‘NPN_GetValueUPP’
>>  typedef NPError (* NP_LOADDS NPN_GetValueUPP)(NPP instance, NPNVariable
>> variable, void *ret_alue);
>>                               ^
>> /usr/local/src/libreoffice/external/np_sdk/npsdk/npupp.h:539:30: error:
>> expected ‘)’ before ‘NPN_SetValueUPP’
>>  typedef NPError (* NP_LOADDS NPN_SetValueUPP)(NPP instance, NPPVariable
>> variable, void *ret_alue);
>>                               ^
>> /usr/local/src/libreoffice/external/np_sdk/npsdk/npupp.h:566:30: error:
>> expected ‘)’ before ‘NPN_GetURLNotifyUPP’
>>  typedef NPError (* NP_LOADDS NPN_GetURLNotifyUPP)(NPP instance, const
>> char* url, const char* window, void* notifyData);
>>                               ^
>> /usr/local/src/libreoffice/external/np_sdk/npsdk/npupp.h:596:30: error:
>> expected ‘)’ before ‘NPN_PostURLNotifyUPP’
>>  typedef NPError (* NP_LOADDS NPN_PostURLNotifyUPP)(NPP instance, const
>> char* url, const char* window, uint32_t len, const char* buf, NPBool file,
>> void* notifyData);
>>                               ^
>> /usr/local/src/libreoffice/external/np_sdk/npsdk/npupp.h:622:30: error:
>> expected ‘)’ before ‘NPN_GetURLUPP’
>>  typedef NPError (* NP_LOADDS NPN_GetURLUPP)(NPP instance, const char*
>> url, const char* window);
>>                               ^
>> /usr/local/src/libreoffice/external/np_sdk/npsdk/npupp.h:651:30: error:
>> expected ‘)’ before ‘NPN_PostURLUPP’
>>  typedef NPError (* NP_LOADDS NPN_PostURLUPP)(NPP instance, const char*
>> url, const char* window, uint32_t len, const char* buf, NPBool file);
>>                               ^
>> /usr/local/src/libreoffice/external/np_sdk/npsdk/npupp.h:677:30: error:
>> expected ‘)’ before ‘NPN_RequestReadUPP’
>>  typedef NPError (* NP_LOADDS NPN_RequestReadUPP)(NPStream* stream,
>> NPByteRange* rangeList);
>>                               ^
>> /usr/local/src/libreoffice/external/np_sdk/npsdk/npupp.h:706:30: error:
>> expected ‘)’ before ‘NPN_NewStreamUPP’
>>  typedef NPError (* NP_LOADDS NPN_NewStreamUPP)(NPP instance, NPMIMEType
>> type, const char* window, NPStream** stream);
>>                               ^
>> /usr/local/src/libreoffice/external/np_sdk/npsdk/npupp.h:735:30: error:
>> expected ‘)’ before ‘NPN_WriteUPP’
>>  typedef int32_t (* NP_LOADDS NPN_WriteUPP)(NPP instance, NPStream*
>> stream, int32_t len, void* buffer);
>>                               ^
>> /usr/local/src/libreoffice/external/np_sdk/npsdk/npupp.h:763:30: error:
>> expected ‘)’ before ‘NPN_DestroyStreamUPP’
>>  typedef NPError (* NP_LOADDS NPN_DestroyStreamUPP)(NPP instance,
>> NPStream* stream, NPReason reason);
>>                               ^
>> /usr/local/src/libreoffice/external/np_sdk/npsdk/npupp.h:790:27: error:
>> expected ‘)’ before ‘NPN_StatusUPP’
>>  typedef void (* NP_LOADDS NPN_StatusUPP)(NPP instance, const char*
>> message);
>>                            ^
>> /usr/local/src/libreoffice/external/np_sdk/npsdk/npupp.h:816:34: error:
>> expected ‘)’ before ‘NPN_UserAgentUPP’
>>  typedef const char* (* NP_LOADDS NPN_UserAgentUPP)(NPP instance);
>>                                   ^
>> /usr/local/src/libreoffice/external/np_sdk/npsdk/npupp.h:816:34: error:
>> expected initializer before ‘NPN_UserAgentUPP’
>> /usr/local/src/libreoffice/external/np_sdk/npsdk/npupp.h:842:28: error:
>> expected ‘)’ before ‘NPN_MemAllocUPP’
>>  typedef void* (* NP_LOADDS NPN_MemAllocUPP)(uint32_t size);
>>                             ^
>> /usr/local/src/libreoffice/external/np_sdk/npsdk/npupp.h:842:28: error:
>> expected initializer before ‘NPN_MemAllocUPP’
>> /usr/local/src/libreoffice/external/np_sdk/npsdk/npupp.h:868:27: error:
>> expected ‘)’ before ‘NPN_MemFreeUPP’
>>  typedef void (* NP_LOADDS NPN_MemFreeUPP)(void* ptr);
>>                            ^
>> /usr/local/src/libreoffice/external/np_sdk/npsdk/npupp.h:895:31: error:
>> expected ‘)’ before ‘NPN_MemFlushUPP’
>>  typedef uint32_t (* NP_LOADDS NPN_MemFlushUPP)(uint32_t size);
>>                                ^
>> /usr/local/src/libreoffice/external/np_sdk/npsdk/npupp.h:923:27: error:
>> expected ‘)’ before ‘NPN_ReloadPluginsUPP’
>>  typedef void (* NP_LOADDS NPN_ReloadPluginsUPP)(NPBool reloadPages);
>>                            ^
>> /usr/local/src/libreoffice/external/np_sdk/npsdk/npupp.h:948:30: error:
>> expected ‘)’ before ‘NPN_GetJavaEnvUPP’
>>  typedef JRIEnv* (* NP_LOADDS NPN_GetJavaEnvUPP)(void);
>>                               ^
>> /usr/local/src/libreoffice/external/np_sdk/npsdk/npupp.h:948:30: error:
>> expected initializer before ‘NPN_GetJavaEnvUPP’
>> /usr/local/src/libreoffice/external/np_sdk/npsdk/npupp.h:975:27: error:
>> expected ‘)’ before ‘NPN_GetJavaPeerUPP’
>>  typedef jref (* NP_LOADDS NPN_GetJavaPeerUPP)(NPP instance);
>>                            ^
>> /usr/local/src/libreoffice/external/np_sdk/npsdk/npupp.h:1003:27: error:
>> expected ‘)’ before ‘NPN_InvalidateRectUPP’
>>  typedef void (* NP_LOADDS NPN_InvalidateRectUPP)(NPP instance, NPRect
>> *rect);
>>                            ^
>> /usr/local/src/libreoffice/external/np_sdk/npsdk/npupp.h:1031:27: error:
>> expected ‘)’ before ‘NPN_InvalidateRegionUPP’
>>  typedef void (* NP_LOADDS NPN_InvalidateRegionUPP)(NPP instance,
>> NPRegion region);
>>                            ^
>> /usr/local/src/libreoffice/external/np_sdk/npsdk/npupp.h:1057:27: error:
>> expected ‘)’ before ‘NPN_ForceRedrawUPP’
>>  typedef void (* NP_LOADDS NPN_ForceRedrawUPP)(NPP instance);
>>                            ^
>> /usr/local/src/libreoffice/external/np_sdk/npsdk/npupp.h:1079:5: error:
>> ‘NPP_NewUPP’ does not name a type
>>      NPP_NewUPP newp;
>>      ^
>> /usr/local/src/libreoffice/external/np_sdk/npsdk/npupp.h:1080:5: error:
>> ‘NPP_DestroyUPP’ does not name a type
>>      NPP_DestroyUPP destroy;
>>      ^
>> /usr/local/src/libreoffice/external/np_sdk/npsdk/npupp.h:1081:5: error:
>> ‘NPP_SetWindowUPP’ does not name a type
>>      NPP_SetWindowUPP setwindow;
>>      ^
>> /usr/local/src/libreoffice/external/np_sdk/npsdk/npupp.h:1082:5: error:
>> ‘NPP_NewStreamUPP’ does not name a type
>>      NPP_NewStreamUPP newstream;
>>      ^
>> /usr/local/src/libreoffice/external/np_sdk/npsdk/npupp.h:1083:5: error:
>> ‘NPP_DestroyStreamUPP’ does not name a type
>>      NPP_DestroyStreamUPP destroystream;
>>      ^
>> /usr/local/src/libreoffice/external/np_sdk/npsdk/npupp.h:1084:5: error:
>> ‘NPP_StreamAsFileUPP’ does not name a type
>>      NPP_StreamAsFileUPP asfile;
>>      ^
>> /usr/local/src/libreoffice/external/np_sdk/npsdk/npupp.h:1085:5: error:
>> ‘NPP_WriteReadyUPP’ does not name a type
>>      NPP_WriteReadyUPP writeready;
>>      ^
>> /usr/local/src/libreoffice/external/np_sdk/npsdk/npupp.h:1086:5: error:
>> ‘NPP_WriteUPP’ does not name a type
>>      NPP_WriteUPP write;
>>      ^
>> /usr/local/src/libreoffice/external/np_sdk/npsdk/npupp.h:1087:5: error:
>> ‘NPP_PrintUPP’ does not name a type
>>      NPP_PrintUPP print;
>>      ^
>> /usr/local/src/libreoffice/external/np_sdk/npsdk/npupp.h:1088:5: error:
>> ‘NPP_HandleEventUPP’ does not name a type
>>      NPP_HandleEventUPP event;
>>      ^
>> /usr/local/src/libreoffice/external/np_sdk/npsdk/npupp.h:1089:5: error:
>> ‘NPP_URLNotifyUPP’ does not name a type
>>      NPP_URLNotifyUPP urlnotify;
>>      ^
>> /usr/local/src/libreoffice/external/np_sdk/npsdk/npupp.h:1091:5: error:
>> ‘NPP_GetValueUPP’ does not name a type
>>      NPP_GetValueUPP getvalue;
>>      ^
>> /usr/local/src/libreoffice/external/np_sdk/npsdk/npupp.h:1092:5: error:
>> ‘NPP_SetValueUPP’ does not name a type
>>      NPP_SetValueUPP setvalue;
>>      ^
>> /usr/local/src/libreoffice/external/np_sdk/npsdk/npupp.h:1098:5: error:
>> ‘NPN_GetURLUPP’ does not name a type
>>      NPN_GetURLUPP geturl;
>>      ^
>> /usr/local/src/libreoffice/external/np_sdk/npsdk/npupp.h:1099:5: error:
>> ‘NPN_PostURLUPP’ does not name a type
>>      NPN_PostURLUPP posturl;
>>      ^
>> /usr/local/src/libreoffice/external/np_sdk/npsdk/npupp.h:1100:5: error:
>> ‘NPN_RequestReadUPP’ does not name a type
>>      NPN_RequestReadUPP requestread;
>>      ^
>> /usr/local/src/libreoffice/external/np_sdk/npsdk/npupp.h:1101:5: error:
>> ‘NPN_NewStreamUPP’ does not name a type
>>      NPN_NewStreamUPP newstream;
>>      ^
>> /usr/local/src/libreoffice/external/np_sdk/npsdk/npupp.h:1102:5: error:
>> ‘NPN_WriteUPP’ does not name a type
>>      NPN_WriteUPP write;
>>      ^
>> /usr/local/src/libreoffice/external/np_sdk/npsdk/npupp.h:1103:5: error:
>> ‘NPN_DestroyStreamUPP’ does not name a type
>>      NPN_DestroyStreamUPP destroystream;
>>      ^
>> /usr/local/src/libreoffice/external/np_sdk/npsdk/npupp.h:1104:5: error:
>> ‘NPN_StatusUPP’ does not name a type
>>      NPN_StatusUPP status;
>>      ^
>> /usr/local/src/libreoffice/external/np_sdk/npsdk/npupp.h:1105:5: error:
>> ‘NPN_UserAgentUPP’ does not name a type
>>      NPN_UserAgentUPP uagent;
>>      ^
>> /usr/local/src/libreoffice/external/np_sdk/npsdk/npupp.h:1106:5: error:
>> ‘NPN_MemAllocUPP’ does not name a type
>>      NPN_MemAllocUPP memalloc;
>>      ^
>> /usr/local/src/libreoffice/external/np_sdk/npsdk/npupp.h:1107:5: error:
>> ‘NPN_MemFreeUPP’ does not name a type
>>      NPN_MemFreeUPP memfree;
>>      ^
>> /usr/local/src/libreoffice/external/np_sdk/npsdk/npupp.h:1108:5: error:
>> ‘NPN_MemFlushUPP’ does not name a type
>>      NPN_MemFlushUPP memflush;
>>      ^
>> /usr/local/src/libreoffice/external/np_sdk/npsdk/npupp.h:1109:5: error:
>> ‘NPN_ReloadPluginsUPP’ does not name a type
>>      NPN_ReloadPluginsUPP reloadplugins;
>>      ^
>> /usr/local/src/libreoffice/external/np_sdk/npsdk/npupp.h:1110:5: error:
>> ‘NPN_GetJavaEnvUPP’ does not name a type
>>      NPN_GetJavaEnvUPP getJavaEnv;
>>      ^
>> /usr/local/src/libreoffice/external/np_sdk/npsdk/npupp.h:1111:5: error:
>> ‘NPN_GetJavaPeerUPP’ does not name a type
>>      NPN_GetJavaPeerUPP getJavaPeer;
>>      ^
>> /usr/local/src/libreoffice/external/np_sdk/npsdk/npupp.h:1112:5: error:
>> ‘NPN_GetURLNotifyUPP’ does not name a type
>>      NPN_GetURLNotifyUPP geturlnotify;
>>      ^
>> /usr/local/src/libreoffice/external/np_sdk/npsdk/npupp.h:1113:5: error:
>> ‘NPN_PostURLNotifyUPP’ does not name a type
>>      NPN_PostURLNotifyUPP posturlnotify;
>>      ^
>> /usr/local/src/libreoffice/external/np_sdk/npsdk/npupp.h:1114:5: error:
>> ‘NPN_GetValueUPP’ does not name a type
>>      NPN_GetValueUPP getvalue;
>>      ^
>> /usr/local/src/libreoffice/external/np_sdk/npsdk/npupp.h:1115:5: error:
>> ‘NPN_SetValueUPP’ does not name a type
>>      NPN_SetValueUPP setvalue;
>>      ^
>> /usr/local/src/libreoffice/external/np_sdk/npsdk/npupp.h:1116:5: error:
>> ‘NPN_InvalidateRectUPP’ does not name a type
>>      NPN_InvalidateRectUPP invalidaterect;
>>      ^
>> /usr/local/src/libreoffice/external/np_sdk/npsdk/npupp.h:1117:5: error:
>> ‘NPN_InvalidateRegionUPP’ does not name a type
>>      NPN_InvalidateRegionUPP invalidateregion;
>>      ^
>> /usr/local/src/libreoffice/external/np_sdk/npsdk/npupp.h:1118:5: error:
>> ‘NPN_ForceRedrawUPP’ does not name a type
>>      NPN_ForceRedrawUPP forceredraw;
>>      ^
>> /usr/local/src/libreoffice/solenv/gbuild/LinkTarget.mk:189: recipe for
>> target
>> '/usr/local/src/libreoffice/workdir/CxxObject/extensions/source/plugin/unx/plugcon.o'
>> failed
>> make[1]: ***
>> [/usr/local/src/libreoffice/workdir/CxxObject/extensions/source/plugin/unx/plugcon.o]
>> Error 1
>> make[1]: *** Waiting for unfinished jobs....
>> Makefile:231: recipe for target 'build' failed
>> make: *** [build] Error 2
>>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/libreoffice/attachments/20141103/74f6d8b6/attachment.html>


More information about the LibreOffice mailing list