make buildworld GBDE error - sparc64
Allan Fields
bsd at afields.ca
Fri May 20 10:48:59 PDT 2005
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
More information about the freebsd-current
mailing list