![]() |
|
[A5] Multiple definition of '_Unwind_Resume' |
J-Gamer
Member #12,491
January 2011
![]() |
I'm having problems compiling a small A5 program to illustrate an effect of basic chasing. I'm getting a Linker error, of which the full error is this: ||=== Allegro5, Release ===| c:\mingw\bin\..\lib\gcc\mingw32\4.5.0\libgcc_eh.a(unwind-dw2.o)|| multiple definition of `_Unwind_Resume'| C:\MinGW\lib\liballegro-5.0.0-RC4-mt.a(d000015.o)|| first defined here| ||=== Build finished: 2 errors, 0 warnings ===| Does anybody know what might be causing this? " There are plenty of wonderful ideas in The Bible, but God isn't one of them." - Derezo |
Matthew Leverton
Supreme Loser
January 1999
![]() |
J-Gamer
Member #12,491
January 2011
![]() |
It says it can't find -lgcc-eh and when I link with -static-libgcc_eh, I get the same error... EDIT: " There are plenty of wonderful ideas in The Bible, but God isn't one of them." - Derezo |
Matthew Leverton
Supreme Loser
January 1999
![]() |
J-Gamer said: I find it weird my search didn't bring that thread up... If you searched for "spaghetti dessert" then I doubt it would have came up. You should download the latest version for 4.5.0 and see if that helps. Be sure to clear all your intermediate object files so that you start with a clean build of your program. |
Edgar Reynaldo
Major Reynaldo
May 2007
![]() |
J-Gamer said: It says it can't find -lgcc-eh That is because you should use '-lgcc_eh' instead. Note the underscore. My Website! | EAGLE GUI Library Demos | My Deviant Art Gallery | Spiraloid Preview | A4 FontMaker | Skyline! (Missile Defense) Eagle and Allegro 5 binaries | Older Allegro 4 and 5 binaries | Allegro 5 compile guide |
J-Gamer
Member #12,491
January 2011
![]() |
Thanks Edgar ^^(It was getting late yesterday ._.) Now it compiles without a hassle. " There are plenty of wonderful ideas in The Bible, but God isn't one of them." - Derezo |
|