harmony-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alexey Petrenko <alexey.a.petre...@gmail.com>
Subject Re: [classlib][awt][macosx] Compiling lcmms component fails with duplicate symbol
Date Wed, 13 May 2009 03:57:38 GMT
Does not standard way with if/define work here?

Alexey

13.05.2009, в 6:21, Nathan Beyer <ndbeyer@apache.org> написал(а):

> 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/src/main/native/lcmm/shared/
> [2] http://svn.apache.org/viewvc/harmony/enhanced/classlib/trunk/modules/awt/src/main/native/lcmm/shared/NativeImageFormat.h?annotate=476395
> line 22-34

Mime
View raw message