Subject: Re: compiling from sources just supped...
To: None <kurt.schreiner@uni-mainz.de>
From: Jason Thorpe <thorpej@nas.nasa.gov>
List: current-users
Date: 01/28/1999 13:31:18
On Thu, 28 Jan 1999 18:19:43 +0100 
 ks@betty.ub.uni-mainz.de wrote:

 > cc -O2 -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 -DFLOA
  TING_POINT -c /usr/src/lib/libc/gen/disklabel.c
 > In file included from /usr/include/sys/disklabel.h:48,
 >                  from /usr/src/lib/libc/gen/disklabel.c:49:
 > /usr/include/machine/disklabel.h:42: sys/disklabel_mbr.h: No such file or directory
 > *** Error code 1

did you run "make includes"?

 > and this one on sparc:
 > 
 > all ===> libc
 > cc -O2 -DALL_STATE  -Wall -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Werror   -D_LIBC -DNLS -DYP -DHESIOD -DLIBC_SCCS -DSYSLIBC_SCCS -D_REENTRANT -I/mnt/src/lib/libc/include -D__DBINTERFACE_PRIVATE -DRESOLVSORT -I. -DPOSIX_MISTAKE -DFLOA
  TING_POINT -c nslexer.c
 > cc1: warnings being treated as errors
 > nslexer.c: In function `_nsyylex':
 > nslexer.c:709: warning: label `find_rule' defined but not used
 > nslexer.c: At top level:
 > nslexer.c:1679: warning: `yy_flex_realloc' defined but not used
 > *** Error code 1

Build and install a new lex, first.

        -- Jason R. Thorpe <thorpej@nas.nasa.gov>