From owner-freebsd-current@FreeBSD.ORG Tue Jun 24 06:34:07 2003 Return-Path: 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 9DFF537B401 for ; Tue, 24 Jun 2003 06:34:07 -0700 (PDT) Received: from mail.ninell.cz (gw.ninell.cz [194.213.226.206]) by mx1.FreeBSD.org (Postfix) with SMTP id DEA6143F75 for ; Tue, 24 Jun 2003 06:34:05 -0700 (PDT) (envelope-from mdvorak@ninell.cz) Received: (qmail 81939 invoked by uid 1004); 24 Jun 2003 13:34:04 -0000 Received: from r2d70.mistral.cz (HELO ninell.cz) (62.245.67.70) by mail.ninell.cz with SMTP; 24 Jun 2003 13:34:04 -0000 Message-ID: <3EF85430.4060502@ninell.cz> Date: Tue, 24 Jun 2003 15:37:52 +0200 From: Martin Dvorak Organization: Ninell, v.o.s. User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.3) Gecko/20030312 X-Accept-Language: en-us, en, cs MIME-Version: 1.0 To: freebsd-current@freebsd.org Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Subject: optreset undeclared X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 24 Jun 2003 13:34:07 -0000 Hi, am I the only one having this problem while building world: cc -I/usr/local/include -march=athlon-tbird -I/usr/src/lib/libc/include -I/usr/src/lib/libc/../../include -I/usr/src/lib/libc/i386 -D__DBINTERFACE_PRIVATE -I/usr/src/lib/libc/../../contrib/gdtoa -DINET6 -I/usr/obj/usr/src/lib/libc -DPOSIX_MISTAKE -I/usr/src/lib/libc/locale -DBROKEN_DES -DPORTMAP -DDES_BUILTIN -I/usr/src/lib/libc/rpc -DYP -DHESIOD -c /usr/src/lib/libc/stdlib/getopt_long.c -o getopt_long.o /usr/src/lib/libc/stdlib/getopt_long.c: In function `getopt_internal': /usr/src/lib/libc/stdlib/getopt_long.c:205: `optreset' undeclared (first use in this function) /usr/src/lib/libc/stdlib/getopt_long.c:205: (Each undeclared identifier is reported only once /usr/src/lib/libc/stdlib/getopt_long.c:205: for each function it appears in.) It seems like line 72 of getopt_long.c should read #elif !HAVE_CONFIG_H && !HAVE_DECL_OPTRESET instead of #elif HAVE_CONFIG_H && !HAVE_DECL_OPTRESET I cannot make buildworld for days now because of this error. Any suggestions? Thanks. Martin