Subject: Re: CVS commit: syssrc/sys/sys
To: None <matt@netbsd.org>
From: Rene Hexel <rh@netbsd.org>
List: source-changes
Date: 12/02/2002 12:36:38
On Monday, December 2, 2002, at 07:24 AM, Matt Thomas wrote:
>
> Module Name: syssrc
> Committed By: matt
> Date: Sun Dec 1 21:24:29 UTC 2002
>
> Modified Files:
> syssrc/sys/sys: ttydefaults.h
>
> Log Message:
> If TTYDEFCHARS is not defined, define ttydefchars as an extern so the
> variable is defined, if not instantiated.
This breaks building in lib/libcompat:
...
CC=/usr/src/tools/obj/tools.NetBSD-1.6K-i386/bin/i386--netbsdelf-gcc
/usr/src/tools/obj/tools.NetBSD-1.6K-i386/bin/i386--netbsdelf-lint
-chapbxzF -d /usr/dest/usr/include -DLIBC_SCCS -DSYSLIBC_SCCS
-D__LIBCOMPAT_SOURCE__ -i /usr/src/lib/libcompat/4.1/gtty.c
/usr/dest/usr/include/sys/ttydefaults.h(99): syntax error [249]
Even without lint, the compiler chokes on missing definitions of
NCCS and cc_t ...
Cheers
,
Rene