Problem when cross compiling Gecko (ILocation not declared)

Zhenbo Li litimetal at gmail.com
Tue Apr 28 14:44:34 UTC 2015


Hello, everyone
I'm trying to use mingw-w64 to cross compile gecko (hg version), and,
I faced a problem:

1:59.33 In file included from
/home/lizhenbo/src/mozilla-central-upstream/dom/geolocation/nsGeolocation.cpp:53:0:
 1:59.33 /home/lizhenbo/src/mozilla-central-upstream/dom/system/windows/WindowsLocationProvider.h:43:12:
error: 'ILocation' was not declared in this scope
 1:59.33    nsRefPtr<ILocation> mLocation;
 1:59.33             ^
 1:59.33 /home/lizhenbo/src/mozilla-central-upstream/dom/system/windows/WindowsLocationProvider.h:43:21:
error: template argument 1 is invalid
 1:59.33    nsRefPtr<ILocation> mLocation;
 1:59.33

$ cat /usr/i686-w64-mingw32/sys-root/mingw/include/locationapi.h|grep
-w ILocation
And nothing is found

There is a patch by Jacek[0], has it been merged to trunk? What should
I do to cross compile gecko?

Thank you very much.

[0]: http://sourceforge.net/p/mingw-w64/mingw-w64/ci/7268caece9b4cb33ff698306e51140b11d7656b0/#diff-3
-- 
Have a nice day!
Zhenbo Li


More information about the mingw mailing list