Date: Thu, 14 Nov 2002 16:04:58 -0800 From: Kent Stewart <kstewart@owt.com> To: Tomas Pluskal <plusik@pohoda.cz> Cc: freebsd-stable@FreeBSD.ORG Subject: Re: cannot compile stable Message-ID: <3DD43A2A.6040904@owt.com> References: <20021115001539.S719-100000@localhost.localdomain>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3DD43A2A.6040904>