Subject: build error, 19990124
To: None <current-users@netbsd.org>
From: Chris Jones <cjones@rupert.honors.montana.edu>
List: current-users
Date: 01/25/1999 12:48:53
I've already updated by lex (and libl), and removed nslexer.c. So
what am I missing?
cc -O -DALL_STATE -Wall -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Werror -D_LIBC -DNLS -DYP -DHESIOD -DLIBC_SCCS -DSYSLIBC_SCCS -D_REENTRANT -I/usr/src/lib/libc/include -D__DBINTERFACE_PRIVATE -DRESOLVSORT -I. -DPOSIX_MISTAKE -DFLOATING_POINT -c nslexer.c
cc1: warnings being treated as errors
lex.yy.c:617: warning: no previous prototype for `yylex'
/usr/src/lib/libc/net/nslexer.l: In function `yylex':
/usr/src/lib/libc/net/nslexer.l:87: `_nsyylval' undeclared (first use this function)
/usr/src/lib/libc/net/nslexer.l:87: (Each undeclared identifier is reported only once
/usr/src/lib/libc/net/nslexer.l:87: for each function it appears in.)
/usr/src/lib/libc/net/nslexer.l: At top level:
/usr/src/lib/libc/net/nslexer.l:100: warning: function declaration isn't a prototype
*** Error code 1
Stop.
Chris
--
-----------------------------------------------------cjones@math.montana.edu
Chris Jones cjones@honors.montana.edu
Mad scientist at large cjones@nervana.montana.edu
"Is this going to be a stand-up programming session, sir, or another bug hunt?"