Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 14 Nov 2002 12:26:48 -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:  <3DD40708.8000306@owt.com>
References:  <Pine.LNX.4.30L2.0211141646340.15884-100000@pohoda.cz>

next in thread | previous in thread | raw e-mail | index | archive | help


Tomas Pluskal wrote:
> Hello,
> 
> I've been trying to compile recent -STABLE from CVS. I just downloaded the
> source and typed "make buildworld".
> It stopped in usr.bin/getconf with this message:
> 
> ===> usr.bin/getconf
> awk '/^[_A-Z]/ { print; }'
> /usr/src/freebsd/src/usr.bin/getconf/confstr.gperf | sed -e 's/,$//' >con
> fstr.names
> awk '/^[_A-Z]/ { print; }'
> /usr/src/freebsd/src/usr.bin/getconf/limits.gperf | sed -e 's/,$//' >limi
> ts.names
> awk '/^[_A-Z]/ { print; }'
> /usr/src/freebsd/src/usr.bin/getconf/sysconf.gperf | sed -e 's/,$//' >sys
> conf.names
> cat confstr.names limits.names sysconf.names >conflicting.names
> sort -u conflicting.names >unique.names
> Name conflicts found!
> *** Error code 1
> 
> Stop in /usr/src/freebsd/src/usr.bin/getconf.
> 
> 
> I have tried it after few days with fresh sources from CVS, same result.
> I am using 4.6 release, gcc 2.95.3.
> 
> I don't really understand what "Name conflicts" means. Am I doing anything
> wrong ?

I am confused here. You use the term -stable and 4.6.2. They are not 
the same. I also haven't had my first cup of coffee. A build of 
-stable uses "gcc version 2.95.4 20020320 [FreeBSD]". The buildworld 
acts like a cross compiler and creates its own set of tools.

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

My cvs-mirror was updated at 1821 GMT time. You have a unique path 
name for /usr/obj. Is it a link? I have /usr/src and /usr/obj on their 
own partitions on different HDs.

Kent

-- 
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?3DD40708.8000306>