|
Post by romcheg1 on Nov 11, 2020 12:53:27 GMT
A linker error occurs on attempt to compile default TC375 project in HighTec IDE. Inside the makefile a next line seems to be wrong, because of non-relative path to the file that doesn't exist.
How to solve it?
Line 62 of iROM/makefile:
"$(TRICORE_TOOLS)/bin/tricore-g++" -o "ShieldBuddyTC375User.elf" -nocrt0 -T "C:\Projects\4269.Auxduino\V03_02_Software\V06_Implementation\Eclipse\ShieldBuddyTC375User\aurix\variants\tc375\linker_scripts\gcc\iROM.ld" "Sketches\BoardEOLtest_TC375.o" "aurix\cores\aurduino\IPAddress.o" "aurix\cores\aurduino\Print.o" "aurix\cores\aurduino\Stream.o" "aurix\cores\aurduino\avr\dtostrf.o" "aurix\cores\aurduino\main.o" "aurix\cores\aurduino\main_Cpu1.o" "aurix\cores\aurduino\main_Cpu2.o" "aurix\libraries\Ethernet\src\Dhcp.o" "aurix\libraries\Ethernet\src\Dns.o" "aurix\libraries\Ethernet\src\Ethernet.o" "aurix\libraries\Ethernet\src\EthernetClient.o" "aurix\libraries\Ethernet\src\EthernetServer.o" "aurix\libraries\Ethernet\src\EthernetUdp.o" "aurix\libraries\Ethernet\src\socket.o" "aurix\libraries\Ethernet\src\utility\w5100.o" "aurix\libraries\Servo\src\aurix\Servo.o" "aurix\variants\tc375\Ifx_Cfg_SswBmhd.o" "aurix\variants\tc375\cint_tc37x.o" "aurix\variants\tc375\crt0-tc37x.o" "aurix\variants\tc375\interrupts.o" "aurix\variants\tc375\net.o" "aurix\variants\tc375\system_tc37x.o" -Wl,--gc-sections -mcpu=tc37xx -Wl,--mem-holes -Wl,--no-warn-flags -L"C:\Hitex\AURduinoIDE\Eclipse\ShieldBuddyTC375User\aurix\variants\tc375" -lAurduino -lTriLib -liLLD_Lib_Make_TC375 -Wl,-Map="$(basename $(notdir $@)).map" -Wl,--cref -fshort-double -Wl,--extmap="a"
|
|
|
Post by romcheg1 on Nov 11, 2020 13:00:44 GMT
I found this file in "<projectName>\aurix\variants\tc375\linker_scripts\gcc\iROM.ld", but the makefile is re-generated when I press build project.
|
|
|
Post by romcheg1 on Nov 11, 2020 13:23:21 GMT
Partially solved by moving the entire workspace folder to this path "C:\Projects\4269.Auxduino\V03_02_Software\V06_Implementation".
|
|
|
Post by Admin on Nov 11, 2020 13:25:18 GMT
Please open the Project-Properties-settings menu and then open Tricore C++ Linker menu. In the "Browse Linker Description File -T" box enter "..\aurix\variants\tc375\linker_scripts\gcc\iROM.ld". This will fix it.
|
|
|
Post by Admin on Nov 11, 2020 13:44:17 GMT
This has now been corrected in the ShieldBuddy TC375 add-in installer!
|
|
|
Post by romcheg1 on Nov 11, 2020 14:38:23 GMT
Thank you for ultrasonic reaction!
|
|