[comp.protocols.kerberos] Kerberos strcasecmp compile problem

dinah@nicolle.iaims.bcm.tmc.edu (Dinah Anderson) (06/28/90)

I am trying to compile kerberos for a Sun 4 running SunOS 4.0.1. I am getting
the following error:

### Making all in /export/wilkins4/mit/kerberos/obj/appl/bsd
cc -O -I../.././include  -DBSD42 -DATHENA_COMPAT -DATHENA -DKERBEROS
-DVFS   -DN
DBM   -sun4 -c  rsh.c
cc -O -I../.././include  -DBSD42 -DATHENA_COMPAT -DATHENA -DKERBEROS
-DVFS   -DN
DBM  -o rsh rsh.o kcmd.o ../.././lib/krb/libkrb.a ../.././lib/des/libdes.a
ld: Undefined symbol
   _strcasecmp
*** Error code 1
make: Fatal error: Command failed for target `rsh'
Current working directory /export/wilkins4/mit/kerberos/obj/appl/bsd
*** Error code 1

Has anyone else run across this and how did you resolve the problem? I got
rsh.c to make by including strings.h, but I think there is probably something
I can do on a global level since this problem is occurring in several places.

Dinah Anderson					 Manager of Systems Integration
Baylor College of Medicine	                                 Houston, Texas
internet: dinah@bcm.tmc.edu                   uucp: {rutgers,mailrus}!bcm!dinah

jtkohl@ATHENA.MIT.EDU (John T Kohl) (06/28/90)

From src/util/imake.includes/config.Imakefile:

/*
 * Define NEED_STRCASECMP if you don't have strcasecmp() in your libc.
 * (likely for older 4.3 systems and pre-4.3 systems)
 */
/* #define NEED_STRCASECMP */