From owner-freebsd-current Fri May 26 21:47:57 2000 Delivered-To: freebsd-current@freebsd.org Received: from kbtfw.kubota.co.jp (kbtfw.kubota.co.jp [133.253.102.202]) by hub.freebsd.org (Postfix) with ESMTP id 941FF37B752 for ; Fri, 26 May 2000 21:47:50 -0700 (PDT) (envelope-from haro@tk.kubota.co.jp) Received: by kbtfw.kubota.co.jp; id NAA00573; Sat, 27 May 2000 13:47:47 +0900 (JST) Received: from unknown(133.253.122.1) by kbtfw.kubota.co.jp via smap (V4.2) id xma000537; Sat, 27 May 00 13:47:18 +0900 Received: from jkpc15.tk.kubota.co.jp ([192.168.7.250]) by kbtmx.eto.kubota.co.jp (8.9.3+3.2W/3.7W) with ESMTP id NAA07044 for ; Sat, 27 May 2000 13:47:17 +0900 (JST) Received: from localhost (localhost.ttr.kubota.co.jp [127.0.0.1]) by jkpc15.tk.kubota.co.jp (8.9.3/3.7W-02/21/99) with ESMTP id NAA56961 for ; Sat, 27 May 2000 13:42:26 +0900 (JST) To: current@freebsd.org Subject: kernel build error due to dependency on /usr/include? X-Mailer: Mew version 1.94.1 on Emacs 19.34 / Mule 2.3 (SUETSUMUHANA) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-Id: <20000527134225X.haro@tk.kubota.co.jp> Date: Sat, 27 May 2000 13:42:25 +0900 From: haro@tk.kubota.co.jp (Munehiro Matsuda) X-Dispatcher: imput version 990905(IM130) Lines: 59 Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Hi all, I got following kernel build error. When I run 'make includes', the error has gone away. Why does kernel build process depend on installed system files, such as /usr/include? Thank you, Haro --------------------------------------------------------------------------- jkpc15-haro[43]cd ../../compile/JKPC15 jkpc15-haro[44]make depend cc -c -O -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -fformat-extensions -ansi -g -nostdinc -I- -I. -I../.. -I../../../include -D_KERNEL -include opt_global.h -elf -mpreferred-stack-boundary=2 ../../i386/i386/genassym.c genassym genassym.o >assym.s make -f ../../dev/aic7xxx/Makefile MAKESRCPATH=../../dev/aic7xxx Warning: Object directory not changed from original /usr/src/sys/compile/JKPC15 lex -t ../../dev/aic7xxx/aicasm_scan.l > aicasm_scan.c cc -O -pipe -I/usr/include -I. -c aicasm_scan.c ^^^^^^^^^^^^^^^ In file included from ../../dev/aic7xxx/aicasm_scan.l:40: ../../dev/aic7xxx/aicasm.h:44: syntax error before `path_entry' ../../dev/aic7xxx/aicasm.h:53: syntax error before `path_entry' In file included from ../../dev/aic7xxx/aicasm_scan.l:41: ../../dev/aic7xxx/aicasm_symbol.h:61: syntax error before `symbol_node' ../../dev/aic7xxx/aicasm_symbol.h:109: syntax error before `symbol_node' ../../dev/aic7xxx/aicasm_symbol.h:126: syntax error before `scope' ../../dev/aic7xxx/aicasm_symbol.h:127: syntax error before `scope' ../../dev/aic7xxx/aicasm_symbol.h:128: syntax error before `scope' ../../dev/aic7xxx/aicasm_symbol.h:137: syntax error before `scope' ../../dev/aic7xxx/aicasm_symbol.h:138: syntax error before `scope' ../../dev/aic7xxx/aicasm_scan.l:203: syntax error before `include' ../../dev/aic7xxx/aicasm_scan.l:206: syntax error before `include' ../../dev/aic7xxx/aicasm_scan.l: In function `include_file': ../../dev/aic7xxx/aicasm_scan.l:223: structure has no member named `slh_first' ../../dev/aic7xxx/aicasm_scan.l:225: structure has no member named `sle_next' ../../dev/aic7xxx/aicasm_scan.l:256: structure has no member named `sle_next' ../../dev/aic7xxx/aicasm_scan.l:256: structure has no member named `slh_first' ../../dev/aic7xxx/aicasm_scan.l:256: structure has no member named `slh_first' ../../dev/aic7xxx/aicasm_scan.l: In function `yywrap': ../../dev/aic7xxx/aicasm_scan.l:273: structure has no member named `slh_first' ../../dev/aic7xxx/aicasm_scan.l:278: structure has no member named `slh_first' ../../dev/aic7xxx/aicasm_scan.l:278: structure has no member named `slh_first' *** Error code 1 Stop in /usr/src/sys/compile/JKPC15. *** Error code 1 Stop in /usr/src/sys/compile/JKPC15. jkpc15-haro[45] =------------------------------------------------------------------------------ _ _ Munehiro (haro) Matsuda -|- /_\ |_|_| Office of Business Planning & Development, Kubota Corp. /|\ |_| |_|_| 1-3 Nihonbashi-Muromachi 3-Chome Chuo-ku Tokyo 103, Japan Tel: +81-3-3245-3318 Fax: +81-3-3245-3315 Email: haro@tk.kubota.co.jp To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message