From owner-freebsd-current@FreeBSD.ORG Thu Aug 7 06:40:40 2003 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A90E837B401 for ; Thu, 7 Aug 2003 06:40:40 -0700 (PDT) Received: from mail.tcoip.com.br (erato.tco.net.br [200.220.254.10]) by mx1.FreeBSD.org (Postfix) with ESMTP id E003D43FAF for ; Thu, 7 Aug 2003 06:40:38 -0700 (PDT) (envelope-from dcs@tcoip.com.br) Received: from tcoip.com.br ([10.0.2.6]) by mail.tcoip.com.br (8.11.6/8.11.6) with ESMTP id h77DeQj20364; Thu, 7 Aug 2003 10:40:26 -0300 Message-ID: <3F3256C8.8040004@tcoip.com.br> Date: Thu, 07 Aug 2003 10:40:24 -0300 From: "Daniel C. Sobral" User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.4) Gecko/20030702 X-Accept-Language: en-us, en, pt-br, ja MIME-Version: 1.0 To: Andrey Chernov References: <20030807071247.GA1824@nagual.pp.ru> In-Reply-To: <20030807071247.GA1824@nagual.pp.ru> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit cc: current@freebsd.org Subject: Re: acpica/acfreebsd.h bug with boot code (stand.h) X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 07 Aug 2003 13:40:40 -0000 Andrey Chernov wrote: > /usr/src/sys/contrib/dev/acpica/acfreebsd.h includes ctype.h which is > incompatible with its redefinition in /usr/include/stand.h > > As result we got: > ===> i386/libi386 > cc -O -pipe -march=pentium3 -ffreestanding -DCOMPORT=0x3f8 -DCOMSPEED=9600 > -DTERM_EMU -I/usr/src/sys/boot/i386/libi386/../../common > -I/usr/src/sys/boot/i386/libi386/../btx/lib > -I/usr/src/sys/boot/i386/libi386/../../../contrib/dev/acpica > -I/usr/src/sys/boot/i386/libi386/../../.. -I. > -I/usr/src/sys/boot/i386/libi386/../../../../lib/libstand/ -ffreestanding > -mpreferred-stack-boundary=2 -c > /usr/src/sys/boot/i386/libi386/biosacpi.c > In file included from /usr/src/sys/contrib/dev/acpica/acfreebsd.h:165, > from /usr/src/sys/boot/i386/libi386/biosacpi.c:33: > /usr/include/ctype.h:88: syntax error before "int" > *** Error code 1 > > Please fix it somehow. Things that include stand.h should not include ctype.h. -- Daniel C. Sobral (8-DCS) Gerencia de Operacoes Divisao de Comunicacao de Dados Coordenacao de Seguranca VIVO Centro Oeste Norte Fones: 55-61-313-7654/Cel: 55-61-9618-0904 E-mail: Daniel.Capo@tco.net.br Daniel.Sobral@tcoip.com.br dcs@tcoip.com.br Outros: dcs@newsguy.com dcs@freebsd.org capo@notorious.bsdconspiracy.net When the saleman's car broke down, he walked to the nearest farmhouse to ask if he could stay the night. The farmer agreed to put him up. "I live alone," he continued, "you can have the bedroom at the top of the stairs, to the right." "Oh, never mind," the disappointed salesman said. "I think I'm in the wrong joke."