You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
/opt/wonderful/toolchain/gcc-arm-none-eabi/lib/gcc/arm-none-eabi/13.2.0/../../../../arm-none-eabi/bin/ld: /opt/wonderful/thirdparty/blocksds/core/libs/maxmod/lib/libmm9.a(mm_main9.s.o): in function `mmSuspendIRQ_t':
(.text+0xa2): multiple definition of `mmSuspendIRQ_t'; /opt/wonderful/thirdparty/blocksds/core/libs/maxmod/lib/libmm9.a(mm_main_ds.s.o):(.text+0x9c): first defined here
/opt/wonderful/toolchain/gcc-arm-none-eabi/lib/gcc/arm-none-eabi/13.2.0/../../../../arm-none-eabi/bin/ld: /opt/wonderful/thirdparty/blocksds/core/libs/maxmod/lib/libmm9.a(mm_main9.s.o): in function `mmRestoreIRQ_t':
(.text+0xc0): multiple definition of `mmRestoreIRQ_t'; /opt/wonderful/thirdparty/blocksds/core/libs/maxmod/lib/libmm9.a(mm_main_ds.s.o):(.text+0xb8): first defined here
/opt/wonderful/toolchain/gcc-arm-none-eabi/lib/gcc/arm-none-eabi/13.2.0/../../../../arm-none-eabi/bin/ld: /opt/wonderful/thirdparty/blocksds/core/libs/maxmod/lib/libmm9.a(mm_comms.s.o): in function `mmLockChannels':
(.text+0x5c): multiple definition of `mmLockChannels'; /opt/wonderful/thirdparty/blocksds/core/libs/maxmod/lib/libmm9.a(mm_main_ds.s.o):(.text+0x0): first defined here
/opt/wonderful/toolchain/gcc-arm-none-eabi/lib/gcc/arm-none-eabi/13.2.0/../../../../arm-none-eabi/bin/ld: /opt/wonderful/thirdparty/blocksds/core/libs/maxmod/lib/libmm9.a(mm_comms.s.o): in function `mmUnlockChannels':
(.text+0x62): multiple definition of `mmUnlockChannels'; /opt/wonderful/thirdparty/blocksds/core/libs/maxmod/lib/libmm9.a(mm_main_ds.s.o):(.text+0x8a): first defined here
[...]
If someone wants to do some reorganization in maxmod in the future, I've created this test that uses all of the ARM9 maxmod functions just to check for conflicts when linking:
I could reproduce the issue in this post with that example (a bit easier than using the megazeux repository), but I don't have time to test it right now, so I'd rather revert the patch.
Reverting blocksds/maxmod@6debcf0#diff-07986c343d7f4a5132293d6b99341a1554d04042fac94e8a8ab33d3f56a66d74 fixes it.
To reproduce:
. arch/nds-blocksds/CONFIG.NDS
make
The text was updated successfully, but these errors were encountered: