[530] in Kerberos-V5-bugs

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

K5.4 build error

daemon@ATHENA.MIT.EDU (Joe Ramus)
Fri Jun 24 18:36:47 1994

Date: Fri, 24 Jun 94 15:36:33 PDT
From: ramus@nersc.gov (Joe Ramus)
To: krb5-bugs@MIT.EDU
Cc: auth-pilot@es.net


This error happened on SunOS 4.1.2 using the Sun Ansi C compiler.

The function strdup is declared in  
    /usr/include/string.h
and it is also declared in
    ./../../../include/krb5/ext-proto.h

cc -g -I./../../../include -I../../../include -I./../../../isode/h -I../../../isode/h 
      -DPEPSY_LINKABLE_FUNCS -I.  -target sun4 -c  encode.c
"./../../../include/krb5/ext-proto.h", line 54: identifier redeclared: strdup
*** Error code 2
make: Fatal error: Command failed for target `encode.o'
Current working directory  /projects/kerberos/k5.4/sun4/lib/krb5/asn.1
*** Error code 1

----------------------------------------------------------------
| Joe Ramus  NERSC Livermore  (510) 423-8917   ramus@nersc.gov |
----------------------------------------------------------------

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