croczilla.com 
 home   zap   svg   xtf   jssh   bits&pieces   blog   personal   
  home > zap > lists > zap-devel > Archive > 2007 > 2007-02 > Build failing on linux (debian) / "Nicolas Gironi" <nico@implementers.org>

zap-devel mailing list

To subscribe, send a mail with subject 'subscribe' to zap-devel(at)croczilla.com. Likewise, to unsubscribe, send a mail with subject 'unsubscribe' to zap-devel(at)croczilla.com.

[ << ] [ >> ]

[ Typo on build page / "Nicolas Gironi" ... ] [ Problems with debug shell / "Marc ... ]

Build failing on linux (debian)
"Nicolas Gironi" <nico(at)implementers.org>
2007-02-05 17:11:58 [ FULL ]
Hi Alex,

I checkout a new cvs tree following the instructions on this page[1]. I
added the toolkit option that I talked about in my previous email (if
not, I got same error that Marc),  but unfortunately I'm still getting
an error during the  build process (make -f client.mk build).

[...]

c++ -o nsXPConnect.o -c -fvisibility=hidden
-DXPCOM_TRANSLATE_NSGM_ENTRY_POINT=1 -DMOZILLA_INTERNAL_API
-D_IMPL_NS_COM -DEXPORT_XPT_API -DEXPORT_XPTC_API
-D_IMPL_NS_COM_OBSOLETE -D_IMPL_NS_GFX -D_IMPL_NS_WIDGET -DIMPL_XREAPI
-DIMPL_NS_NET  -DZLIB_INTERNAL -DOSTYPE=\"Linux2.6\" -DOSARCH=\"Linux\"
-DBUILD_ID=0000000000 -DJSFILE -DJS_THREADSAFE -DEXPORT_XPC_API
-I./../loader  -I../../../../dist/include/xpcom
-I../../../../dist/include/string -I../../../../dist/include/js
-I../../../../dist/include/caps -I../../../../dist/include/necko
-I../../../../dist/include/dom -I../../../../dist/include
-I../../../../dist/include/xpconnect -I../../../../dist/include/nspr
-DMOZ_PNG_READ -DMOZ_PNG_WRITE  -I../../../../dist/sdk/include    -fPIC
  -fno-rtti -fno-exceptions -Wall -Wconversion -Wpointer-arith
-Wcast-align -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy
-Wno-non-virtual-dtor -Wno-long-long -pedantic -fshort-wchar -pthread
-pipe  -DNDEBUG -DTRIMMED -O   -DMOZILLA_CLIENT -include
../../../../mozilla-config.h -Wp,-MD,.deps/nsXPConnect.pp nsXPConnect.cpp
nsXPConnect.cpp: In member function ?virtual nsresult
nsXPConnect::InitClasses(JSContext*, JSObject*)?:
nsXPConnect.cpp:605: error: ?XPC_SJOW_AttachNewConstructorObject? was
not declared in this scope
nsXPConnect.cpp: In member function ?virtual nsresult
nsXPConnect::InitClassesWithNewWrappedGlobal(JSContext*, nsISupports*,
const nsIID&, PRUint32, nsIXPConnectJSObjectHolder**)?:
nsXPConnect.cpp:719: error: ?XPC_SJOW_AttachNewConstructorObject? was
not declared in this scope
make[5]: *** [nsXPConnect.o] Error 1

[...]

I attached my .mozconfig file. Please note that the zap/config/mozconfig
is same than in CVS.

I also tried this on 2 differents computers and environement, and I'm
still got same error.

Any help will be appreciate

Cheers,
nico

[1] http://croczilla.com/zap/build/
Attachments:  
.mozconfig application/octet-stream 86 Bytes

Re: [zap-devel] Build failing on linux (debian)
Alex Fritze <alex(at)croczilla.com>
2007-02-05 22:40:27 [ FULL ]
Hi Nico,

Nicolas Gironi wrote:[...]
The branch was out of sync with the trunk. It should build again now.

Cheers,
Alex

Re: [zap-devel] Build failing on linux (debian)
"Nicolas Gironi" <nicolas06(at)gmail.com>
2007-02-06 09:48:01 [ FULL ]
On 2/5/07, Alex Fritze <alex(at)croczilla.com> wrote:[...]
Thanks it is working fine now.
[...]

Nico

MailBoxer