Subject: kern/5718: llc_input.c won't compile
To: None <gnats-bugs@gnats.netbsd.org>
From: Dave Huang <khym@bga.com>
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
>Last-Modified:
>Originator:     Dave Huang
>Organization:
Name: Dave Huang     |   Mammal, mammal / their names are called /
INet: khym@bga.com   |   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
>Environment:
	
System: NetBSD dahan.metonymy.com 1.3F NetBSD 1.3F (SPIFF) #230: Mon Jul 6 17:30:16 CDT 1998 khym@dahan.metonymy.com:/usr/src.local/sys/arch/i386/compile/SPIFF i386


>Description:
	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... ]

>How-To-Repeat:
	Compile a kernel with X.25, such as the i386 GENERIC.
>Fix:
	llc_var.h does an #if defined(LLC), so I guess it needs to
#include "opt_llc.h" someplace...
>Audit-Trail:
>Unformatted: