From owner-freebsd-current@FreeBSD.ORG Fri May 20 17:48:59 2005 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C1B6D16A4CE for ; Fri, 20 May 2005 17:48:59 +0000 (GMT) Received: from afields.ca (afields.ca [216.194.67.132]) by mx1.FreeBSD.org (Postfix) with ESMTP id 558B343DB4 for ; Fri, 20 May 2005 17:48:59 +0000 (GMT) (envelope-from afields@afields.ca) Received: from afields.ca (localhost.afields.ca [127.0.0.1]) by afields.ca (8.12.11/8.12.11) with ESMTP id j4KHmuZS048303; Fri, 20 May 2005 13:48:56 -0400 (EDT) (envelope-from afields@afields.ca) Received: (from afields@localhost) by afields.ca (8.12.11/8.12.11/Submit) id j4KHmu9k048302; Fri, 20 May 2005 13:48:56 -0400 (EDT) (envelope-from afields) Date: Fri, 20 May 2005 13:48:56 -0400 From: Allan Fields To: Nathan Nieblas Message-ID: <20050520174856.GK4358@afields.ca> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4i cc: freebsd-current@freebsd.org Subject: Re: make buildworld GBDE error - sparc64 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 20 May 2005 17:48:59 -0000 Haven't tried sparc64 but just a thought: Check unistd.h or recvsup? On Thu, May 19, 2005 at 08:55:41AM -0700, Nathan Nieblas wrote: > I just grabbed the latest sources last night, unable to get my sparc > off 5.3-RELEASE because of this. > > (cd /usr/src/rescue/rescue/../../sbin/fsirand && make -DRESCUE > CRUNCH_CFLAGS=-DRESCUE depend && make -DRESCUE CRUNCH_CFLAGS=-DRESCUE > fsirand.o) > cc -O -pipe -DRESCUE -c /usr/src/sbin/fsirand/fsirand.c > (cd /usr/src/rescue/rescue/../../sbin/gbde && make -DRESCUE > CRUNCH_CFLAGS=-DRESCUE depend && make -DRESCUE CRUNCH_CFLAGS=-DRESCUE > gbde.o template.o rijndael-alg-fst.o rijndael-api-fst.o sha2.o > g_bde_lock.o) > file2c 'const char template[] = {' ',0};' < > /usr/src/sbin/gbde/template.txt > template.c > rm -f .depend > mkdep -f .depend -a -I/usr/src/sbin/gbde/../../sys -DRESCUE > /usr/src/sbin/gbde/gbde.c template.c > /usr/src/sbin/gbde/../../sys/crypto/rijndael/rijndael-alg-fst.c > /usr/src/sbin/gbde/../../sys/crypto/rijndael/rijndael-api-fst.c > /usr/src/sbin/gbde/../../sys/crypto/sha2/sha2.c > /usr/src/sbin/gbde/../../sys/geom/bde/g_bde_lock.c > echo gbde: /usr/lib/libc.a /usr/lib/libmd.a /usr/lib/libutil.a > /usr/lib/libgeom.a >> .depend > cc -O -pipe -I/usr/src/sbin/gbde/../../sys -DRESCUE -Wsystem-headers > -Werror -Wall -Wno-format-y2k -W -Wstrict-prototypes > -Wmissing-prototypes -Wpointer-arith -Wno-uninitialized -c > /usr/src/sbin/gbde/gbde.c > /usr/src/sbin/gbde/gbde.c: In function `g_read_data': > /usr/src/sbin/gbde/gbde.c:162: warning: implicit declaration of function `read' > /usr/src/sbin/gbde/gbde.c: In function `cmd_attach': > /usr/src/sbin/gbde/gbde.c:274: warning: implicit declaration of function `close' > /usr/src/sbin/gbde/gbde.c: In function `cmd_nuke': > /usr/src/sbin/gbde/gbde.c:364: warning: implicit declaration of function `write' > /usr/src/sbin/gbde/gbde.c: In function `cmd_init': > /usr/src/sbin/gbde/gbde.c:529: warning: implicit declaration of > function `unlink' > /usr/src/sbin/gbde/gbde.c: In function `main': > /usr/src/sbin/gbde/gbde.c:772: warning: implicit declaration of > function `getopt' > /usr/src/sbin/gbde/gbde.c:775: error: `optarg' undeclared (first use > in this function) > /usr/src/sbin/gbde/gbde.c:775: error: (Each undeclared identifier is > reported only once > /usr/src/sbin/gbde/gbde.c:775: error: for each function it appears in.) > *** Error code 1 > > Stop in /usr/src/sbin/gbde. > *** Error code 1 > > Stop in /usr/obj/usr/src/rescue/rescue. > *** Error code 1 > > Stop in /usr/src/rescue/rescue. > *** Error code 1 > > Stop in /usr/src/rescue. -- Allan Fields