cpages/yafc — Issue #4: Compilation issue: KRB5KDC_ERR_S_PRINCIPAL_UNKNOWN undeclared
Author: TheJosh
Created: 2011-11-28 02:41:49+00:00
State: open

When I try to compile the git sources, I get an error.

```
make all-recursive
make[1]: Entering directory `/home/josh/git/yafc'
Making all in doc
make[2]: Entering directory `/home/josh/git/yafc/doc'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/josh/git/yafc/doc'
Making all in lib
make[2]: Entering directory `/home/josh/git/yafc/lib'
gcc -DHAVE_CONFIG_H -I. -I.. -I.. -I. -I../src -I../src/ftp -I../src/libmhe -g -O2 -MT gssapi.o -MD -MP -MF .deps/gssapi.Tpo -c -o gssapi.o gssapi.c
gssapi.c:44:23: error: krb5_err.h: No such file or directory
gssapi.c: In function ‘gss_auth’:
gssapi.c:289: error: ‘KRB5KDC_ERR_S_PRINCIPAL_UNKNOWN’ undeclared (first use in this function)
gssapi.c:289: error: (Each undeclared identifier is reported only once
gssapi.c:289: error: for each function it appears in.)
make[2]: *** [gssapi.o] Error 1
make[2]: Leaving directory `/home/josh/git/yafc/lib'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/josh/git/yafc'
make: *** [all] Error 2
```

Ubuntu 10.04

configure results:
```
compiler ....................... gcc -g -O2
preprocessor flags .............
linker flags ...................
libraries ...................... -lgssapi_krb5 -lkrb5 -lk5crypto -lcom_err -lreadline -lncurses
installation prefix ............ /usr/local
using Kerberos 4 ...............
using Kerberos 5 ............... yes
using readline ................. yes, version 4.2 or higher
```