From owner-freebsd-openoffice@FreeBSD.ORG Sun May 4 20:46:12 2003 Return-Path: Delivered-To: freebsd-openoffice@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id EC52B37B401 for ; Sun, 4 May 2003 20:46:12 -0700 (PDT) Received: from smtp-send.myrealbox.com (smtp-send.myrealbox.com [192.108.102.143]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5E26B43F85 for ; Sun, 4 May 2003 20:46:12 -0700 (PDT) (envelope-from wa1ter@myrealbox.com) Received: from myrealbox.com wa1ter@smtp-send.myrealbox.com [67.119.36.230] $ on Novell NetWare via secured & encrypted transport (TLS); Sun, 04 May 2003 20:46:17 -0700 Message-ID: <3EB5EC97.7010301@myrealbox.com> Date: Sun, 04 May 2003 21:46:15 -0700 From: walt Organization: none User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.4a) Gecko/20030502 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Martin Blapp , freebsd-openoffice@freebsd.org References: <3EB3A907.2090907@myrealbox.com> <20030504075919.S33100@cvs.imp.ch> In-Reply-To: <20030504075919.S33100@cvs.imp.ch> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: BYTE_ORDER undefined in osssound.cxx ? X-BeenThere: freebsd-openoffice@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting OpenOffice to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 05 May 2003 03:46:13 -0000 Martin Blapp wrote: > Hi, > > >>The line in question is: >>#if BYTE_ORDER == LITTLE_ENDIAN > > > Just fixed it. It should have been > > #if _BYTE_ORDER == _LITTLE_ENDIAN I can see that you made the change in soundcard.h and it appears correct -- unfortunately I still get exactly the same compilation error: In file included from /usr/ports/editors/openoffice/work/oo_1.0.3_src/vcl/unx/source/app/osssound.cxx:78: /usr/include/sys/soundcard.h:166:17: operator '==' has no left operand dmake: Error code 1, while making '../../../unxfbsd.pro/slo/osssound.obj' 'No left operand' is a really weird error message. Have you ever seen it before? I wonder if the syntax error message is one of those misleading clues that misses the real error on a previous line?