I'm running an older version of FreeBSD - 4.11 - and after updating the ports collection I've begun to compile courier from ports.

However, in building the courier-authlib, I'm getting the following:

cc -DHAVE_CONFIG_H -I. -I. -I.   -I/usr/local/include  -O -pipe  -Wall -I.. -I./.. -c authmksock.c
Linking authmksock
source='authdaemond.c' object='authdaemond.o' libtool=no \
DEPDIR=.deps depmode=gcc /bin/sh ./depcomp \
cc -DHAVE_CONFIG_H -I. -I. -I.   -I/usr/local/include  -O -pipe  -Wall -I.. -I./.. -c authdaemond.c
authdaemond.c: In function `initmodules':
authdaemond.c:105: syntax error before `pt'
authdaemond.c:132: `pt' undeclared (first use in this function)
authdaemond.c:132: (Each undeclared identifier is reported only once
authdaemond.c:132: for each function it appears in.)
authdaemond.c: In function `pre':
authdaemond.c:512: warning: value computed is not used
authdaemond.c:523: warning: value computed is not used
authdaemond.c :534: warning: value computed is not used
authdaemond.c:538: warning: value computed is not used
authdaemond.c:541: warning: value computed is not used
authdaemond.c: In function `enumerate':
authdaemond.c:639: warning: value computed is not used
authdaemond.c: In function `auth':
authdaemond.c:748: warning: value computed is not used
authdaemond.c:755: warning: value computed is not used
authdaemond.c:769: warning: value computed is not used
authdaemond.c :773: warning: value computed is not used
authdaemond.c:775: warning: value computed is not used
gmake[2]: *** [authdaemond.o] Error 1
gmake[2]: Leaving directory `/usr/ports/security/courier-authlib-base/work/courier- authlib-0.58'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/usr/ports/security/courier-authlib-base/work/courier-authlib-0.58'
gmake: *** [all] Error 2

There's a variable/pointer declaration on line 105 of authdemond.c that says it doesn't know what the lt_ptr type is, basically.  Am I missing some newer version of a header file or has anyone else seen this error?

Its authlib version 0.58, so I assume its my system and not authlib.  I'll patch if it anyone know which header lt_ptr is defined in.

Thanks,

D

Reply via email to