1 Reply Latest reply on Feb 2, 2012 3:55 PM by apdobaj

    CodeSourcery Linker error

    apdobaj

      I'm having some trouble using codesourcery to link the LEDblink application for the beagleboard. The linker error is: undefined reference to '__aeabi_unwind_cpp_pr0'. I've attached the makefile. Same issue whether using the command line or Eclipse. Ideas?

        • 1. Re: CodeSourcery Linker error
          apdobaj

          Found the solution. I needed to add an ABI compiler directive to the makefile: -mabi=aapcs.   This is described in the GCC documentation on ARM options, section 3.17.2. It apparently tells the compiler to generate code for the specified ABI. Not sure why this directive is not included in the makefile specified on the beagleboard web site, I followed their instructions pretty carefully.