With a freshly checked-out tree from yesterday I still get the same
error when running "make buildworld" on sparc64 6.1-RELEASE-p7.
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/obj/usr/src/tmp/usr/lib/libc.a
/usr/obj/usr/src/tmp/usr/lib/libmd.a
/usr/obj/usr/src/tmp/usr/lib/libutil.a
/usr/obj/usr/src/tmp/usr/lib/libgeom.a >> .depend
cc -O2 -fno-strict-aliasing -pipe -I/usr/src/sbin/gbde/../../sys
-DRESCUE -Wsystem-headers -Werror -Wall -Wno-format-y2k -W
-Wno-unused-parameter -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:164: warning: implicit declaration of function
`read'
/usr/src/sbin/gbde/gbde.c: In function `setup_passphrase':
/usr/src/sbin/gbde/gbde.c:216: warning: implicit declaration of function
`close'
/usr/src/sbin/gbde/gbde.c: In function `cmd_nuke':
/usr/src/sbin/gbde/gbde.c:391: warning: implicit declaration of function
`write'
/usr/src/sbin/gbde/gbde.c: In function `cmd_init':
/usr/src/sbin/gbde/gbde.c:556: warning: implicit declaration of
function `unlink'
/usr/src/sbin/gbde/gbde.c: In function `main':
/usr/src/sbin/gbde/gbde.c:801: warning: implicit declaration of
function `getopt'
/usr/src/sbin/gbde/gbde.c:804: error: `optarg' undeclared (first use
in this function)
/usr/src/sbin/gbde/gbde.c:804: error: (Each undeclared identifier is
reported only once
/usr/src/sbin/gbde/gbde.c:804: 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.
*** Error code 1