Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 26 Sep 2008 02:59:10 -0700
From:      Jeremy Chadwick <koitsu@FreeBSD.org>
To:        Tobias Roth <freebsd.lists@fsck.ch>
Cc:        Andreas Rudisch <"cyb."@gmx.net>, stable@freebsd.org
Subject:   Re: buildworld fails in csh
Message-ID:  <20080926095910.GA20964@icarus.home.lan>
In-Reply-To: <48DCAF74.3070900@fsck.ch>
References:  <48DB4E11.2060604@fsck.ch> <20080925114505.af589ce3.cyb.@gmx.net> <48DB6CC6.90402@fsck.ch> <20080925151411.5c0c4d0a.cyb.@gmx.net> <48DCAF74.3070900@fsck.ch>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, Sep 26, 2008 at 11:46:28AM +0200, Tobias Roth wrote:
> On 09/25/08 15:14, Andreas Rudisch wrote:
>> On Thu, 25 Sep 2008 12:49:42 +0200
>> Tobias Roth <freebsd.lists@fsck.ch> wrote:
>>
>>> heh, that should be RELENG_7.
>>
>> Update your source tree again and clean up the build dirs.
>> http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/makeworld.html#Q23.4.14.6.
>>
>> Could be caused by some left overs from a previous build.
>
> That didn't work. What else could I try?

Did you rm -fr /usr/obj/* before rebuilding world?  "That didn't work"
is too ambiguous.

The build is failing because it claims ICONV_CONST is undefined.

ICONV_CONST is found here:

$ grep -r ICONV_CONST /usr/src/contrib/tcsh /usr/src/bin/csh
/usr/src/contrib/tcsh/config.h.in:#undef ICONV_CONST
/usr/src/contrib/tcsh/configure:#define ICONV_CONST $am_cv_proto_iconv_arg1
/usr/src/contrib/tcsh/sh.func.c:    ICONV_CONST char *src;
/usr/src/bin/csh/config.h:#define ICONV_CONST const

src/bin/csh/config.h declares it.

The proper include files are only included if HAVE_ICONV is declared,
which it is (in src/bin/csh/Makefile), as you can see from -DHAVE_ICONV.
You might have to end up giving someone access to your box to solve this
problem.

-- 
| Jeremy Chadwick                                jdc at parodius.com |
| Parodius Networking                       http://www.parodius.com/ |
| UNIX Systems Administrator                  Mountain View, CA, USA |
| Making life hard for others since 1977.              PGP: 4BD6C0CB |




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20080926095910.GA20964>