From owner-freebsd-stable Thu Nov 14 16: 5: 7 2002 Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1774737B406 for ; Thu, 14 Nov 2002 16:05:05 -0800 (PST) Received: from rutger.owt.com (rutger.owt.com [204.118.6.16]) by mx1.FreeBSD.org (Postfix) with ESMTP id 73BEB43E6E for ; Thu, 14 Nov 2002 16:05:04 -0800 (PST) (envelope-from kstewart@owt.com) Received: from owt.com (owt-207-41-94-232.owt.com [207.41.94.232]) by rutger.owt.com (8.9.3/8.9.3) with ESMTP id QAA23657; Thu, 14 Nov 2002 16:05:00 -0800 Message-ID: <3DD43A2A.6040904@owt.com> Date: Thu, 14 Nov 2002 16:04:58 -0800 From: Kent Stewart User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.0.1) Gecko/20020823 Netscape/7.0 X-Accept-Language: en-us, es-mx MIME-Version: 1.0 To: Tomas Pluskal Cc: freebsd-stable@FreeBSD.ORG Subject: Re: cannot compile stable References: <20021115001539.S719-100000@localhost.localdomain> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Tomas Pluskal wrote: > When I run simple "make" in usr.bin/getconf, I get this: > awk '/^[_A-Z]/ { print; }' confstr.gperf | sed -e 's/,$//' >confstr.names > awk '/^[_A-Z]/ { print; }' limits.gperf | sed -e 's/,$//' >limits.names > awk '/^[_A-Z]/ { print; }' sysconf.gperf | sed -e 's/,$//' >sysconf.names > cat confstr.names limits.names sysconf.names >conflicting.names > sort -u conflicting.names >unique.names > Name conflicts found! > *** Error code 1 > > As you can see, it's doing this: > - get all lines from *.gperf that begin with _ or A-Z (identifiers?) > - check if all these lines are unique > > But for example in sysconf.gperf (from CVS) there is: > int > find_sysconf(const char *name, int *key) > > That simple "int" on first line is conflicting with another "int" from > another function's declaration. What I can't understand is, how is it > possible that build went ok ??? You can override a definition in a argument list. The only comparison would be with modules that call find_sysconf. You do that all of the time with things like (int)a. Look in the stable archives for gperf. I have to go someplace but I have a visual recall of seeing problems and a fix for gperf. It will be 3 or 4 hours before I get back. Kent > > Tomas Pluskal > > >>I cvsuped RELENG_4 and src-all after reading your message. I did not >>have any conflicts. I am suspecting identical names that may be a >>carry over from older builds. My build went like this (ignore the wraps) >> >>gzip -cn /usr/src/usr.bin/gensetdefs/gensetdefs.8 > gensetdefs.8.gz >>===> usr.bin/getconf >>awk '/^[_A-Z]/ { print; }' /usr/src/usr.bin/getconf/confstr.gperf | >>sed -e 's/,$//' >confstr.names >>awk '/^[_A-Z]/ { print; }' /usr/src/usr.bin/getconf/limits.gperf | sed >>-e 's/,$//' >limits.names >>awk '/^[_A-Z]/ { print; }' /usr/src/usr.bin/getconf/sysconf.gperf | >>sed -e 's/,$//' >sysconf.names >>cat confstr.names limits.names sysconf.names >conflicting.names >>sort -u conflicting.names >unique.names >>cc -O -pipe -I/usr/src/usr.bin/getconf -DSTABLE -c confstr.c >> > > > > . > -- Kent Stewart Richland, WA http://users.owt.com/kstewart/index.html To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message