[15532] in Kerberos_V5_Development

home help back first fref pref prev next nref lref last post

"ccbase.c", line 458.5: 1506-046 (S) Syntax error.

daemon@ATHENA.MIT.EDU (phoebus phoebus)
Thu Feb 25 09:22:18 2010

Message-ID: <884089.64229.qm@web23803.mail.ird.yahoo.com>
Date: Thu, 25 Feb 2010 14:22:14 +0000 (GMT)
From: phoebus phoebus <frphoebus@yahoo.fr>
To: krbdev@mit.edu
MIME-Version: 1.0
Content-Type: text/plain; charset="iso-8859-1"
Errors-To: krbdev-bounces@mit.edu
Content-Transfer-Encoding: 8bit

Hi  all,

I'm trying to build Kerberos on AIX 5L.
Environment:
OS: AIX 5.3 TL 10 SP1
Compiler: IBM XL C/C++ Enterprise Edition for AIX v9.0
Kerberos source: krb5-1.7.1
 
The configure paramters are:
    export CC=cc
    ./configure --prefix=/usr/local/kerberos --sysconfdir=/usr/local/etc/kerberos \
                    --with-cflags="-O -D__STR31__ -qmaxmem=-1"

The make failed with this output.<quote>
making all in lib/krb5/ccache...
        cc   -I../../../include -I./../../../include -I./ccapi   -DKRB5_DEPRECATED=1   -g -qhalt=e -O -D_THREAD_SAFE    -c ccbase.c
"ccbase.c", line 458.5: 1506-046 (S) Syntax error.
"ccbase.c", line 460.9: 1506-046 (S) Syntax error.
"ccbase.c", line 460.12: 1506-045 (S) Undeclared identifier acquire.
"ccbase.c", line 465.5: 1506-046 (S) Syntax error.
"ccbase.c", line 465.8: 1506-045 (S) Undeclared identifier already.
"ccbase.c", line 566.5: 1506-046 (S) Syntax error.
"ccbase.c", line 566.8: 1506-045 (S) Undeclared identifier unlock.
"ccbase.c", line 605.5: 1506-046 (S) Syntax error.
"ccbase.c", line 605.8: 1506-045 (S) Undeclared identifier unlock.
make: 1254-004 The error code from the last command is 1.

Stop.
make: 1254-004 The error code from the last command is 1.

Stop.
make: 1254-004 The error code from the last command is 1.

Stop.
make: 1254-004 The error code from the last command is 1.

Stop.
</quote>

I do't understand why the file ./lib/krb5/ccache/ccbase.c have erros in this code section:

<quote>
+453  krb5_error_code
  +454  k5_cc_mutex_lock(krb5_context context, k5_cc_mutex *m)
  +455  {
  +456      krb5_error_code ret = 0;
  +457
  +458      // not locked or already locked by another context
  +459      if (m->owner != context) {
  +460          // acquire lock, blocking until available
  +461          ret = k5_mutex_lock(&m->lock);
  +462          m->owner = context;
  +463          m->refcount = 1;
  +464      }
  +465      // already locked by this context, just increase refcount
  +466      else {
  +467          m->refcount++;
  +468      }
  +469      return ret;
  +470  }
</quote>

Thanks for your feedback and advices.

Regards,
Frphoebus


      
_______________________________________________
krbdev mailing list             krbdev@mit.edu
https://mailman.mit.edu/mailman/listinfo/krbdev


home help back first fref pref prev next nref lref last post