[3645] in testers
Possible include conflict
daemon@ATHENA.MIT.EDU (Brad Thompson)
Sat Jun 20 01:35:10 1998
To: testers@MIT.EDU
Cc: yak@MIT.EDU
Date: Sat, 20 Jun 1998 01:35:00 EDT
From: Brad Thompson <yak@MIT.EDU>
I have noticed a possible include conflict between
/usr/athena/include/kerberosIV/k{rb,adm}.h on Athena 8.2 on solaris.
When both included, I get:
> gcc -I/usr/athena/include -I/usr/athena/include/kerberosIV -o foo-82
> foo.c
> In file included from /usr/include/sys/turnstile.h:12,
> from /usr/include/sys/t_lock.h:20,
> from /usr/include/sys/vnode.h:37,
> from /usr/include/sys/stream.h:21,
> from /usr/include/netinet/in.h:38,
> from foo.c:1:
> /mit/gnu/arch/sun4m_53/lib/gcc-lib/sparc-sun-solaris2.3/2.7.1/include/sys/param.h:175:
> warning: `NBBY' redefined
> /usr/include/sys/select.h:45: warning: this is the location of the
> previous definition
> In file included from /usr/include/sys/stream.h:26,
> from /usr/include/netinet/in.h:38,
> from foo.c:1:
> /usr/include/sys/model.h:32: #error "No DATAMODEL_NATIVE specified"
> *** Error code 1
> make: Fatal error: Command failed for target `foo82'
I did not actually narrow down which pattern of including caused the
trouble (though it is almost certainly not k{rb,adm}.h themselves. To
see this in action, look at /mit/yak/bug. "make foo81" on an athena
8.1 will compile, but "make foo82" on an athena 8.2 box will not.
yak