gcc -g -o MY_ELF test1.c test2.c -lm
I get this error multiple times...
/tmp/cc5TzMPo.o:(.data+0x0): multiple definition of 'XYZ'
gcc -g -o MY_ELF test1.c test2.c -lm
I get this error multiple times...
/tmp/cc5TzMPo.o:(.data+0x0): multiple definition of 'XYZ'
I suspect that means XYZ is multiply defined, then... Beyond that I can't guess without seeing your code. Can you post it?