Skip to main content

build last jdic

No replies
Anonymous

Hello,
I download (and build distribution and gecko sdk for gtk2) mozilla source (MOZILLA_1_7_BRANCH - mozilla 1.7.8)
and last jdic cvs

I set USING_GECKO_SDK_1_7 = 1 and MOZ_ENABLE_GTK2 = 1 in Makefile

I set GECKO_SDK and MOZILLA_DIST and when I call ant buildall I get next error :

buildunixembed:
[exec] rm -f MozEmbed.o Callback.o ../../../share/native/mozilla/Common.o ../../../share/native/mozilla/ProfileDirServiceProvider.o ../../../share/native/utils/Util.o ../../../share/native/utils/MsgServer.o mozembed-linux-gtk2 libmozembed-linux-gtk2.so Main.o
[exec] rm -f *.so
[exec] rm -f mozembed-*-gtk*
[exec] g++ -c MozEmbed.cpp -o MozEmbed.o -DMOZ_WIDGET_GTK2 -DXPCOM_GLUE -DMOZILLA_STRICT_API -I. -I../../../share/native/utils -I../../../share/native/mozilla -include /usr/local/gecko-sdk/include/mozilla-config.h -I/usr/local/gecko-sdk/include -O2 -fPIC `pkg-config gtk+-2.0 --cflags`
[exec] g++ -c Callback.cpp -o Callback.o -DMOZ_WIDGET_GTK2 -DXPCOM_GLUE -DMOZILLA_STRICT_API -I. -I../../../share/native/utils -I../../../share/native/mozilla -include /usr/local/gecko-sdk/include/mozilla-config.h -I/usr/local/gecko-sdk/include -O2 -fPIC `pkg-config gtk+-2.0 --cflags`
[exec] g++ -c ../../../share/native/mozilla/Common.cpp -o ../../../share/native/mozilla/Common.o -DMOZ_WIDGET_GTK2 -DXPCOM_GLUE -DMOZILLA_STRICT_API -I. -I../../../share/native/utils -I../../../share/native/mozilla -include /usr/local/gecko-sdk/include/mozilla-config.h -I/usr/local/gecko-sdk/include -O2 -fPIC `pkg-config gtk+-2.0 --cflags`
[exec] In file included from ../../../share/native/mozilla/Common.cpp:56:
[exec] ../../../share/native/mozilla/nsIProfileInternalOld.h:184:1: warning: "NS_DECL_NSIPROFILEINTERNAL" redefined
[exec] In file included from ../../../share/native/mozilla/Common.cpp:52:
[exec] ../../../share/native/mozilla/nsIProfileInternal.h:172:1: warning: this is the location of the previous definition
[exec] In file included from ../../../share/native/mozilla/Common.cpp:56:
[exec] ../../../share/native/mozilla/nsIProfileInternalOld.h:213:1: warning: "NS_FORWARD_NSIPROFILEINTERNAL" redefined
[exec] In file included from ../../../share/native/mozilla/Common.cpp:52:
[exec] ../../../share/native/mozilla/nsIProfileInternal.h:202:1: warning: this is the location of the previous definition
[exec] In file included from ../../../share/native/mozilla/Common.cpp:56:
[exec] ../../../share/native/mozilla/nsIProfileInternalOld.h:242:1: warning: "NS_FORWARD_SAFE_NSIPROFILEINTERNAL" redefined
[exec] In file included from ../../../share/native/mozilla/Common.cpp:52:
[exec] ../../../share/native/mozilla/nsIProfileInternal.h:232:1: warning: this is the location of the previous definition
[exec] In file included from ../../../share/native/mozilla/Common.cpp:60:
[exec] ../../../share/native/mozilla/nsUTF8Utils.h:428: parse error before `<' token
[exec] ../../../share/native/mozilla/Common.cpp: In function `PRBool
[exec] ConvertUtf8ToUtf16(const nsEmbedCString&, nsEmbedString&)':
[exec] ../../../share/native/mozilla/Common.cpp:319: `const_iterator' is not a member
[exec] of type `nsEmbedCString'
[exec] ../../../share/native/mozilla/Common.cpp:319: parse error before `,' token
[exec] ../../../share/native/mozilla/Common.cpp:321: `source_start' undeclared (first
[exec] use this function)
[exec] ../../../share/native/mozilla/Common.cpp:321: (Each undeclared identifier is
[exec] reported only once for each function it appears in.)
[exec] ../../../share/native/mozilla/Common.cpp:322: `source_end' undeclared (first
[exec] use this function)
[exec] ../../../share/native/mozilla/Common.cpp:322: `copy_string' undeclared (first
[exec] use this function)
[exec] ../../../share/native/mozilla/Common.cpp:325: no matching function for call to
[exec] `nsEmbedString::SetLength(PRUint32&)'
[exec] ../../../share/native/mozilla/Common.cpp:327: `iterator' is not a member of
[exec] type `nsEmbedString'
[exec] ../../../share/native/mozilla/Common.cpp:327: parse error before `;' token
[exec] ../../../share/native/mozilla/Common.cpp:328: `dest' undeclared (first use this
[exec] function)
[exec] ../../../share/native/mozilla/Common.cpp:337: no matching function for call to
[exec] `nsEmbedString::SetLength(int)'
[exec] ../../../share/native/mozilla/Common.cpp: In function `PRBool
[exec] ConvertUtf16ToUtf8(const nsEmbedString&, nsEmbedCString&)':
[exec] ../../../share/native/mozilla/Common.cpp:348: `const_iterator' is not a member
[exec] of type `nsEmbedString'
[exec] ../../../share/native/mozilla/Common.cpp:348: parse error before `,' token
[exec] ../../../share/native/mozilla/Common.cpp:354: no matching function for call to
[exec] `nsEmbedCString::SetLength(PRUint32&)'
[exec] ../../../share/native/mozilla/Common.cpp:356: `iterator' is not a member of
[exec] type `nsEmbedCString'
[exec] ../../../share/native/mozilla/Common.cpp:356: parse error before `;' token
[exec] ../../../share/native/mozilla/Common.cpp:366: no matching function for call to
[exec] `nsEmbedCString::SetLength(int)'
[exec] make: *** [../../../share/native/mozilla/Common.o] Error 1

BUILD FAILED
/u2/jdic/src/jdic/build.xml:153: The following error occurred while executing this line:
/u2/jdic/src/jdic/build.xml:348: exec returned: 2

Total time: 28 seconds

Regards
Haris Peco

---------------------------------------------------------------------
To unsubscribe, e-mail: jdic-unsubscribe@jdic.dev.java.net
For additional commands, e-mail: jdic-help@jdic.dev.java.net