Closed GoogleCodeExporter closed 9 years ago
i am at the link stage now, but i get this error:
Linking klystrack...
/SDK/local/newlib/lib/libSDL_mixer.a(instrum.o):(.sbss+0x0): multiple
definition of `default_instrument'
objs.debug/mused.o:/Bob/Coding/Projects/klystron-klystrack/klystrack/src/mused.c
:236: first defined here
ld: Warning: size of symbol `default_instrument' changed from 56 in
objs.debug/mused.o to 4 in /SDK/local/newlib/lib/libSDL_mixer.a(instrum.o)
ld: Warning: type of symbol `default_instrument' changed from 2 to 1 in
/SDK/local/newlib/lib/libSDL_mixer.a(instrum.o)
gmake[1]: *** [bin.debug/klystrack] Error 1
Original comment by spo...@gmail.com
on 26 Aug 2010 at 9:26
Hi, sorry for the delay.
This seems weird, I have no experience with other than vanilla MinGW/SDL on
Windows so I don't know if SDL on Amiga has some extra stuff (looks like
SDL_mixer indeed has a similarly named function) or if it's because SDL_mixer
is not a DLL or something. You could rename the function to e.g.
klystrack_default_instrument in mused.c and whereever it's used in Klystrack.
It should then link properly.
I'll try to fix this problem in a few days with that rename trick when I get
home.
Original comment by kometb...@gmail.com
on 1 Sep 2010 at 1:33
This issue was closed by revision r791.
Original comment by kometb...@gmail.com
on 14 Sep 2010 at 10:38
Renamed.
Original comment by kometb...@gmail.com
on 14 Sep 2010 at 10:38
Original issue reported on code.google.com by
spo...@gmail.com
on 26 Aug 2010 at 9:07