harmony-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Nathan Beyer <ndbe...@apache.org>
Subject [classlib][awt][macosx] Compiling lcmms component fails with duplicate symbol
Date Wed, 13 May 2009 02:21:41 GMT
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?


[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

View raw message