← Back to team overview

zeitgeist team mailing list archive

[Bug 709103] Re: Firefox extension doesn't work with FF4

 

I tried this on natty Beta 2 with Firefox4 and xulrunner-2.0-dev

Applied the patch and got this error, not able to make out what needs to
be done

make[4]: Entering directory `/home/manish/code/zeitgeist-dataproviders/firefox-libzg/extension/components'
  CXX    libzeitgeist_xpcom_la-ZeitgeistComponent.lo
In file included from /usr/include/xulrunner-2.0/nscore.h:50:0,
                 from /usr/include/xulrunner-2.0/mozilla/Module.h:41,
                 from /usr/include/xulrunner-2.0/mozilla/ModuleUtils.h:42,
                 from ZeitgeistComponent.cpp:23:
/usr/include/xulrunner-2.0/mozilla/mozalloc.h:109:5: error: expected initializer before ‘NS_ATTR_MALLOC’
/usr/include/xulrunner-2.0/mozilla/mozalloc.h:113:5: error: expected initializer before ‘NS_ATTR_MALLOC’
/usr/include/xulrunner-2.0/mozilla/mozalloc.h:117:5: error: expected initializer before ‘NS_ATTR_MALLOC’
/usr/include/xulrunner-2.0/mozilla/mozalloc.h:120:5: error: expected initializer before ‘NS_ATTR_MALLOC’
/usr/include/xulrunner-2.0/mozilla/mozalloc.h:124:5: error: expected initializer before ‘NS_ATTR_MALLOC’
/usr/include/xulrunner-2.0/mozilla/mozalloc.h:127:5: error: expected initializer before ‘NS_ATTR_MALLOC’
/usr/include/xulrunner-2.0/mozilla/mozalloc.h:131:5: error: expected initializer before ‘NS_ATTR_MALLOC’
/usr/include/xulrunner-2.0/mozilla/mozalloc.h:134:5: error: expected initializer before ‘NS_ATTR_MALLOC’
/usr/include/xulrunner-2.0/mozilla/mozalloc.h: In function ‘void* operator new(size_t)’:
/usr/include/xulrunner-2.0/mozilla/mozalloc.h:229:28: error: ‘moz_xmalloc’ was not declared in this scope
/usr/include/xulrunner-2.0/mozilla/mozalloc.h: In function ‘void* operator new(size_t, const std::nothrow_t&)’:
/usr/include/xulrunner-2.0/mozilla/mozalloc.h:235:27: error: ‘moz_malloc’ was not declared in this scope
/usr/include/xulrunner-2.0/mozilla/mozalloc.h: In function ‘void* operator new [](size_t)’:
/usr/include/xulrunner-2.0/mozilla/mozalloc.h:241:28: error: ‘moz_xmalloc’ was not declared in this scope
/usr/include/xulrunner-2.0/mozilla/mozalloc.h: In function ‘void* operator new [](size_t, const std::nothrow_t&)’:
/usr/include/xulrunner-2.0/mozilla/mozalloc.h:247:27: error: ‘moz_malloc’ was not declared in this scope
/usr/include/xulrunner-2.0/mozilla/mozalloc.h: In function ‘void* operator new(size_t, const mozilla::fallible_t&)’:
/usr/include/xulrunner-2.0/mozilla/mozalloc.h:303:27: error: ‘moz_malloc’ was not declared in this scope
/usr/include/xulrunner-2.0/mozilla/mozalloc.h: In function ‘void* operator new [](size_t, const mozilla::fallible_t&)’:
/usr/include/xulrunner-2.0/mozilla/mozalloc.h:309:27: error: ‘moz_malloc’ was not declared in this scope
make[4]: *** [libzeitgeist_xpcom_la-ZeitgeistComponent.lo] Error 1
make[4]: Leaving directory `/home/manish/code/zeitgeist-dataproviders/firefox-libzg/extension/components'
make[3]: *** [all] Error 2
make[3]: Leaving directory `/home/manish/code/zeitgeist-dataproviders/firefox-libzg/extension/components'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/manish/code/zeitgeist-dataproviders/firefox-libzg/extension'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/manish/code/zeitgeist-dataproviders/firefox-libzg'
make: *** [all-recursive] Error 1

-- 
You received this bug notification because you are a member of Zeitgeist
Framework Team, which is subscribed to Zeitgeist Data-Sources.
https://bugs.launchpad.net/bugs/709103

Title:
  Firefox extension doesn't work with FF4

Status in Zeitgeist Data-Providers:
  Confirmed

Bug description:
  When installed and up it shows alert box
  "TypeError: Components.classes['@zeitgeist-project.com/DATAPROVIDER/firefox-xpcom;1'] is undefined"
  and does so every time new window is opened.

  Also previous FF4 betas were affected.


References