From owner-freebsd-current Tue Oct 22 14:45:29 2002 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 EB50D37B401 for ; Tue, 22 Oct 2002 14:45:27 -0700 (PDT) Received: from dibbler.ne.client2.attbi.com (dibbler.ne.client2.attbi.com [24.61.41.247]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3873143E6A for ; Tue, 22 Oct 2002 14:45:27 -0700 (PDT) (envelope-from rodrigc@attbi.com) Received: from dibbler.ne.client2.attbi.com (localhost.ne.attbi.com [127.0.0.1]) by dibbler.ne.client2.attbi.com (8.12.6/8.12.5) with ESMTP id g9MLjPRD023305 for ; Tue, 22 Oct 2002 17:45:25 -0400 (EDT) (envelope-from rodrigc@dibbler.ne.client2.attbi.com) Received: (from rodrigc@localhost) by dibbler.ne.client2.attbi.com (8.12.6/8.12.6/Submit) id g9MLjPI9023304 for freebsd-current@freebsd.org; Tue, 22 Oct 2002 17:45:25 -0400 (EDT) Date: Tue, 22 Oct 2002 17:45:24 -0400 From: Craig Rodrigues To: freebsd-current@freebsd.org Subject: sbin/gbde compilation problem Message-ID: <20021022174524.A23272@attbi.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5.1i Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG 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 , 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