Subject: kern/5718: llc_input.c won't compile
To: None <>
From: Dave Huang <>
List: netbsd-bugs
Date: 07/06/1998 18:36:21
>Number:         5718
>Category:       kern
>Synopsis:       llc_input.c won't compile
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    kern-bug-people (Kernel Bug People)
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Jul  6 16:50:00 1998
>Originator:     Dave Huang
Name: Dave Huang     |   Mammal, mammal / their names are called /
INet:   |   they raise a paw / the bat, the cat /
FurryMUCK: Dahan     |   dolphin and dog / koala bear and hog -- TMBG
Dahan: Hani G Y+C 22 Y++ L+++ W- C++ T++ A+ E+ S++ V++ F- Q+++ P+ B+ PA+ PL++
>Release:        NetBSD-current as of July 6, 1998
System: NetBSD 1.3F NetBSD 1.3F (SPIFF) #230: Mon Jul 6 17:30:16 CDT 1998 i386

	llc_input.c fails to compile:
cc  -O2 -Werror -Wall -Wmissing-prototypes -Wstrict-prototypes -Wno-main -I. -I../../../../arch -I../../../.. -nostdinc -DSYSVMSG -DSYSVSEM -DSYSVSHM -DLKM -DDIAGNOSTIC -DCOMPAT_43 -DMAXUSERS=32 -D_KERNEL  -Di386  -c ../../../../netccitt/llc_input.c
cc1: warnings being treated as errors
../../../../netccitt/llc_input.c:75: warning: function declaration isn't a prototype
../../../../netccitt/llc_input.c: In function `llcintr':
../../../../netccitt/llc_input.c:92: `llcintrq' undeclared (first use this function)
[ more of the same... ]

	Compile a kernel with X.25, such as the i386 GENERIC.
	llc_var.h does an #if defined(LLC), so I guess it needs to
#include "opt_llc.h" someplace...