Closed
Bug 340283
Opened 18 years ago
Closed 18 years ago
nsIThreadManager broke Minimo
Categories
(Minimo Graveyard :: General, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: timeless, Assigned: dougt)
References
()
Details
Attachments
(1 file)
1.30 KB,
patch
|
Details | Diff | Splinter Review |
Comment 1•18 years ago
|
||
timeless, how so?
Comment 2•18 years ago
|
||
I got a tip in minimo list that this bug number is for the same problem I have. I get this error while cross-building Minimo.cpp in Linux x86 to arm linux target. The code I use is from the cvs head) /opt/h6300/oe/dev770/tmp/work/armv5te-linux/minimo-0.0+cvs20060607-r8/mozilla/config/static-rules.mk:8: FINAL_LINK_COMP_NAMES = /opt/h6300/oe/dev770/tmp/work/armv5te-linux/minimo-0.0+cvs20060607-r8/mozilla/minimo/base/linux/minimo-link-names | /opt/h6300/oe/dev770/tmp/work/armv5te-linux/minimo-0.0+cvs20060607-r8/mozilla/config/static-rules.mk:9: FINAL_LINK_COMPS = /opt/h6300/oe/dev770/tmp/work/armv5te-linux/minimo-0.0+cvs20060607-r8/mozilla/minimo/base/linux/minimo-link-comps | Minimo.cpp | arm-linux-g++ -march=armv5te -mtune=arm926ejs -o Minimo.o -c -fvisibility=hidden -DMOZILLA_INTERNAL_API -DOSTYPE=\"Linux\" -DOSARCH=\"Linux\" -DBUILD_ID=0000000000 -D_BUILD_STATIC_BIN=1 -I/opt/h6300/oe/dev770/tmp/work/armv5te-linux/minimo-0.0+cvs20060607-r8/mozilla/minimo/base -I/opt/h6300/oe/dev770/tmp/work/armv5te-linux/minimo-0.0+cvs20060607-r8/mozilla/xpfe/browser/src/ -I/opt/h6300/oe/dev770/tmp/work/armv5te-linux/minimo-0.0+cvs20060607-r8/mozilla/config -I../../dist/include/xpcom -I../../dist/include/browser -I../../dist/include/history -I../../dist/include/appshell -I../../dist/include/string -I../../dist/include/embed_base -I../../dist/include/webbrwsr -I../../dist/include/webshell -I../../dist/include/windowwatcher -I../../dist/include/profile -I../../dist/include/necko -I../../dist/include/docshell -I../../dist/include/dom -I../../dist/include/widget -I../../dist/include/uriloader -I../../dist/include/shistory -I../../dist/include/webbrowserpersist -I../../dist/include/gfx -I../../dist/include/layout -I../../dist/include/content -I../../dist/include/profdirserviceprovider -I../../dist/include/pref -I../../dist/include/pipnss -I../../dist/include/pipboot -I../../dist/include/intl -I../../dist/include/embedcomponents -I../../dist/include/appcomps -I../../dist/include/phone -I../../dist/include/js -I../../dist/include/imglib2 -I../../dist/include/toolkitcomps -I../../dist/include -I../../dist/include/minimo -I../../dist/include/nspr -isystem/opt/h6300/oe/dev770/tmp/staging/arm-linux/include -fno-rtti -fno-exceptions -Wall -Wconversion -Wpointer-arith -Wcast-align -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wno-long-long -isystem/opt/h6300/oe/dev770/tmp/staging/arm-linux/include -Os -fsigned-char -fno-strict-aliasing -fpermissive -pthread -pipe -DNDEBUG -DTRIMMED -Os -I/opt/h6300/oe/dev770/tmp/staging/arm-linux/include/gtk-2.0 -I/opt/h6300/oe/dev770/tmp/staging/arm-linux/lib/gtk-2.0/include -I/opt/h6300/oe/dev770/tmp/staging/arm-linux/include/atk-1.0 -I/opt/h6300/oe/dev770/tmp/staging/arm-linux/include/cairo -I/opt/h6300/oe/dev770/tmp/staging/arm-linux/include/pango-1.0 -I/opt/h6300/oe/dev770/tmp/staging/arm-linux/include/glib-2.0 -I/opt/h6300/oe/dev770/tmp/staging/arm-linux/lib/glib-2.0/include -isystem/opt/h6300/oe/dev770/tmp/staging/arm-linux/include -DMOZILLA_CLIENT -include ../../mozilla-config.h -Wp,-MD,.deps/Minimo.pp /opt/h6300/oe/dev770/tmp/work/armv5te-linux/minimo-0.0+cvs20060607-r8/mozilla/minimo/base/Minimo.cpp | In file included from /opt/h6300/oe/dev770/tmp/work/armv5te-linux/minimo-0.0+cvs20060607-r8/mozilla/minimo/base/Minimo.cpp:37: | /opt/h6300/oe/dev770/tmp/work/armv5te-linux/minimo-0.0+cvs20060607-r8/mozilla/minimo/base/MinimoPrivate.h:69:34: nsIEventQueueService.h: No such file or directory | /opt/h6300/oe/dev770/tmp/work/armv5te-linux/minimo-0.0+cvs20060607-r8/mozilla/minimo/base/Minimo.cpp:59: error: `NS_EVENTQUEUESERVICE_CID' was not declared in this scope | /opt/h6300/oe/dev770/tmp/work/armv5te-linux/minimo-0.0+cvs20060607-r8/mozilla/minimo/base/Minimo.cpp: In member function `virtual nsresult ApplicationObserver::Observe(nsISupports*, const char*, const PRUnichar*)': | /opt/h6300/oe/dev770/tmp/work/armv5te-linux/minimo-0.0+cvs20060607-r8/mozilla/minimo/base/Minimo.cpp:146: error: `nsIEventQueue' undeclared (first use this function) | /opt/h6300/oe/dev770/tmp/work/armv5te-linux/minimo-0.0+cvs20060607-r8/mozilla/minimo/base/Minimo.cpp:146: error: (Each undeclared identifier is reported only once for each function it appears in.) | /opt/h6300/oe/dev770/tmp/work/armv5te-linux/minimo-0.0+cvs20060607-r8/mozilla/minimo/base/Minimo.cpp:146: error: template argument 1 is invalid | /opt/h6300/oe/dev770/tmp/work/armv5te-linux/minimo-0.0+cvs20060607-r8/mozilla/minimo/base/Minimo.cpp:146: error: invalid type in declaration before '(' token | /opt/h6300/oe/dev770/tmp/work/armv5te-linux/minimo-0.0+cvs20060607-r8/mozilla/minimo/base/Minimo.cpp:146: error: cannot convert `nsQueryInterface' to `int' in initialization | /opt/h6300/oe/dev770/tmp/work/armv5te-linux/minimo-0.0+cvs20060607-r8/mozilla/minimo/base/Minimo.cpp:151: error: base operand of `->' is not a pointer | /opt/h6300/oe/dev770/tmp/work/armv5te-linux/minimo-0.0+cvs20060607-r8/mozilla/minimo/base/Minimo.cpp:153: error: 'class nsDerivedSafe<nsIAppShell>' has no member named 'ListenToEventQueue' | /opt/h6300/oe/dev770/tmp/work/armv5te-linux/minimo-0.0+cvs20060607-r8/mozilla/minimo/base/Minimo.cpp:158: error: template argument 1 is invalid | /opt/h6300/oe/dev770/tmp/work/armv5te-linux/minimo-0.0+cvs20060607-r8/mozilla/minimo/base/Minimo.cpp:158: error: invalid type in declaration before '(' token | /opt/h6300/oe/dev770/tmp/work/armv5te-linux/minimo-0.0+cvs20060607-r8/mozilla/minimo/base/Minimo.cpp:158: error: cannot convert `nsQueryInterface' to `int' in initialization | /opt/h6300/oe/dev770/tmp/work/armv5te-linux/minimo-0.0+cvs20060607-r8/mozilla/minimo/base/Minimo.cpp:163: error: base operand of `->' is not a pointer | /opt/h6300/oe/dev770/tmp/work/armv5te-linux/minimo-0.0+cvs20060607-r8/mozilla/minimo/base/Minimo.cpp:165: error: 'class nsDerivedSafe<nsIAppShell>' has no member named 'ListenToEventQueue' | /opt/h6300/oe/dev770/tmp/work/armv5te-linux/minimo-0.0+cvs20060607-r8/mozilla/minimo/base/Minimo.cpp: In function `int main(int, char**)': | /opt/h6300/oe/dev770/tmp/work/armv5te-linux/minimo-0.0+cvs20060607-r8/mozilla/minimo/base/Minimo.cpp:800: error: 'class nsDerivedSafe<nsIAppShell>' has no member named 'Create'
Comment 3•18 years ago
|
||
doug: you probably want this patch too...
Assignee | ||
Comment 4•18 years ago
|
||
Comment on attachment 224975 [details] [diff] [review] The appshell is now a singleton thanks: Checking in Minimo.cpp; /cvsroot/mozilla/minimo/base/Minimo.cpp,v <-- Minimo.cpp new revision: 1.23; previous revision: 1.22 done
Comment 5•18 years ago
|
||
At least the Minimo.cpp is now building ok for me.
Assignee | ||
Comment 6•18 years ago
|
||
wfm now.
Status: NEW → RESOLVED
Closed: 18 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•