[vlc-devel] VLC with xulrunner 1.9.1

Dominique Leuenberger dominique at leuenberger.net
Sat May 30 15:33:41 CEST 2009


Hi everybody.

Seems VLC is a bit sleepy on the weekend, so I post my question here.
openSUSE 11.2 (devel version) is moving towards xulrunner 1.9.1.

Apparently, VLC does not yet work on this, can that be?
I've tried 1.0.0-rc2 and also git master, buoth fail the same way:

It looks like quite some functions were renamed in xulrunner. Shame. But
mozilla always shouts on how instable their API is. They just prove
it :-)

*** TAIL OF LOG ***
libtool: compile:  gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I../..
-I../../include -I../../include -DSYS_LINUX -D_FILE_OFFSET_BITS=64
-D__USE_UNIX98 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE
-DHAVE_RELEASE -DXP_UNIX -DOJI -DMOZ_X11 -DSYS_LINUX -fshort-wchar
-I/usr/include/xulrunner-1.9.1b4/stable -I/usr/include/nspr4 -O2
-ffast-math -funroll-loops -mtune=pentium2 -fomit-frame-pointer
-DDATA_PATH=\"/usr/share/vlc\" -fomit-frame-pointer -fmessage-length=0
-O2 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables
-fasynchronous-unwind-tables -g -Wall -Wextra -Wsign-compare -Wundef
-Wpointer-arith -Wbad-function-cast -Wcast-align -Wwrite-strings
-Wmissing-prototypes -Wvolatile-register-var
-Werror-implicit-function-declaration -c support/npunix.c  -fPIC -DPIC
-o .libs/libvlcplugin_la-npunix.o
In file included
from /usr/include/xulrunner-1.9.1b4/stable/jritypes.h:45,
                 from /usr/include/xulrunner-1.9.1b4/stable/jri.h:45,
                 from /usr/include/xulrunner-1.9.1b4/stable/npapi.h:48,
                 from support/npunix.c:51:
/usr/include/xulrunner-1.9.1b4/stable/jri_md.h:138:30: warning:
"Macintosh" is not defined
/usr/include/xulrunner-1.9.1b4/stable/jri_md.h:138:43: warning:
"THINK_C" is not defined
In file included from /usr/include/xulrunner-1.9.1b4/stable/jni.h:46,

from /usr/include/xulrunner-1.9.1b4/stable/jritypes.h:46,
                 from /usr/include/xulrunner-1.9.1b4/stable/jri.h:45,
                 from /usr/include/xulrunner-1.9.1b4/stable/npapi.h:48,
                 from support/npunix.c:51:
/usr/include/xulrunner-1.9.1b4/stable/jni_md.h:166:7: warning:
"macintosh" is not defined
/usr/include/xulrunner-1.9.1b4/stable/jni_md.h:166:20: warning:
"Macintosh" is not defined
/usr/include/xulrunner-1.9.1b4/stable/jni_md.h:166:33: warning:
"THINK_C" is not defined
support/npunix.c: In function 'NPN_GetValue':
support/npunix.c:106: error: implicit declaration of function
'CallNPN_GetValueProc'
support/npunix.c: In function 'NPN_SetValue':
support/npunix.c:113: error: implicit declaration of function
'CallNPN_SetValueProc'
support/npunix.c: In function 'NPN_GetURL':
support/npunix.c:120: error: implicit declaration of function
'CallNPN_GetURLProc'
support/npunix.c: In function 'NPN_GetURLNotify':
support/npunix.c:126: error: implicit declaration of function
'CallNPN_GetURLNotifyProc'
support/npunix.c: In function 'NPN_PostURL':
support/npunix.c:133: error: implicit declaration of function
'CallNPN_PostURLProc'
support/npunix.c: In function 'NPN_PostURLNotify':
support/npunix.c:141: error: implicit declaration of function
'CallNPN_PostURLNotifyProc'
support/npunix.c: In function 'NPN_RequestRead':
support/npunix.c:148: error: implicit declaration of function
'CallNPN_RequestReadProc'
support/npunix.c: In function 'NPN_NewStream':
support/npunix.c:156: error: implicit declaration of function
'CallNPN_NewStreamProc'
support/npunix.c: In function 'NPN_Write':
support/npunix.c:163: error: implicit declaration of function
'CallNPN_WriteProc'
support/npunix.c: In function 'NPN_DestroyStream':
support/npunix.c:170: error: implicit declaration of function
'CallNPN_DestroyStreamProc'
support/npunix.c: In function 'NPN_Status':
support/npunix.c:177: error: implicit declaration of function
'CallNPN_StatusProc'
support/npunix.c: In function 'NPN_UserAgent':
support/npunix.c:183: error: implicit declaration of function
'CallNPN_UserAgentProc'
support/npunix.c:183: warning: return makes pointer from integer without
a cast
support/npunix.c: In function 'NPN_MemAlloc':
support/npunix.c:188: error: implicit declaration of function
'CallNPN_MemAllocProc'
support/npunix.c:188: warning: return makes pointer from integer without
a cast
support/npunix.c: In function 'NPN_MemFree':
support/npunix.c:193: error: implicit declaration of function
'CallNPN_MemFreeProc'
support/npunix.c: In function 'NPN_MemFlush':
support/npunix.c:198: error: implicit declaration of function
'CallNPN_MemFlushProc'
support/npunix.c: In function 'NPN_ReloadPlugins':
support/npunix.c:203: error: implicit declaration of function
'CallNPN_ReloadPluginsProc'
support/npunix.c: At top level:
support/npunix.c:207: warning: no previous prototype for
'NPN_GetJavaEnv'
support/npunix.c: In function 'NPN_GetJavaEnv':
support/npunix.c:209: error: implicit declaration of function
'CallNPN_GetJavaEnvProc'
support/npunix.c:209: warning: return makes pointer from integer without
a cast
support/npunix.c: In function 'NPN_GetJavaPeer':
support/npunix.c:214: error: implicit declaration of function
'CallNPN_GetJavaPeerProc'
support/npunix.c:215: warning: return makes pointer from integer without
a cast
support/npunix.c: In function 'NPN_InvalidateRect':
support/npunix.c:222: error: implicit declaration of function
'CallNPN_InvalidateRectProc'
support/npunix.c: In function 'NPN_InvalidateRegion':
support/npunix.c:229: error: implicit declaration of function
'CallNPN_InvalidateRegionProc'
support/npunix.c: In function 'NPN_ForceRedraw':
support/npunix.c:236: error: implicit declaration of function
'CallNPN_ForceRedrawProc'
support/npunix.c: In function 'NPN_PushPopupsEnabledState':
support/npunix.c:241: error: implicit declaration of function
'CallNPN_PushPopupsEnabledStateProc'
support/npunix.c: In function 'NPN_PopPopupsEnabledState':
support/npunix.c:247: error: implicit declaration of function
'CallNPN_PopPopupsEnabledStateProc'
support/npunix.c: In function 'NPN_GetStringIdentifier':
support/npunix.c:256: error: implicit declaration of function
'CallNPN_GetStringIdentifierProc'
support/npunix.c:257: warning: return makes pointer from integer without
a cast
support/npunix.c: In function 'NPN_GetStringIdentifiers':
support/npunix.c:268: error: implicit declaration of function
'CallNPN_GetStringIdentifiersProc'
support/npunix.c: In function 'NPN_GetIntIdentifier':
support/npunix.c:278: error: implicit declaration of function
'CallNPN_GetIntIdentifierProc'
support/npunix.c:278: warning: return makes pointer from integer without
a cast
support/npunix.c: In function 'NPN_IdentifierIsString':
support/npunix.c:288: error: implicit declaration of function
'CallNPN_IdentifierIsStringProc'
support/npunix.c: In function 'NPN_UTF8FromIdentifier':
support/npunix.c:300: error: implicit declaration of function
'CallNPN_UTF8FromIdentifierProc'
support/npunix.c:302: warning: return makes pointer from integer without
a cast
support/npunix.c: In function 'NPN_IntFromIdentifier':
support/npunix.c:312: error: implicit declaration of function
'CallNPN_IntFromIdentifierProc'
support/npunix.c: In function 'NPN_CreateObject':
support/npunix.c:323: error: implicit declaration of function
'CallNPN_CreateObjectProc'
support/npunix.c:323: warning: return makes pointer from integer without
a cast
support/npunix.c: In function 'NPN_RetainObject':
support/npunix.c:331: error: implicit declaration of function
'CallNPN_RetainObjectProc'
support/npunix.c:331: warning: return makes pointer from integer without
a cast
support/npunix.c: In function 'NPN_ReleaseObject':
support/npunix.c:339: error: implicit declaration of function
'CallNPN_ReleaseObjectProc'
support/npunix.c: In function 'NPN_Invoke':
support/npunix.c:347: error: implicit declaration of function
'CallNPN_InvokeProc'
support/npunix.c: In function 'NPN_InvokeDefault':
support/npunix.c:357: error: implicit declaration of function
'CallNPN_InvokeDefaultProc'
support/npunix.c: In function 'NPN_Evaluate':
support/npunix.c:367: error: implicit declaration of function
'CallNPN_EvaluateProc'
support/npunix.c: In function 'NPN_GetProperty':
support/npunix.c:377: error: implicit declaration of function
'CallNPN_GetPropertyProc'
support/npunix.c: In function 'NPN_SetProperty':
support/npunix.c:387: error: implicit declaration of function
'CallNPN_SetPropertyProc'
support/npunix.c: In function 'NPN_RemoveProperty':
support/npunix.c:396: error: implicit declaration of function
'CallNPN_RemovePropertyProc'
support/npunix.c: In function 'NPN_HasProperty':
support/npunix.c:405: error: implicit declaration of function
'CallNPN_HasPropertyProc'
support/npunix.c: In function 'NPN_HasMethod':
support/npunix.c:414: error: implicit declaration of function
'CallNPN_HasMethodProc'
support/npunix.c: In function 'NPN_ReleaseVariantValue':
support/npunix.c:423: error: implicit declaration of function
'CallNPN_ReleaseVariantValueProc'
support/npunix.c: In function 'NPN_SetException':
support/npunix.c:430: error: implicit declaration of function
'CallNPN_SetExceptionProc'
support/npunix.c: At top level:
support/npunix.c:593: warning: no previous prototype for
'NP_GetMIMEDescription'
support/npunix.c: In function 'NP_Initialize':
support/npunix.c:769: error: implicit declaration of function
'NewNPP_NewProc'
support/npunix.c:769: warning: assignment makes pointer from integer
without a cast
support/npunix.c:770: error: implicit declaration of function
'NewNPP_DestroyProc'
support/npunix.c:770: warning: assignment makes pointer from integer
without a cast
support/npunix.c:771: error: implicit declaration of function
'NewNPP_SetWindowProc'
support/npunix.c:771: warning: assignment makes pointer from integer
without a cast
support/npunix.c:772: error: implicit declaration of function
'NewNPP_NewStreamProc'
support/npunix.c:772: warning: assignment makes pointer from integer
without a cast
support/npunix.c:773: error: implicit declaration of function
'NewNPP_DestroyStreamProc'
support/npunix.c:773: warning: assignment makes pointer from integer
without a cast
support/npunix.c:774: error: implicit declaration of function
'NewNPP_StreamAsFileProc'
support/npunix.c:774: warning: assignment makes pointer from integer
without a cast
support/npunix.c:775: error: implicit declaration of function
'NewNPP_WriteReadyProc'
support/npunix.c:775: warning: assignment makes pointer from integer
without a cast
support/npunix.c:776: error: implicit declaration of function
'NewNPP_WriteProc'
support/npunix.c:776: warning: assignment makes pointer from integer
without a cast
support/npunix.c:777: error: implicit declaration of function
'NewNPP_PrintProc'
support/npunix.c:777: warning: assignment makes pointer from integer
without a cast
support/npunix.c:778: error: implicit declaration of function
'NewNPP_GetValueProc'
support/npunix.c:778: warning: assignment makes pointer from integer
without a cast
support/npunix.c:779: error: implicit declaration of function
'NewNPP_SetValueProc'
support/npunix.c:779: warning: assignment makes pointer from integer
without a cast
support/npunix.c:784: error: implicit declaration of function
'NewNPP_URLNotifyProc'
support/npunix.c:784: warning: assignment makes pointer from integer
without a cast
support/npunix.c: At top level:
support/npunix.c:809: warning: no previous prototype for 'NP_Shutdown'
make[2]: *** [libvlcplugin_la-npunix.lo] Error 1
make[2]: Leaving directory
`/usr/src/packages/BUILD/vlc-1.0.0-rc2/projects/mozilla'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/src/packages/BUILD/vlc-1.0.0-rc2'
make: *** [all] Error 2
error: Bad exit status from /var/tmp/rpm-tmp.95582 (%build)




More information about the vlc-devel mailing list