Return-Path: Delivered-To: apmail-harmony-dev-archive@www.apache.org Received: (qmail 35024 invoked from network); 13 May 2009 03:58:19 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 13 May 2009 03:58:19 -0000 Received: (qmail 9622 invoked by uid 500); 13 May 2009 03:58:18 -0000 Delivered-To: apmail-harmony-dev-archive@harmony.apache.org Received: (qmail 9543 invoked by uid 500); 13 May 2009 03:58:18 -0000 Mailing-List: contact dev-help@harmony.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@harmony.apache.org Delivered-To: mailing list dev@harmony.apache.org Received: (qmail 9532 invoked by uid 99); 13 May 2009 03:58:17 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 13 May 2009 03:58:17 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of alexey.a.petrenko@gmail.com designates 72.14.220.152 as permitted sender) Received: from [72.14.220.152] (HELO fg-out-1718.google.com) (72.14.220.152) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 13 May 2009 03:58:08 +0000 Received: by fg-out-1718.google.com with SMTP id 13so130261fge.13 for ; Tue, 12 May 2009 20:57:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:references:message-id:from:to :in-reply-to:content-type:content-transfer-encoding:x-mailer :mime-version:subject:date:cc; bh=r9MwcSFWbiNluvntuTuqNZb3mGcc+eb/LZx1GszYJAI=; b=U2FMFX4I1zLt6kLYjZPvZrR2WqJPuwre6ue2Gcd5qazcLFAb3TmpgnrD/VqXyujCAL /9SQKCWgGrqp5wZzUix/HBDHKawDhwOjMq9vfMm5j56QLrNxnbEZ/OM64KGhduy7huHm iEcjjnz3gsuYoII+4PvOU9oBwbO7DbcKlF+fc= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=references:message-id:from:to:in-reply-to:content-type :content-transfer-encoding:x-mailer:mime-version:subject:date:cc; b=C4+BdO5qf67p0R8IjJ0SQuuTUDSu/tGjvqpc1X2MtpJQT/IEI9/hRRzZ7cX5Hal1/9 Swb/ekPEDv6bSARq1SzAW4t/RA6lsDSpPOAaIGpR0fkYmZnzwwK5/7Wf0p0pbvDIW1a5 EWZCXtsraablVAFO9cbkjFk5SpqvLhs9TA+DA= Received: by 10.86.65.9 with SMTP id n9mr646461fga.47.1242187066691; Tue, 12 May 2009 20:57:46 -0700 (PDT) Received: from ?10.231.66.239? (ip-83-149-3-8.nwgsm.ru [83.149.3.8]) by mx.google.com with ESMTPS id d4sm1136633fga.14.2009.05.12.20.57.45 (version=TLSv1/SSLv3 cipher=RC4-MD5); Tue, 12 May 2009 20:57:45 -0700 (PDT) References: <3b3f27c60905121921x6c7b4f29he2f3b8b6d2102f6@mail.gmail.com> Message-Id: From: Alexey Petrenko To: "dev@harmony.apache.org" In-Reply-To: <3b3f27c60905121921x6c7b4f29he2f3b8b6d2102f6@mail.gmail.com> Content-Type: text/plain; charset=koi8-r; format=flowed Content-Transfer-Encoding: quoted-printable X-Mailer: iPhone Mail (5H11) Mime-Version: 1.0 (iPhone Mail 5H11) Subject: Re: [classlib][awt][macosx] Compiling lcmms component fails with duplicate symbol Date: Wed, 13 May 2009 07:57:38 +0400 Cc: "dev@harmony.apache.org" X-Virus-Checked: Checked by ClamAV on apache.org Does not standard way with if/define work here? Alexey 13.05.2009, =D7 6:21, Nathan Beyer =CE=C1=D0=C9=D3=C1= =CC(=C1): > While trying to compile the lcmms bit [1] of the awt module I'm > getting several "ld: dupblicate symbol" errors from NativeCMM.o and > NativeImageFormat.o on the 'jfield' variables defined in > NativeImageFormat.h [2]. While looking at the header files, I noticed > a circular include - NativeCMM.h includes NativeImageFormat.h and > NativeImageFormat.h includes NativeCMM.h. > > Any thoughts on how to unwind this? > > -Nathan > > [1] = http://svn.apache.org/viewvc/harmony/enhanced/classlib/trunk/modules/awt/s= rc/main/native/lcmm/shared/ > [2] = http://svn.apache.org/viewvc/harmony/enhanced/classlib/trunk/modules/awt/s= rc/main/native/lcmm/shared/NativeImageFormat.h?annotate=3D476395 > line 22-34