[27731] in Kerberos

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

Using gcc to compile KRB5 1.6 on AIX 5.3

daemon@ATHENA.MIT.EDU (Park_Richard@blm.gov)
Wed May 2 16:33:42 2007

To: kerberos@mit.edu
Message-ID: <OFCF610690.278E15C3-ON872572CF.006CC2E9-872572CF.006DED7F@blm.gov>
From: Park_Richard@blm.gov
Date: Wed, 2 May 2007 14:00:42 -0600
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Errors-To: kerberos-bounces@mit.edu


I apologize in advance for my ignorance.

I'm getting the following error when I "make" krb5 1.6 on AIX 5.3:

###########snip###################

        gcc -L../../../lib -Wl,-blibpath:/usr/local/lib::/usr/lib:/lib -g
-O2 -W                                                              all
-Wmissing-prototypes -Wcast-qual  -Wcast-align -Wconversion -Wshadow
-pedant                                                              ic
-D_THREAD_SAFE  -L-brtl -o client client.o rpc_test_clnt.o  -lgssrpc
-lgssapi                                                              _krb5
-lkrb5 -lk5crypto -lcom_err -lkrb5support  -lpthreads
ld: 0706-006 Cannot find or open library file: -l k5crypto
        ld:open(): A file or directory in the path name does not exist.
ld: 0706-006 Cannot find or open library file: -l com_err
        ld:open(): A file or directory in the path name does not exist.
ld: 0706-006 Cannot find or open library file: -l krb5support
        ld:open(): A file or directory in the path name does not exist.
collect2: ld returned 255 exit status
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.

###########snip###################

I note that Lamar Saxon had a similar problem using xlc.  I tried the fix
that Phil Pishioneri suggested in
http://mailman.mit.edu/pipermail/kerberos/2007-February/011234.html which
was to run configure as:

./configure --without-krb4 --prefix=...  CC=cc LDFLAGS=-brtl

When I try that using gcc I get the error:

# ./configure --without-krb4 CC=gcc LDFLAGS=-brtl

configure: creating cache ./config.cache
checking for gcc... gcc
checking for C compiler default output file name... configure: error: C
compiler cannot create executables
See `config.log' for more details.

I've tried various combinations and I still get the same error.  What am I
missing?


________________________________________________
Kerberos mailing list           Kerberos@mit.edu
https://mailman.mit.edu/mailman/listinfo/kerberos

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