croczilla.com 
 home   zap   svg   xtf   jssh   bits&pieces   blog   personal   
  home > zap > lists > zap-devel > Archive > 2007 > 2007-08 > Build error / "samorav" <undersadic@gmail.com>

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.

[ << ] [ >> ]

[ BUILD - ERROR / "Adeyeye O. Michael" ... ] [ Re: [zap-devel] Build error / "Adeyeye O. ... ]

Build error
"samorav" <undersadic(at)gmail.com>
2007-08-22 09:56:29 [ FULL ]
Dear All,

I'm new to zap and to this list, hi all!

I'm trying to build zap, this is what I type:

mkdir zapTest
cd zapTest
cvs -d :pserver:anonymous(at)cvs-mirror.mozilla.org:/cvsroot co
-rZAP_20050610_BRANCH mozilla/client.mk
cd mozilla/
make -f client.mk checkout MOZ_CO_PROJECT=zap
cp mozilla/zap/config/mozconfig .mozconfig
make -f client.mk build

...

after a while, i get the following error:

c++ -o nsUnknownDecoder.o -c -fvisibility=hidden -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.15\" -DOSARCH=Linux -DIMPL_NS_NET
-I../../../netwerk/base/src  -I../../../dist/include/xpcom
-I../../../dist/include/string -I../../../dist/include/mimetype
-I../../../dist/include/locale -I../../../dist/include/intl
-I../../../dist/include/unicharutil -I../../../dist/include/pref
-I../../../dist/include/uconv -I../../../dist/include/zlib
-I../../../dist/include   -I../../../dist/include/necko
-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/nsUnknownDecoder.pp
nsUnknownDecoder.cpp
nsUnknownDecoder.cpp: In static member function 'static nsresult
nsBinaryDetector::Register(nsIComponentManager*, nsIFile*, const char*, const
char*, const nsModuleComponentInfo*)':
nsUnknownDecoder.cpp:731: error: 'NS_BINARYDETECTOR_CONTRACTID' was not
declared in this scope
make[6]: *** [nsUnknownDecoder.o] Error 1
make[6]: Leaving directory
`/home/sam/zapTest/mozilla/netwerk/streamconv/converters'
make[5]: *** [libs] Error 2
make[5]: Leaving directory `/home/sam/zapTest/mozilla/netwerk/streamconv'
make[4]: *** [libs] Error 2
make[4]: Leaving directory `/home/sam/zapTest/mozilla/netwerk'
make[3]: *** [libs_tier_necko] Error 2
make[3]: Leaving directory `/home/sam/zapTest/mozilla'
make[2]: *** [tier_necko] Error 2
make[2]: Leaving directory `/home/sam/zapTest/mozilla'
make[1]: *** [default] Error 2
make[1]: Leaving directory `/home/sam/zapTest/mozilla'
make: *** [build] Error 2


my platform is debian etch,
gcc (GCC) 4.1.2 20061115 (prerelease) (Debian 4.1.1-21)
i686


am I missing something ?


Thank you very much for your support,
have a nice day

Sam

MailBoxer