Hey,
ich hab nun Eclipse Kepler mit CDT, GDB, OpenOCD, Yagarto und Sourcery
CodeBench Lite zum laufen gebracht.
Es funktioniert eigentlich alles solange ich nur C-Code habe. Sobald ich
aber eine Klasse erstelle bekomme ich Linker Probleme....
Der Fehler:
17:22:34 **** Incremental Build of configuration Release for project
DigiPot ****
cs_make all
Building target: DigiPot.elf
Invoking: Cross ARM C++ Linker
arm-none-eabi-g++ -mcpu=cortex-m4 -mthumb -mfloat-abi=soft -Os
-fmessage-length=0 -fsigned-char -ffunction-sections -fdata-sections
-Wall -g -T libs.ld -T mem.ld -T sections.ld -nostartfiles -Xlinker
--gc-sections -L"../ldscripts" -Wl,-Map,"DigiPot.map" -o "DigiPot.elf"
./src/test/main.o ...
./src/test/main.o: In function `_GLOBAL__sub_I_LED_Green':
C:\Dokumente und
Einstellungen\ENG2\Desktop\RFID\eclipse\workspace\DigiPot\Release/../src
/test/main.cpp:107: undefined reference to `__dso_handle'
c:/sourcery_codebench_lite_for_arm_eabi/bin/../lib/gcc/arm-none-eabi/4.8
.1/../../../../arm-none-eabi/bin/ld.exe: DigiPot.elf: hidden symbol
`__dso_handle' isn't defined
c:/sourcery_codebench_lite_for_arm_eabi/bin/../lib/gcc/arm-none-eabi/4.8
.1/../../../../arm-none-eabi/bin/ld.exe: final link failed: Bad value
collect2.exe: error: ld returned 1 exit status
cs_make: *** [DigiPot.elf] Error 1
Ich werde nicht Schlau daraus. Es wird doch der C++ Linker genutzt...
Weiß jemand weiter?! Wäre super! Vielen Dank!!
Gruß Jonas