I keep getting this error when I try to build from source.  I used the
instructions from http://www.mozilla.org/ports/fizzilla/ChimChim.html



gcc -o xpidl.o -c -DOSTYPE=\"Darwin6.6\" -DOSARCH=\"Darwin\"
-I../../../dist/include/xpcom -I../../../dist/include
-I/Users/jeff/CaminoBuild/mozilla/dist/include/nspr        -fPIC  -Wall -W
-Wno-unused -Wpointer-arith -Wcast-align -Wno-long-long -fpascal-strings
-no-cpp-precomp -fno-common -I/Developer/Headers/FlatCarbon
-F/System/Library/Frameworks -pipe  -DDEBUG -D_DEBUG -DDEBUG_root -DTRACING
-g -O2 -I/sw/include/orbit-1.0    -include ../../../mozilla-config.h
-DMOZILLA_CLIENT -Wp,-MD,.deps/xpidl.pp xpidl.c
In file included from xpidl.c:42:
xpidl.h:49:18: glib.h: No such file or directory
xpidl.h:53:24: libIDL/IDL.h: No such file or directory
In file included from xpidl.c:42:
xpidl.h:83: parse error before "enable_debug"
xpidl.h:83: warning: type defaults to `int' in declaration of `enable_debug'
xpidl.h:83: warning: data definition has no type or storage class
xpidl.h:84: parse error before "enable_warnings"
xpidl.h:84: warning: type defaults to `int' in declaration of
`enable_warnings'
xpidl.h:84: warning: data definition has no type or storage class
xpidl.h:85: parse error before "verbose_mode"
xpidl.h:85: warning: type defaults to `int' in declaration of `verbose_mode'
xpidl.h:85: warning: data definition has no type or storage class
xpidl.h:86: parse error before "emit_typelib_annotations"
xpidl.h:86: warning: type defaults to `int' in declaration of
`emit_typelib_annotations'
xpidl.h:86: warning: data definition has no type or storage class
xpidl.h:87: parse error before "explicit_output_filename"
xpidl.h:87: warning: type defaults to `int' in declaration of
`explicit_output_filename'
xpidl.h:87: warning: data definition has no type or storage class
xpidl.h:97: parse error before '*' token
xpidl.h:97: warning: type defaults to `int' in declaration of `gboolean'
xpidl.h:97: `gboolean' declared as function returning a function
xpidl.h:103: parse error before "nodeHandler"
xpidl.h:103: warning: no semicolon at end of struct or union
xpidl.h:104: warning: type defaults to `int' in declaration of `emit_prolog'
xpidl.h:104: warning: data definition has no type or storage class
xpidl.h:105: parse error before "emit_epilog"
xpidl.h:105: warning: type defaults to `int' in declaration of `emit_epilog'
xpidl.h:105: warning: data definition has no type or storage class
xpidl.h:106: warning: type defaults to `int' in declaration of `backend'
xpidl.h:106: warning: data definition has no type or storage class
xpidl.h:109: parse error before '*' token
xpidl.h:109: warning: type defaults to `int' in declaration of
`backendFactory'
xpidl.h:109: warning: data definition has no type or storage class
xpidl.h:111: parse error before '*' token
xpidl.h:111: warning: type defaults to `int' in declaration of
`xpidl_header_dispatch'
xpidl.h:111: warning: data definition has no type or storage class
xpidl.h:112: parse error before '*' token
xpidl.h:112: warning: type defaults to `int' in declaration of
`xpidl_typelib_dispatch'
xpidl.h:112: warning: data definition has no type or storage class
xpidl.h:113: parse error before '*' token
xpidl.h:113: warning: type defaults to `int' in declaration of
`xpidl_doc_dispatch'
xpidl.h:113: warning: data definition has no type or storage class
xpidl.h:114: parse error before '*' token
xpidl.h:114: warning: type defaults to `int' in declaration of
`xpidl_java_dispatch'
xpidl.h:114: warning: data definition has no type or storage class
xpidl.h:120: parse error before "backendFactory"
xpidl.h:120: warning: no semicolon at end of struct or union
xpidl.h:121: warning: type defaults to `int' in declaration of `ModeData'
xpidl.h:121: warning: data definition has no type or storage class
xpidl.h:132: parse error before "IDL_ns"
xpidl.h:132: warning: no semicolon at end of struct or union
xpidl.h:133: warning: type defaults to `int' in declaration of `tree'
xpidl.h:133: warning: data definition has no type or storage class
xpidl.h:134: parse error before '*' token
xpidl.h:134: warning: type defaults to `int' in declaration of
`base_includes'
xpidl.h:134: warning: data definition has no type or storage class
xpidl.h:135: parse error before '*' token
xpidl.h:135: warning: type defaults to `int' in declaration of `dispatch'
xpidl.h:135: warning: data definition has no type or storage class
xpidl.h:137: parse error before '}' token
xpidl.h:145: parse error before "ModeData"
xpidl.h:151: parse error before "p"
xpidl.h:172: `xpidl_process_node' declared as function returning a function
xpidl.h:197: `xpidl_sprint_iid' declared as function returning a function
xpidl.h:204: `xpidl_parse_iid' declared as function returning a function
xpidl.h:236: parse error before "find_underlying_type"
xpidl.h:236: parse error before "typedef_ident"
xpidl.h:236: warning: type defaults to `int' in declaration of
`find_underlying_type'
xpidl.h:236: warning: data definition has no type or storage class
xpidl.h:243: parse error before "const_tree"
xpidl.h:243: `verify_const_declaration' declared as function returning a
function
xpidl.h:249: parse error before "method_tree"
xpidl.h:249: `verify_attribute_declaration' declared as function returning a
function
xpidl.h:255: parse error before "method_tree"
xpidl.h:255: `verify_method_declaration' declared as function returning a
function
xpidl.h:261: parse error before "method_tree"
xpidl.h:261: `verify_interface_declaration' declared as function returning a
function
xpidl.h:268: `check_native' declared as function returning a function
xpidl.h:271: parse error before "GSList"
xpidl.c:44: parse error before "modes"
xpidl.c:44: warning: type defaults to `int' in declaration of `modes'
xpidl.c:45: warning: braces around scalar initializer
xpidl.c:45: warning: (near initialization for `modes[0]')
xpidl.c:45: warning: initialization makes integer from pointer without a
cast
xpidl.c:45: warning: excess elements in scalar initializer
xpidl.c:45: warning: (near initialization for `modes[0]')
xpidl.c:45: warning: excess elements in scalar initializer
xpidl.c:45: warning: (near initialization for `modes[0]')
xpidl.c:45: warning: excess elements in scalar initializer
xpidl.c:45: warning: (near initialization for `modes[0]')
xpidl.c:46: warning: braces around scalar initializer
xpidl.c:46: warning: (near initialization for `modes[1]')
xpidl.c:46: warning: initialization makes integer from pointer without a
cast
xpidl.c:46: warning: excess elements in scalar initializer
xpidl.c:46: warning: (near initialization for `modes[1]')
xpidl.c:46: warning: excess elements in scalar initializer
xpidl.c:46: warning: (near initialization for `modes[1]')
xpidl.c:46: warning: excess elements in scalar initializer
xpidl.c:46: warning: (near initialization for `modes[1]')
xpidl.c:47: warning: braces around scalar initializer
xpidl.c:47: warning: (near initialization for `modes[2]')
xpidl.c:47: warning: initialization makes integer from pointer without a
cast
xpidl.c:47: warning: excess elements in scalar initializer
xpidl.c:47: warning: (near initialization for `modes[2]')
xpidl.c:47: warning: excess elements in scalar initializer
xpidl.c:47: warning: (near initialization for `modes[2]')
xpidl.c:47: warning: excess elements in scalar initializer
xpidl.c:47: warning: (near initialization for `modes[2]')
xpidl.c:48: warning: braces around scalar initializer
xpidl.c:48: warning: (near initialization for `modes[3]')
xpidl.c:48: warning: initialization makes integer from pointer without a
cast
xpidl.c:48: warning: excess elements in scalar initializer
xpidl.c:48: warning: (near initialization for `modes[3]')
xpidl.c:48: warning: excess elements in scalar initializer
xpidl.c:48: warning: (near initialization for `modes[3]')
xpidl.c:48: warning: excess elements in scalar initializer
xpidl.c:48: warning: (near initialization for `modes[3]')
xpidl.c:49: warning: braces around scalar initializer
xpidl.c:49: warning: (near initialization for `modes[4]')
xpidl.c:49: warning: excess elements in scalar initializer
xpidl.c:49: warning: (near initialization for `modes[4]')
xpidl.c:49: warning: excess elements in scalar initializer
xpidl.c:49: warning: (near initialization for `modes[4]')
xpidl.c:49: warning: excess elements in scalar initializer
xpidl.c:49: warning: (near initialization for `modes[4]')
xpidl.c:50: warning: data definition has no type or storage class
xpidl.c:52: parse error before '*' token
xpidl.c:54: warning: return type defaults to `int'
xpidl.c: In function `FindMode':
xpidl.c:56: request for member `mode' in something not a structure or union
xpidl.c:57: request for member `mode' in something not a structure or union
xpidl.c: At top level:
xpidl.c:63: function `enable_debug' is initialized like a variable
xpidl.c:63: `enable_debug' redeclared as different kind of symbol
xpidl.h:83: previous declaration of `enable_debug'
xpidl.c:63: `FALSE' undeclared here (not in a function)
xpidl.c:64: function `enable_warnings' is initialized like a variable
xpidl.c:64: `enable_warnings' redeclared as different kind of symbol
xpidl.h:84: previous declaration of `enable_warnings'
xpidl.c:64: `FALSE' undeclared here (not in a function)
xpidl.c:65: function `verbose_mode' is initialized like a variable
xpidl.c:65: `verbose_mode' redeclared as different kind of symbol
xpidl.h:85: previous declaration of `verbose_mode'
xpidl.c:65: `FALSE' undeclared here (not in a function)
xpidl.c:66: function `emit_typelib_annotations' is initialized like a
variable
xpidl.c:66: `emit_typelib_annotations' redeclared as different kind of
symbol
xpidl.h:86: previous declaration of `emit_typelib_annotations'
xpidl.c:66: `FALSE' undeclared here (not in a function)
xpidl.c:67: function `explicit_output_filename' is initialized like a
variable
xpidl.c:67: `explicit_output_filename' redeclared as different kind of
symbol
xpidl.h:87: previous declaration of `explicit_output_filename'
xpidl.c:67: `FALSE' undeclared here (not in a function)
xpidl.c: In function `xpidl_usage':
xpidl.c:90: request for member `mode' in something not a structure or union
xpidl.c:91: request for member `mode' in something not a structure or union
xpidl.c:92: request for member `modeInfo' in something not a structure or
union
xpidl.c:92: request for member `suffix' in something not a structure or
union
xpidl.c: In function `main':
xpidl.c:106: `mode' undeclared (first use in this function)
xpidl.c:106: (Each undeclared identifier is reported only once
xpidl.c:106: for each function it appears in.)
xpidl.c:107: function `create_old_typelib' is initialized like a variable
xpidl.c:107: `FALSE' undeclared (first use in this function)
xpidl.c:131: `TRUE' undeclared (first use in this function)
xpidl.c:144: syntax error before '*' token
make[7]: *** [xpidl.o] Error 1
make[7]: Leaving directory
`/Users/jeff/CaminoBuild/mozilla/xpcom/typelib/xpidl'
make[6]: *** [export] Error 2
make[6]: Leaving directory
`/Users/jeff/CaminoBuild/mozilla/xpcom/typelib/xpidl'
make[5]: *** [export] Error 2
make[5]: Leaving directory `/Users/jeff/CaminoBuild/mozilla/xpcom/typelib'
make[4]: *** [export] Error 2
make[4]: Leaving directory `/Users/jeff/CaminoBuild/mozilla/xpcom'
make[3]: *** [tier_2] Error 2
make[3]: Leaving directory `/Users/jeff/CaminoBuild/mozilla'
make[2]: *** [default] Error 2
make[2]: Leaving directory `/Users/jeff/CaminoBuild/mozilla'
make[1]: *** [build] Error 2
make[1]: Leaving directory `/Users/jeff/CaminoBuild/mozilla'
make: *** [build] Error 2
make: Leaving directory `/Users/jeff/CaminoBuild/mozilla'

-- 
Jeff Grossman ([EMAIL PROTECTED])

_______________________________________________
Camino mailing list
[EMAIL PROTECTED]
http://mozdev.org/mailman/listinfo/camino

Reply via email to