gm2
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Gm2] [GM2] mixing "iso" and "ulm" libraries?


From: address@hidden
Subject: [Gm2] [GM2] mixing "iso" and "ulm" libraries?
Date: Wed, 21 Oct 2015 00:59:55 +0200

Hello List,

 

is it possible to mix code from the ulm libraries into one project? When I try to call

 

> gm2 -g  -fiso -flibs=iso,pim,ulm Parser.mod

I get linker errors telling me that "_M2_SYSTEM_init" and "_M2_SYSTEM_init" are defined two times.

 

error message is:

linking Parser.mod
/home/georg/opt/lib/gcc/x86_64-unknown-linux-gnu/4.7.4/m2/ulm/libulm.a(libulm_la-SYSTEM.o): In function `_M2_SYSTEM_init':
/home/georg/GM2/build-4.7.4/x86_64-unknown-linux-gnu/libgm2/libulm/SYSTEM.c:622: multiple definition of `_M2_SYSTEM_init'
/home/georg/opt/lib/gcc/x86_64-unknown-linux-gnu/4.7.4/m2/iso/libiso.a(SYSTEM.o):/home/georg/GM2/build-4.7.4/x86_64-unknown-linux-gnu/libgm2/libiso/../../../../gcc-4.7.4+gm2-git-latest/gm2/gcc-versionno/libgm2/libiso/../../gcc/gm2/gm2-libs-iso/SYSTEM.mod:257: first defined here

 

Thanks, Georg


reply via email to

[Prev in Thread] Current Thread [Next in Thread]