[6952] in Kerberos

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

Need help on build kerberos 5.5 on aix

daemon@ATHENA.MIT.EDU (Hao Wang)
Tue Mar 26 14:22:31 1996

Date: Tue, 26 Mar 1996 11:56:25 -0700
From: hwang@dssppc3.corp.mot.com (Hao Wang)
To: kerberos@MIT.EDU

Hi There,

I had some troubles in compiling kerberos V5B5 on AIX 4.1.4 using gcc 2.7.0
hope you can help.

I ran the configure script under ~kerberos/src directory and got the following
error message and stopped.

checking for working const... (cached) no
checking size of short... configure: error: can not run test program while 
 cross compiling
configure: error: ./configure failed for krb5
configure: error: ./configure failed for include

So I modified the configure file under ./src/include/krb5 directory and set 
no to cross compiling . This time the configure ran ok. However, when I ran 
the gnu make, it failed with the following message:

making in lib/krb5/asn.1...
make[3]: Entering directory `/usr/local/krb5/src/lib/krb5/asn.1'
/usr/local/bin/gcc  -I./../../../include -I../../../include -I./../../../include/krb5 -I../../../include/krb5 -I./../../../include -I../../../include -I./../../../include/krb5 -I../../../include/krb5  -c asn1_decode.c -o asn1_decode.o
In file included from ./../../../include/krb5/ext-proto.h:32,
                 from ./../../../include/k5-int.h:25,
                 from asn1_decode.h:27,
                 from asn1_decode.c:26:
/usr/local/lib/gcc-lib/rs6000-ibm-aix4.1.2/2.7.0/include/stdlib.h:186: warning: conflicting types for built-in function `abs'
In file included from ./../../../include/krb5/ext-proto.h:32,
                 from ./../../../include/k5-int.h:25,
                 from asn1_decode.h:27,
                 from asn1_decode.c:26:
/usr/local/lib/gcc-lib/rs6000-ibm-aix4.1.2/2.7.0/include/stdlib.h:462: conflicting types for `getopt'
/usr/local/lib/gcc-lib/rs6000-ibm-aix4.1.2/2.7.0/include/stdio.h:362: previous declaration of `getopt'
In file included from ./../../../include/krb5/ext-proto.h:47,
                 from ./../../../include/k5-int.h:25,
                 from asn1_decode.h:27,
                 from asn1_decode.c:26:
/usr/local/lib/gcc-lib/rs6000-ibm-aix4.1.2/2.7.0/include/string.h:74: warning: conflicting types for built-in function `memcpy'
/usr/local/lib/gcc-lib/rs6000-ibm-aix4.1.2/2.7.0/include/string.h:106: warning: conflicting types for built-in function `strcpy'
/usr/local/lib/gcc-lib/rs6000-ibm-aix4.1.2/2.7.0/include/string.h:110: warning: conflicting types for built-in function `memcmp'
/usr/local/lib/gcc-lib/rs6000-ibm-aix4.1.2/2.7.0/include/string.h:111: warning: conflicting types for built-in function `strcmp'
asn1_decode.c:53: warning: `struct tm' declared inside parameter list
asn1_decode.c:53: warning: its scope is only this definition or declaration,
asn1_decode.c:53: warning: which is probably not what you want.
asn1_decode.c: In function `asn1_decode_generaltime':
asn1_decode.c:175: storage size of `ts' isn't known
make[3]: *** [asn1_decode.o] Error 1
make[3]: Leaving directory `/usr/local/krb5/src/lib/krb5/asn.1'
make[2]: *** [all] Error 1
make[2]: Leaving directory `/usr/local/krb5/src/lib/krb5'
make[1]: *** [all-unix-subdirs] Error 1
make[1]: Leaving directory `/usr/local/krb5/src/lib'
make: *** [all] Error 1

Does anyone successfully compiled kerberos V5B5 on aix 4.1.4? What I'm missing?
Thanks for the help in advance.

Regards,
Hao Wang.

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