[sugar] Error compiling hulahop

Marco Pesenti Gritti mpg at redhat.com
Tue Jul 10 09:58:24 EDT 2007


Gonzalo Odiard wrote:
> Compiling xulrunner y have:
>
> c++ -o nsTObserverArray.o -c -I../../../dist/include/system_wrappers 
> -include ../../../config/gcc_hidden.h -DOSTYPE=\"Linux2.6.20-1.2962\" 
> -DOSARCH=Linux -DBUILD_ID=0000000000 -DXPCOM_GLUE -I./../../build  
> -I../../../dist/include/string -I../../../dist/include   
> -I../../../dist/include/xpcom -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/nsTObserverArray.pp 
> nsTObserverArray.cpp
> nsTObserverArray.cpp:38:30: error: nsTObserverArray.h: No such file or 
> directory
> nsTObserverArray.cpp:41: error: 'nsTObserverArray_base' has not been 
> declared
> nsTObserverArray.cpp:41: error: variable or field 'AdjustIterators' 
> declared void
> nsTObserverArray.cpp:41: error: 'PRInt32' was not declared in this scope
> nsTObserverArray.cpp:42: error: 'PRInt32' was not declared in this scope
> nsTObserverArray.cpp:42: error: initializer expression list treated as 
> compound expression
> nsTObserverArray.cpp:43: error: expected ',' or ';' before '{' token
> gmake[5]: *** [nsTObserverArray.o] Error 1

Should be fixed now.

Marco


More information about the Sugar mailing list