Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 343047 - SWT 3.6.2 fails to build with xulrunner 2
Summary: SWT 3.6.2 fails to build with xulrunner 2
Status: CLOSED DUPLICATE of bug 327696
Alias: None
Product: Platform
Classification: Eclipse Project
Component: SWT (show other bugs)
Version: 3.6.2   Edit
Hardware: PC Linux
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Platform-SWT-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-04-16 13:26 EDT by أحمد المحمودي CLA
Modified: 2011-04-27 14:45 EDT (History)
2 users (show)

See Also:


Attachments
Full build log (138.09 KB, text/plain)
2011-04-16 13:48 EDT, أحمد المحمودي CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description أحمد المحمودي CLA 2011-04-16 13:26:45 EDT
Build Identifier: 3.6.2

Building SWT 3.6.2 against xulrunner 2 failed with this error:
g++ -o xpcomxul.o -O -DSWT_VERSION=3659  -DMOZILLA_STRICT_API=1 -fno-rtti -fno-exceptions -Wall -Wno-non-virtual-dtor -fPIC -I. -I/usr/lib/jvm/default-java/include -I/usr/lib/jvm/default-java/include/linux `pkg-config --cflags libxul-embedding`  -DNO__1NS_1InitXPCOM2  -c xpcom.cpp
xpcom.cpp: In function 'jint Java_org_eclipse_swt_internal_mozilla_XPCOM__1Call__IIIIII(JNIEnv*, _jclass*, jint, jint, jint, jint, jint, jint)':
xpcom.cpp:58:15: error: expected primary-expression before '(' token
xpcom.cpp:58:15: error: expected primary-expression before ')' token
xpcom.cpp:58:15: error: expected primary-expression before '*' token
xpcom.cpp:58:15: error: expected primary-expression before ',' token
xpcom.cpp:58:15: error: expected primary-expression before '*' token
xpcom.cpp:58:15: error: expected primary-expression before ',' token
xpcom.cpp:58:15: error: expected primary-expression before '*' token
xpcom.cpp:58:15: error: expected primary-expression before ',' token
xpcom.cpp:58:15: error: 'nsStaticModuleInfo' was not declared in this scope
xpcom.cpp:58:15: error: expected primary-expression before ')' token
xpcom.cpp:58:36: error: expected ')' before 'arg0'
make[2]: *** [xpcomxul.o] Error 1
make[2]: Leaving directory `/tmp/buildd/swt-gtk-3.6.2'
make[1]: *** [all] Error 2


Reproducible: Always
Comment 1 أحمد المحمودي CLA 2011-04-16 13:48:16 EDT
Created attachment 193421 [details]
Full build log
Comment 2 Grant Gayed CLA 2011-04-27 14:45:26 EDT
XULRunner >= 2.0 is not currently supported.  Marking as a dup of bug 327696.

*** This bug has been marked as a duplicate of bug 327696 ***