/usr/include/wchar.h:216: error: invalid use of 'restrict' in /lib32

Scot Hetzel swhetzel at gmail.com
Tue Mar 24 09:13:40 PDT 2009


On Tue, Mar 24, 2009 at 7:38 AM, Gary Jennejohn
<gary.jennejohn at freenet.de> wrote:
> On Tue, 24 Mar 2009 11:56:20 +0100
> Thomas Vogt <freebsdlists at bsdunix.ch> wrote:
>
>> I tried to update my current 64bit intel system from late January to the
>> latest current code from March 24.
>>
>> FreeBSD foo.ch 8.0-CURRENT FreeBSD 8.0-CURRENT #3: Sat Jan 24 13:20:12
>> UTC 2009
>>
>> make.conf:
>> WITH_LIB32=yes
>>
>
> Note that it's MK_LIB32, which is only effective if set to 'no'.
> Otherwise 32-bit libraries always seem to be built.
>
The MK_* variables are internal variables for the FreeBSD sources.
They are not to be set in /etc/make.conf.

Instead you use WITH_* or WITHOUT_* to set the value of the MK_* variables.

hp010# make -V MK_LIB32 -DWITHOUT_LIB32 -f Makefile.inc1
no
hp010# make -V MK_LIB32 -DWITH_LIB32 -f Makefile.inc1
yes
hp010# make -V MK_LIB32 WITH_LIB32=yes -f Makefile.inc1
yes
hp010# make -V MK_LIB32 WITH_LIB32=no -f Makefile.inc1
yes

Note: WITH_LIB32=no will still build the LIB32 libraries, use
WITHOUT_LIB32 to not build LIB32.

Scot


More information about the freebsd-current mailing list