[cfe-dev] module map help - duplicate symbol definitions

Thompson, John John_Thompson at playstation.sony.com
Fri Jan 23 15:29:43 PST 2015


I'm trying to create a module map, but I keep getting duplicate symbol errors for the same source line.  What does this mean?

For example:

orbis-clang -c -I"D:\usr\local\psp2\ORBIS SDKs\2.000_pre_mod" -fmodules -fcxx-modules -fmodules-cache-path=./cache_path-o target_include_common_fios2_srcfios2_debug_h.o target/include_common/fios2/srcfios2_debug_h.cpp
In file included from target/include_common/fios2/srcfios2_debug_h.cpp:1:
In file included from D:\usr\local\psp2\ORBIS SDKs\2.000_pre_mod/target/include\../include_common/fios2/fios2_debug.h:13:
D:\usr\local\psp2\ORBIS SDKs\2.000_pre_mod/target/include\../include_common/fios2/fios2_types.h:153:14: error:
      redefinition of 'SceFiosOpFlags'
typedef enum SceFiosOpFlags
             ^
D:\usr\local\psp2\ORBIS SDKs\2.000_pre_mod/target/include\../include_common/fios2/fios2_types.h:153:14: note: previous
      definition is here
typedef enum SceFiosOpFlags
             ^

Thanks.

-John

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20150123/65d23b3b/attachment.html>


More information about the cfe-dev mailing list