Compile failure for extensions/negotiateauth/nsHttpGssapiAuth.cpp

RESOLVED FIXED

Status

()

Core
Networking
--
major
RESOLVED FIXED
14 years ago
12 years ago

People

(Reporter: Jim Brown, Assigned: Darin Fisher)

Tracking

Trunk
DEC
OSF/1
Points:
---
Bug Flags:
blocking1.7b -
blocking1.7 -

Firefox Tracking Flags

(Not tracked)

Details

(Reporter)

Description

14 years ago
User-Agent:       Mozilla/5.0 (X11; U; OSF1 alpha; en-US; rv:1.7b) Gecko/20040313
Build Identifier: Mozilla/5.0 (X11; U; OSF1 alpha; en-US; rv:1.7b) Gecko/20040313

Source file mozilla/extensions/negotiateauth/nsHttpGssapiAuth.cpp fails to
compile.  I am using C++ V6.5 on Tru64 V5.1B + patchkit 3.
2004-03-16 was my last successful trunk build.

The compiler error messages are:

cxx: Error: /usr/include/gssapi/compat.h, line 293: this declaration has no
          storage class or type specifier
        error: the system type is undefined
--------^
cxx: Error: /usr/include/gssapi/compat.h, line 293: expected a ";"
        error: the system type is undefined
-------------^
cxx: Warning: /usr/include/gssapi/iso/oid.h, line 58: parsing restarts here
          after previous syntax error
    FAR* cs_mutable_oid_t;
-------------------------^
cxx: Error: /usr/include/gssapi/iso/oid.h, line 64: identifier
          "cs_mutable_oid_desc" is undefined
    cs_mutable_oid_desc FAR*    elem;
----^
cxx: Error: /usr/include/gssapi/iso/oid.h, line 75: identifier
          "cs_mutable_oid_desc" is undefined
    typedef cs_mutable_oid_desc cs_oid_desc;
------------^
cxx: Error: /usr/include/gssapi/iso/oid.h, line 76: identifier
          "cs_mutable_oid_t" is undefined
    typedef cs_mutable_oid_t    cs_oid_t;
------------^
cxx: Error: nsHttpGssapiAuth.cpp, line 195: class "_cs_mutable_oid_set_desc"
          has no member "count"
    for (i=0; i<mech_set->count && !mech_found; i++) {
--------------------------^
cxx: Error: nsHttpGssapiAuth.cpp, line 196: class "_cs_mutable_oid_set_desc"
          has no member "elements"
        item = &mech_set->elements[i];
--------------------------^
cxx: Error: nsHttpGssapiAuth.cpp, line 366: identifier "gss_nt_service_name"
          is undefined
                                   gss_nt_service_name,
-----------------------------------^
cxx: Info: 8 errors detected in the compilation of "nsHttpGssapiAuth.cpp".


Reproducible: Always
Steps to Reproduce:
1. Try to build mozilla from the trunk
2.
3.

Updated

14 years ago
Status: UNCONFIRMED → NEW
Ever confirmed: true
Flags: blocking1.7b?
(Assignee)

Comment 1

14 years ago
If this is blocking OSF/1 builds, then I'd suggest disabling the negotiateauth
extension.  You can do so by passing:

  --enable-extension=default,-negotiateauth

to configure
Severity: blocker → major
Component: Browser-General → Networking
(Assignee)

Comment 2

14 years ago
-> networking
Assignee: general → darin
QA Contact: general → benc
(Reporter)

Comment 3

14 years ago
I put --enable-extension=default,-negotiateauth in .mozconfig and I still get
the same build failure on nsHttpGssapiAuth.cpp for DEC/OSF1 (Tru64).  I have
these options in .mozconfig.  Did I put -enable-extension=default,-negotiateauth
in the wrong place in .mozconfig?  Should it be first?

./configure
Adding configure options from ./.mozconfig:
  --enable-crypto
  --disable-debug
  --enable-optimize=-g
  --disable-gnomevfs
  --enable-extension=default,-negotiateauth
creating cache ./config.cache
(Assignee)

Comment 4

14 years ago
Jim, I'm sorry.. I meant: "--enable-extensions=default,-negotiateauth"

NOTE: the extra "s"

Updated

14 years ago
Flags: blocking1.7b?
Flags: blocking1.7b-
Flags: blocking1.7?

Comment 5

14 years ago
problem exists for FreeBSD4.8 build also.

Comment 6

14 years ago
Could some post what versions of kerberos you are having problems with?  

Heimdal, MIT, other? and the version.  Chances are the problems are different 
between the two OS's mentioned, but we won't know without this information.

Thanks!

Comment 7

14 years ago
The OSF build is most likely trying to compile against DCE's GSSAPI interface 
rather than MIT or Heimdal's.  Mozilla does not currently support DCE's rather 
non-standard GSSAPI implementation in the patch to enable this feature.  If you 
want/need Kerberos support, it's recommened that you install a version of MIT 
or Heimdal kerberos on the box (or locate where it's installed if its already 
there) and use the --with-gssapi=path_to_install option in .mozconfig to use it 
instead.

Updated

14 years ago
Flags: blocking1.7? → blocking1.7-

Comment 8

12 years ago
Negotiateauth has now been changed to use an internal version of the gssapi.h
header file, so any compilation problems with gssapi.h should be a thing of the
past. The changes were made as part of the patch for bug #280792.
Status: NEW → RESOLVED
Last Resolved: 12 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.