From owner-FreeBSD-users-jp@jp.FreeBSD.org Fri Dec 14 09:39:17 2012
Received: (from daemon@localhost)
	by castle.jp.FreeBSD.org (8.11.6p2+3.4W/8.11.3) id qBE0dHc19060;
	Fri, 14 Dec 2012 09:39:17 +0900 (JST)
	(envelope-from owner-FreeBSD-users-jp@jp.FreeBSD.org)
Received: from mgdnp2.nw.wakwak.com (mgdnp2.nw.wakwak.com [219.103.130.152])
	by castle.jp.FreeBSD.org (8.11.6p2+3.4W/8.11.3) with ESMTP/inet id qBE0dH319055
	for <FreeBSD-users-jp@jp.FreeBSD.org>; Fri, 14 Dec 2012 09:39:17 +0900 (JST)
	(envelope-from md440@luna.wak2.jp)
Received: from vckyb1.nw.wakwak.com (vckyb1.nw.wakwak.com [211.9.230.144])
	by mgdnp2.nw.wakwak.com (8.14.3/8.14.3/2010-03-11) with SMTP id qBE0d9F8016560
	for <FreeBSD-users-jp@jp.FreeBSD.org>; Fri, 14 Dec 2012 09:39:11 +0900 (JST)
	(envelope-from md440@luna.wak2.jp)
Received: from za.wakwak.com (za.wakwak.com [211.9.230.118])
	by vckyb1.nw.wakwak.com (Postfix) with ESMTP id E1FF2D0035
	for <FreeBSD-users-jp@jp.FreeBSD.org>; Fri, 14 Dec 2012 09:39:08 +0900 (JST)
Received: from localhost (g158.124-45-134.ppp.wakwak.ne.jp [124.45.134.158])
	(pbs=3lxle8)
	by za.wakwak.com (8.14.5/8.14.5/2011-12-13) with ESMTP/inet id qBE0d6Jg095567
	for <FreeBSD-users-jp@jp.FreeBSD.org>; Fri, 14 Dec 2012 09:39:08 +0900 (JST)
	(envelope-from md440@luna.wak2.jp)
Message-ID: <86y5h1v55f.wl%md440@luna.wak2.jp>
From: "Dobashi.M"<md440@luna.wak2.jp>
To: FreeBSD-users-jp@jp.FreeBSD.org
In-Reply-To: <20121213.190301.194225951.oniuda@oni.gr.jp>
References: <20121213.190301.194225951.oniuda@oni.gr.jp>
User-Agent: Wanderlust/2.14.0 (Africa) SEMI/1.14.6 (Maruoka) FLIM/1.14.9
 (=?ISO-8859-4?Q?Goj=F2?=) APEL/10.6 MULE XEmacs/21.4 (patch 22) (Instant
 Classic) (amd64--freebsd)
MIME-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka")
Content-Type: text/plain; charset=ISO-2022-JP
X-Dispatcher: imput version 20110525(IM151)
Lines: 62
Reply-To: FreeBSD-users-jp@jp.FreeBSD.org
Precedence: list
Date: Fri, 14 Dec 2012 09:39:08 +0900
X-Sequence: FreeBSD-users-jp 94075
Subject: [FreeBSD-users-jp 94075] Re: buildworld fail in FreeBSD 9.0-STABLE
Sender: owner-FreeBSD-users-jp@jp.FreeBSD.org
X-Originator: md440@luna.wak2.jp
X-Distribute: distribute version 2.1 (Alpha) patchlevel 24e+060209

At Thu, 13 Dec 2012 19:03:01 +0900,
Koh-ichi Oniuda ($B54@8ED9@0l(B) wrote:
> /usr/src/bin/expr/expr.y: In function 'main':
> /usr/src/bin/expr/expr.y:291: warning: implicit declaration of function 'yyparse'
> /usr/src/bin/expr/expr.y:291: warning: nested extern declaration of 'yyparse'
> expr.c: At top level:
> expr.c:813: warning: no previous prototype for 'yyparse'

$BEvJ}$G(B9.1$B$N(B buildworld$B$,40N;$7$?(B /usr/obj/usr/src/bin/expr $B$rL5$/$7$F(B
/usr/src/bin/expr $B$G$NA`:n$G$9!#(B

# ls -l
total 28
-rw-r--r--  1 root  wheel    137 12$B7n(B 11 20:48 Makefile
-rw-r--r--  1 root  wheel   9079 12$B7n(B 11 20:48 expr.1
-rw-r--r--  1 root  wheel  10743 12$B7n(B 11 20:48 expr.y

# make
Warning: Object directory not changed from original /usr/src/bin/expr
yacc  -o expr.c expr.y
cc -O2 -pipe -march=nocona -std=gnu99 -fstack-protector -Wsystem-headers -Werror -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wunused-parameter -Wcast-align -Wchar-subscripts -Winline -Wnested-externs -Wredundant-decls -Wold-style-definition -Wno-pointer-sign -c expr.c
cc -O2 -pipe -march=nocona -std=gnu99 -fstack-protector -Wsystem-headers -Werror -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wunused-parameter -Wcast-align -Wchar-subscripts -Winline -Wnested-externs -Wredundant-decls -Wold-style-definition -Wno-pointer-sign  -o expr expr.o 
gzip -cn expr.1 > expr.1.gz

# ls -l
total 104
-rw-r--r--  1 root  wheel    137 12$B7n(B 11 20:48 Makefile
-rwxr-xr-x  1 root  wheel  20390 12$B7n(B 13 22:32 expr
-rw-r--r--  1 root  wheel   9079 12$B7n(B 11 20:48 expr.1
-rw-r--r--  1 root  wheel   3781 12$B7n(B 13 22:32 expr.1.gz
-rw-r--r--  1 root  wheel  27616 12$B7n(B 13 22:32 expr.c
-rw-r--r--  1 root  wheel  20896 12$B7n(B 13 22:32 expr.o
-rw-r--r--  1 root  wheel  10743 12$B7n(B 11 20:48 expr.y

$B$H$J$j$^$9!#(B
/usr/obj/usr/src/bin/expr $B$G:n$i$l$k$N$,0J2<$G$9$,!"$=$l$,$3$3$G:n@.$5(B
$B$l$F$$$^$9!#(B

# ls -l
total 80
-rw-r--r--  1 root  wheel   1962 12$B7n(B 11 21:53 .depend
-rwxr-xr-x  1 root  wheel  20390 12$B7n(B 11 21:56 expr
-rw-r--r--  1 root  wheel   3781 12$B7n(B 11 21:56 expr.1.gz
-rw-r--r--  1 root  wheel  27963 12$B7n(B 11 21:53 expr.c
-rw-r--r--  1 root  wheel  20896 12$B7n(B 11 21:56 expr.o

$BC1BN%F%9%H$N;29M$K$b$J$i$J$$$+$bCN$l$^$;$s$,(B...

$B$?$@!"8@$o$l$F$$$k;v$G$9$,!V(Bbuildworld$B$,860xITL@$NM}M3$G<:GT$9$k>l9g$O(B
/usr/obj$B$r>C5n$7$F$_$^$7$g$&!#!W$=$&$G$9!#(B
# cd /usr/obj
# rm -rf *
# chflags -R noschg *
# rm -rf *

$B$b$7$/$OEvJ}$b:#2s9T$$$^$7$?$,!"(B/usr/src$B$r?7$7$/$7$F$+$i(B svn$B$G(B
checkout$B$7$^$7$?!#(B($B$3$l$^$G$O(B csup$B$r;H$C$F$$$^$7$?!#(B)

$BKt!">JN,$;$:$K<jB3$-$r5-$7$F$b!"$$$$$+$bCN$l$^$;$s!#(B
-- 
                        / Name : Dobashi Mitsuyoshi  /
                       / Email : md440@luna.wak2.jp /
