[Ovmsdev] Linker error: uxTaskGetSystemState

Michael Balzer dexter at expeedo.de
Wed Jul 25 18:37:13 HKT 2018


Geir,

my fault:

 * configUSE_TRACE_FACILITY must be defined as 1 in FreeRTOSConfig.h for
 * uxTaskGetSystemState() to be available.

That's…

CONFIG_FREERTOS_USE_TRACE_FACILITY=y

I thought we generally include that, it's required by Steves task&heap commands. I'll add some #ifdefs to enable building without.

Regards,
Michael


Am 25.07.2018 um 10:50 schrieb Geir Øyvind Vælidalo:
> Hi guys!
>
> I got the latest from master and also did pull the latest from esp-idf, but when I run make I get this linker error:
>
> ylfest:OVMS.V3 goev$ make
> LD build/ovms3.elf
> /Users/goev/git/Open-Vehicle-Monitoring-System-3/vehicle/OVMS.V3/build/main/libmain.a(ovms_utils.o):(.literal._Z13TaskGetHandlePKc+0x4): undefined reference
> to `uxTaskGetSystemState'
> /Users/goev/git/Open-Vehicle-Monitoring-System-3/vehicle/OVMS.V3/build/main/libmain.a(ovms_utils.o): In function `TaskGetHandle(char const*)':
> /Users/goev/esp/xtensa-esp32-elf/xtensa-esp32-elf/include/c++/5.2.0/bits/basic_string.h:159: undefined reference to `uxTaskGetSystemState'
> collect2: error: ld returned 1 exit status
> make: *** [/Users/goev/git/Open-Vehicle-Monitoring-System-3/vehicle/OVMS.V3/build/ovms3.elf] Error 1
>
> Any ideas?
>
> Best regards,
> Geir
>
>
> _______________________________________________
> OvmsDev mailing list
> OvmsDev at lists.openvehicles.com
> http://lists.openvehicles.com/mailman/listinfo/ovmsdev

-- 
Michael Balzer * Helkenberger Weg 9 * D-58256 Ennepetal
Fon 02333 / 833 5735 * Handy 0176 / 206 989 26

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openvehicles.com/pipermail/ovmsdev/attachments/20180725/67755314/attachment.htm>


More information about the OvmsDev mailing list