[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Gm2] [GM2] mixing "iso" and "ulm" libraries?
From: |
Gaius Mulley |
Subject: |
Re: [Gm2] [GM2] mixing "iso" and "ulm" libraries? |
Date: |
Wed, 21 Oct 2015 06:56:57 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.4 (gnu/linux) |
"address@hidden" <address@hidden> writes:
> 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
Hi Georg,
currently this is not possible as both libraries have a real SYSTEM
module. It could be fixed though, by unifying both of the
implementations. Thanks for the bug report!
regards,
Gaius