Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 22 Oct 2002 17:45:24 -0400
From:      Craig Rodrigues <rodrigc@attbi.com>
To:        freebsd-current@freebsd.org
Subject:   sbin/gbde compilation problem
Message-ID:  <20021022174524.A23272@attbi.com>

next in thread | raw e-mail | index | archive | help
Hi,

I just did a cvsup and am trying to do a buildworld and
am having a problem:

=======================================================================================================================================================================
===> sbin/gbde
cc -O -pipe -mcpu=pentiumpro -I/usr/src/sbin/gbde/../../sys   -Werror -Wall -Wno-format-y2k -Wno-uninitialized  -c /usr/src/sbin/gbde/gbde.c
cc -O -pipe -mcpu=pentiumpro -I/usr/src/sbin/gbde/../../sys   -Werror -Wall -Wno-format-y2k -Wno-uninitialized  -c template.c
cc -O -pipe -mcpu=pentiumpro -I/usr/src/sbin/gbde/../../sys   -Werror -Wall -Wno-format-y2k -Wno-uninitialized  -c /usr/src/sys/geom/geom_enc.c
cc -O -pipe -mcpu=pentiumpro -I/usr/src/sbin/gbde/../../sys   -Werror -Wall -Wno-format-y2k -Wno-uninitialized  -c /usr/src/sys/crypto/rijndael/rijndael-alg-fst.c
cc -O -pipe -mcpu=pentiumpro -I/usr/src/sbin/gbde/../../sys   -Werror -Wall -Wno-format-y2k -Wno-uninitialized  -c /usr/src/sys/crypto/rijndael/rijndael-api-fst.c
/usr/src/sys/crypto/rijndael/rijndael-api-fst.c: In function `rijndael_makeKey':
/usr/src/sys/crypto/rijndael/rijndael-api-fst.c:67: `TRUE' undeclared (first use in this function)
/usr/src/sys/crypto/rijndael/rijndael-api-fst.c:67: (Each undeclared identifier is reported only once
/usr/src/sys/crypto/rijndael/rijndael-api-fst.c:67: for each function it appears in.)
/usr/src/sys/crypto/rijndael/rijndael-api-fst.c: In function `rijndael_cipherInit':
/usr/src/sys/crypto/rijndael/rijndael-api-fst.c:81: `TRUE' undeclared (first use in this function)
cc1: warnings being treated as errors^M
/usr/src/sys/crypto/rijndael/rijndael-api-fst.c: In function `rijndael_padEncrypt':
/usr/src/sys/crypto/rijndael/rijndael-api-fst.c:223: warning: implicit declaration of function `panic'
*** Error code 1^M
=======================================================================================================================================================================

The rijndael-api-fst.c file is being compiled without -D_KERNEL.

Consequently, some things like TRUE and FALSE are not being defined,
and <sys/systm.h>, which has the prototype for panic(),
is not being included.

What should I do?

-- 
Craig Rodrigues        
http://www.gis.net/~craigr    
rodrigc@attbi.com

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20021022174524.A23272>