From owner-freebsd-current Sun Nov 21 0:31: 8 1999 Delivered-To: freebsd-current@freebsd.org Received: from mailext02.compaq.com (mailext02.compaq.com [207.18.199.33]) by hub.freebsd.org (Postfix) with ESMTP id 16B7A151EB for ; Sun, 21 Nov 1999 00:31:00 -0800 (PST) (envelope-from bruceb@txn.cpqcorp.net) Received: from mailint02.im.hou.compaq.com (mailint02.compaq.com [207.18.199.35]) by mailext02.compaq.com (Postfix) with ESMTP id 8B1919A85E for ; Sun, 21 Nov 1999 02:30:59 -0600 (CST) Received: by mailint02.im.hou.compaq.com (Postfix, from userid 12345) id A05B8BC4C3; Sun, 21 Nov 1999 02:30:53 -0600 (CST) Received: from fedex.txn.cpqcorp.net (fedex-s1.txn.cpqcorp.net [16.74.4.108]) by mailint02.im.hou.compaq.com (Postfix) with ESMTP id 55C89B2A42 for ; Sun, 21 Nov 1999 02:30:53 -0600 (CST) From: bruce.burden@compaq.com Posted-Date: Sun, 21 Nov 1999 02:30:59 -0600 (CST) Received: (from bruceb@localhost) by panther.txn.cpqcorp.net (8.9.3/8.9.3) id CAA21479 for current@freebsd.org; Sun, 21 Nov 1999 02:27:42 -0600 (CST) Message-Id: <199911210827.CAA21479@panther.txn.cpqcorp.net> Subject: VERSION undefined in /usr/src/gnu/usr.bin/grep/grep.c To: current@freebsd.org Date: Sun, 21 Nov 1999 02:27:42 -0600 (CST) Reply-To: bruceb@devnull.mpd.tandem.com X-Mailer: ELM [version 2.4 PL25] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Okay, here is the problem: cc -O -pipe -DGREP -DHAVE_STRING_H=1 -DHAVE_SYS_PARAM_H=1 -DHAVE_UNISTD_H=1 -DHAVE_GETPAGESIZE=1 -DHAVE_MEMCHR=1 -DHAVE_STRERROR=1 -DHAVE_VALLOC=1 -DHAVE_WORKING_MMAP=1 -DHAVE_LIBZ=1 -DHAVE_FTS=1 -I/usr/obj/usr/src/tmp/usr/include -c /usr/src/gnu/usr.bin/grep/dfa.c cc -O -pipe -DGREP -DHAVE_STRING_H=1 -DHAVE_SYS_PARAM_H=1 -DHAVE_UNISTD_H=1 -DHAVE_GETPAGESIZE=1 -DHAVE_MEMCHR=1 -DHAVE_STRERROR=1 -DHAVE_VALLOC=1 -DHAVE_WORKING_MMAP=1 -DHAVE_LIBZ=1 -DHAVE_FTS=1 -I/usr/obj/usr/src/tmp/usr/include -c /usr/src/gnu/usr.bin/grep/grep.c /usr/src/gnu/usr.bin/grep/grep.c: In function `main': /usr/src/gnu/usr.bin/grep/grep.c:1314: `VERSION' undeclared (first use in this function) /usr/src/gnu/usr.bin/grep/grep.c:1314: (Each undeclared identifier is reported only once /usr/src/gnu/usr.bin/grep/grep.c:1314: for each function it appears in.) Here is the Makefile header: # $FreeBSD: src/gnu/usr.bin/grep/Makefile,v 1.18 1999/11/20 09:40:03 peter Exp $ MAINTAINER= wosch Obviously I could simply define anything I wanted for "VERSION" in the cflags, and go on my merry way, but I thought I would ask what VERSION was supposed to be, and point out that it is missing. Thanks, Bruce -- ------------------------------------------------------------------------------- Bruce Burden bruceb@isd.tandem.com Tandem Computers Inc. 512-432-8944 Network Verification 14231 Tandem Blvd. Auto answer(4 rings) Austin, TX 78726 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message