Re: mozilla 1.7.2/3 on SuSE 9.1 with --enable-crypto



Hello,

After experimenting with different config options, I realized that I
can't compile mozilla at all.  I am getting the same error on two
different boxes and I have been able to compile it in the past.  I must
be missing something, but I can't figure out what it is ...

The error is:




nsHttpGssapiAuth.cpp:104: error: `OM_uint32' was not declared in this
scope
nsHttpGssapiAuth.cpp:104: error: syntax error before `,' token
nsHttpGssapiAuth.cpp: In function `void LogGssError(...)':
nsHttpGssapiAuth.cpp:106: error: `OM_uint32' undeclared (first use this
   function)
nsHttpGssapiAuth.cpp:106: error: (Each undeclared identifier is reported
only
   once for each function it appears in.)
nsHttpGssapiAuth.cpp:106: error: syntax error before `;' token
nsHttpGssapiAuth.cpp:108: error: `gss_buffer_desc' undeclared (first use
this
   function)
nsHttpGssapiAuth.cpp:111: error: `prefix' undeclared (first use this
function)
nsHttpGssapiAuth.cpp:115: error: `ret' undeclared (first use this
function)
nsHttpGssapiAuth.cpp:115: error: `new_stat' undeclared (first use this
   function)
nsHttpGssapiAuth.cpp:116: error: `maj_stat' undeclared (first use this
   function)
nsHttpGssapiAuth.cpp:117: error: `GSS_C_GSS_CODE' undeclared (first use
this
   function)
nsHttpGssapiAuth.cpp:118: error: `GSS_C_NULL_OID' undeclared (first use
this
   function)
nsHttpGssapiAuth.cpp:119: error: `msg_ctx' undeclared (first use this
function)
nsHttpGssapiAuth.cpp:120: error: `status1_string' undeclared (first use
this
   function)
nsHttpGssapiAuth.cpp:120: error: `gss_display_status' undeclared (first
use
   this function)
nsHttpGssapiAuth.cpp:124: error: `min_stat' undeclared (first use this
   function)
nsHttpGssapiAuth.cpp:125: error: `GSS_C_MECH_CODE' undeclared (first use
this
   function)
nsHttpGssapiAuth.cpp:128: error: `status2_string' undeclared (first use
this
   function)
nsHttpGssapiAuth.cpp:131: error: `GSS_ERROR' undeclared (first use this
   function)
nsHttpGssapiAuth.cpp: At global scope:
nsHttpGssapiAuth.cpp:161: error: syntax error before `)' token
nsHttpGssapiAuth.cpp:163: error: ISO C++ forbids defining types within
return
   type
nsHttpGssapiAuth.cpp:163: error: syntax error before `;' token
nsHttpGssapiAuth.cpp: In constructor `
   nsGssapiContinuationState::nsGssapiContinuationState()':
nsHttpGssapiAuth.cpp:170: error: `OM_uint32' undeclared (first use this
   function)
nsHttpGssapiAuth.cpp:170: error: syntax error before `,' token
nsHttpGssapiAuth.cpp:171: error: `gss_OID_set' undeclared (first use
this
   function)
nsHttpGssapiAuth.cpp:172: error: `gss_OID' undeclared (first use this
function)
nsHttpGssapiAuth.cpp:174: error: ISO C++ forbids declaration of
`gss_OID_desc'
   with no type
nsHttpGssapiAuth.cpp:174: error: syntax error before `=' token
nsHttpGssapiAuth.cpp:173: warning: unused variable `unsigned int i'
nsHttpGssapiAuth.cpp:174: warning: unused variable `int gss_OID_desc'
nsHttpGssapiAuth.cpp: At global scope:
nsHttpGssapiAuth.cpp:176: error: syntax error before `=' token
nsHttpGssapiAuth.cpp:179: error: ISO C++ forbids declaration of `mCtx'
with no
   type
nsHttpGssapiAuth.cpp:179: error: `GSS_C_NO_CONTEXT' was not declared in
this
   scope
nsHttpGssapiAuth.cpp:180: error: ISO C++ forbids declaration of
`mech_oid' with
   no type
nsHttpGssapiAuth.cpp:180: error: `gss_krb5_mech_oid_desc' was not
declared in
   this scope
nsHttpGssapiAuth.cpp:194: error: ISO C++ forbids declaration of
`majstat' with
   no type
nsHttpGssapiAuth.cpp:194: error: `minstat' was not declared in this
scope
nsHttpGssapiAuth.cpp:194: error: `mech_set' was not declared in this
scope
nsHttpGssapiAuth.cpp:194: error: `gss_indicate_mechs' was not declared
in this
   scope
nsHttpGssapiAuth.cpp:195: error: syntax error before `if'
nsHttpGssapiAuth.cpp:198: error: `mech_set' was not declared in this
scope
nsHttpGssapiAuth.cpp:198: error: syntax error before `;' token
nsHttpGssapiAuth.cpp:198: error: syntax error before `++' token
nsHttpGssapiAuth.cpp:204: error: ISO C++ forbids declaration of
`mech_oid' with
   no type
nsHttpGssapiAuth.cpp:204: error: redefinition of `int mech_oid'
nsHttpGssapiAuth.cpp:180: error: `int mech_oid' previously defined here
nsHttpGssapiAuth.cpp:204: error: `gss_spnego_mech_oid_desc' was not
declared in
   this scope
nsHttpGssapiAuth.cpp:205: error: syntax error before `break'
nsHttpGssapiAuth.cpp:208: error: `minstat' was not declared in this
scope
nsHttpGssapiAuth.cpp:208: error: `mech_set' was not declared in this
scope
nsHttpGssapiAuth.cpp:208: error: ISO C++ forbids declaration of `
   gss_release_oid_set' with no type
nsHttpGssapiAuth.cpp:208: error: initializer list being treated as
compound
   expression
nsHttpGssapiAuth.cpp:209: error: syntax error before `}' token
nsHttpGssapiAuth.cpp: In member function `void
   nsGssapiContinuationState::Reset()':
nsHttpGssapiAuth.cpp:214: error: `GSS_C_NO_CONTEXT' undeclared (first
use this
   function)
nsHttpGssapiAuth.cpp:215: error: `OM_uint32' undeclared (first use this
   function)
nsHttpGssapiAuth.cpp:215: error: syntax error before `;' token
nsHttpGssapiAuth.cpp:216: error: `minor_status' undeclared (first use
this
   function)
nsHttpGssapiAuth.cpp:216: error: `GSS_C_NO_BUFFER' undeclared (first use
this
   function)
nsHttpGssapiAuth.cpp:216: error: `gss_delete_sec_context' undeclared
(first use
   this function)
nsHttpGssapiAuth.cpp: In member function `virtual nsresult
   nsHttpGssapiAuth::GenerateCredentials(nsIHttpChannel*, const char*,
int,
   const PRUnichar*, const PRUnichar*, const PRUnichar*, nsISupports**,
   nsISupports**, char**)':
nsHttpGssapiAuth.cpp:313: error: `OM_uint32' undeclared (first use this
   function)
nsHttpGssapiAuth.cpp:313: error: syntax error before `,' token
nsHttpGssapiAuth.cpp:315: error: `gss_buffer_desc' undeclared (first use
this
   function)
nsHttpGssapiAuth.cpp:317: error: `gss_buffer_t' undeclared (first use
this
   function)
nsHttpGssapiAuth.cpp:318: error: `gss_name_t' undeclared (first use this
   function)
nsHttpGssapiAuth.cpp:340: error: `req_flags' undeclared (first use this
   function)
nsHttpGssapiAuth.cpp:340: error: `GSS_C_DELEG_FLAG' undeclared (first
use this
   function)
nsHttpGssapiAuth.cpp:361: error: `input_token' undeclared (first use
this
   function)
nsHttpGssapiAuth.cpp:364: error: `major_status' undeclared (first use
this
   function)
nsHttpGssapiAuth.cpp:369: error: `gss_nt_service_name' undeclared (first
use
   this function)
nsHttpGssapiAuth.cpp:371: error: `server' undeclared (first use this
function)
nsHttpGssapiAuth.cpp:371: error: `gss_import_name' undeclared (first use
this
   function)
nsHttpGssapiAuth.cpp:374: error: `GSS_ERROR' undeclared (first use this
   function)
nsHttpGssapiAuth.cpp:407: error: `in_token_ptr' undeclared (first use
this
   function)
nsHttpGssapiAuth.cpp:419: error: `GSS_C_NO_CREDENTIAL' undeclared (first
use
   this function)
nsHttpGssapiAuth.cpp:420: error: 'class nsGssapiContinuationState' has
no
   member named 'mCtx'
nsHttpGssapiAuth.cpp:422: error: `GetOID' undeclared (first use this
function)
nsHttpGssapiAuth.cpp:424: error: `GSS_C_INDEFINITE' undeclared (first
use this
   function)
nsHttpGssapiAuth.cpp:425: error: `GSS_C_NO_CHANNEL_BINDINGS' undeclared
(first
   use this function)
nsHttpGssapiAuth.cpp:428: error: `output_token' undeclared (first use
this
   function)
nsHttpGssapiAuth.cpp:430: error: `gss_init_sec_context' undeclared
(first use
   this function)
nsHttpGssapiAuth.cpp:434: error: `gss_release_name' undeclared (first
use this
   function)
nsHttpGssapiAuth.cpp:437: error: `gss_release_buffer' undeclared (first
use
   this function)
nsHttpGssapiAuth.cpp:440: error: `GSS_S_COMPLETE' undeclared (first use
this
   function)
nsHttpGssapiAuth.cpp:446: error: `GSS_S_CONTINUE_NEEDED' undeclared
(first use
   this function)
{standard input}: Assembler messages:
{standard input}:43: Error: symbol `mech_oid' is already defined
gmake[3]: *** [nsHttpGssapiAuth.o] Error 1




On Tue, 2004-10-05 at 09:12 +0200, Ivan Noris wrote:
> Hi,
> 
> I don't have Suse, but if you paste a few lines of the error, someone
> here may be ableto help you.
> 
> I guess the "crypto" option is for password manager.
> 
> > Is anyone able to build mozilla on SuSE with the --enable-crypto option.  My compile fails.
> > 
> > Is the crypto option needed?  What does it really do?
> 
> VIX
> -- 
>   Ing. Ivan Noris
>   System engineer, Business Global Systems, a.s.
>   info & public key: http://www.bgs.sk/people/noris
>   __________________________________________________________________
>   "Semper cautus - semper paratus - semper idem Vix."
> 




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]