Created
February 4, 2021 14:35
-
-
Save thierry3000/aeafda4bfaa07a530cd382c102d00252 to your computer and use it in GitHub Desktop.
error building OpenRTK-base-library
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Processing OpenRTK330LI (platform: aceinna_imu; board: OpenRTK330L) | |
--------------------------------------------------------------------------------------------------------- | |
Verbose mode can be enabled via `-v, --verbose` option | |
CONFIGURATION: https://docs.platformio.org/page/boards/aceinna_imu/OpenRTK330L.html | |
PLATFORM: Aceinna IMU (1.3.1) > Aceinna OpenRTK330L | |
HARDWARE: STM32F469IG 180MHz, 384KB RAM, 1MB Flash | |
DEBUG: Current (stlink) External (blackmagic, jlink, stlink) | |
PACKAGES: | |
- toolchain-gccarmnoneeabi 1.70201.0 (7.2.1) | |
LDF: Library Dependency Finder -> http://bit.ly/configure-pio-ldf | |
LDF Modes: Finder ~ chain, Compatibility ~ soft | |
Found 1 compatible libraries | |
Scanning dependencies... | |
Dependency Graph | |
|-- <OpenRTK-base-library> 1.0.8 | |
Building in release mode | |
Compiling .pio/build/OpenRTK330LI/lib3f2/OpenRTK-base-library/LWIP/lwip_app/ntrip/src/ntrip_client.o | |
Compiling .pio/build/OpenRTK330LI/lib3f2/OpenRTK-base-library/LWIP/lwip_app/station/src/ntrip_client.o | |
.pio/libdeps/OpenRTK330LI/OpenRTK-base-library/LWIP/lwip_app/ntrip/src/ntrip_client.c: In function 'fill_localrtk_request_payload': | |
.pio/libdeps/OpenRTK330LI/OpenRTK-base-library/LWIP/lwip_app/ntrip/src/ntrip_client.c:36:61: error: 'UserConfigurationStruct {aka struct <anonymous>}' has no member named 'mountPoint' | |
strcat((char *)payload, (const char *)gUserConfiguration.mountPoint); | |
^ | |
.pio/libdeps/OpenRTK330LI/OpenRTK-base-library/LWIP/lwip_app/ntrip/src/ntrip_client.c:62:57: error: 'UserConfigurationStruct {aka struct <anonymous>}' has no member named 'username' | |
strcpy((char *)key, (const char *)gUserConfiguration.username); | |
^ | |
.pio/libdeps/OpenRTK330LI/OpenRTK-base-library/LWIP/lwip_app/ntrip/src/ntrip_client.c:64:57: error: 'UserConfigurationStruct {aka struct <anonymous>}' has no member named 'password' | |
strcat((char *)key, (const char *)gUserConfiguration.password); | |
^ | |
.pio/libdeps/OpenRTK330LI/OpenRTK-base-library/LWIP/lwip_app/ntrip/src/ntrip_client.c: In function 'NTRIP_interface': | |
.pio/libdeps/OpenRTK330LI/OpenRTK-base-library/LWIP/lwip_app/ntrip/src/ntrip_client.c:300:58: error: 'UserConfigurationStruct {aka struct <anonymous>}' has no member named 'ip' | |
err = ipaddr_aton((const char*)gUserConfiguration.ip, &server_ipaddr); | |
^ | |
.pio/libdeps/OpenRTK330LI/OpenRTK-base-library/LWIP/lwip_app/ntrip/src/ntrip_client.c:305:23: warning: implicit declaration of function 'dns_get_ip_by_hostname'; did you mean 'get_ip_by_host'? [-Wimplicit-function-declaration] | |
err = dns_get_ip_by_hostname(gUserConfiguration.ip, &server_ipaddr); | |
^~~~~~~~~~~~~~~~~~~~~~ | |
get_ip_by_host | |
.pio/libdeps/OpenRTK330LI/OpenRTK-base-library/LWIP/lwip_app/ntrip/src/ntrip_client.c:305:64: error: 'UserConfigurationStruct {aka struct <anonymous>}' has no member named 'ip' | |
err = dns_get_ip_by_hostname(gUserConfiguration.ip, &server_ipaddr); | |
^ | |
.pio/libdeps/OpenRTK330LI/OpenRTK-base-library/LWIP/lwip_app/ntrip/src/ntrip_client.c:322:83: error: 'UserConfigurationStruct {aka struct <anonymous>}' has no member named 'port' | |
err = netconn_connect(Ntrip_client, &server_ipaddr, gUserConfiguration.port); | |
^ | |
.pio/libdeps/OpenRTK330LI/OpenRTK-base-library/LWIP/lwip_app/ntrip/src/ntrip_client.c:411:36: error: 'UserConfigurationStruct {aka struct <anonymous>}' has no member named 'ethMode'; did you mean 'eth_mode'? | |
if (gUserConfiguration.ethMode == ETHMODE_DHCP) | |
^~~~~~~ | |
eth_mode | |
.pio/libdeps/OpenRTK330LI/OpenRTK-base-library/LWIP/lwip_app/ntrip/src/ntrip_client.c:418:41: error: 'UserConfigurationStruct {aka struct <anonymous>}' has no member named 'ethMode'; did you mean 'eth_mode'? | |
else if (gUserConfiguration.ethMode == ETHMODE_STATIC) | |
^~~~~~~ | |
eth_mode | |
.pio/libdeps/OpenRTK330LI/OpenRTK-base-library/LWIP/lwip_app/station/src/ntrip_client.c: In function 'fill_ntrip_client_request_payload': | |
.pio/libdeps/OpenRTK330LI/OpenRTK-base-library/LWIP/lwip_app/station/src/ntrip_client.c:51:31: warning: passing argument 2 of 'mbedtls_base64_encode' makes pointer from integer without a cast [-Wint-conversion] | |
base64_encode(base64_buf, sizeof(base64_buf), &len, key, len); | |
^~~~~~ | |
In file included from .pio/libdeps/OpenRTK330LI/OpenRTK-base-library/LWIP/lwip_app/station/src/ntrip_client.c:7:0: | |
.pio/libdeps/OpenRTK330LI/OpenRTK-base-library/mbedTLS/lib/include/mbedtls/compat-1.3.h:1763:23: note: expected 'uint8_t * {aka unsigned char *}' but argument is of type 'unsigned int' | |
#define base64_encode mbedtls_base64_encode | |
^ | |
.pio/libdeps/OpenRTK330LI/OpenRTK-base-library/LWIP/lwip_app/ntrip/inc/base64.h:8:6: note: in expansion of macro 'base64_encode' | |
void base64_encode(uint8_t *str, uint8_t *res); | |
^~~~~~~~~~~~~ | |
.pio/libdeps/OpenRTK330LI/OpenRTK-base-library/mbedTLS/lib/include/mbedtls/compat-1.3.h:1763:23: error: too many arguments to function 'mbedtls_base64_encode' | |
#define base64_encode mbedtls_base64_encode | |
^ | |
.pio/libdeps/OpenRTK330LI/OpenRTK-base-library/LWIP/lwip_app/station/src/ntrip_client.c:51:5: note: in expansion of macro 'base64_encode' | |
base64_encode(base64_buf, sizeof(base64_buf), &len, key, len); | |
^~~~~~~~~~~~~ | |
.pio/libdeps/OpenRTK330LI/OpenRTK-base-library/mbedTLS/lib/include/mbedtls/compat-1.3.h:1763:23: note: declared here | |
#define base64_encode mbedtls_base64_encode | |
^ | |
.pio/libdeps/OpenRTK330LI/OpenRTK-base-library/LWIP/lwip_app/ntrip/inc/base64.h:8:6: note: in expansion of macro 'base64_encode' | |
void base64_encode(uint8_t *str, uint8_t *res); | |
^~~~~~~~~~~~~ | |
Compiling .pio/build/OpenRTK330LI/lib3f2/OpenRTK-base-library/Platform/CAN/src/taskCANcommunicationJ1939.o | |
Compiling .pio/build/OpenRTK330LI/lib3f2/OpenRTK-base-library/Platform/CAN/src/user_message_can.o | |
Compiling .pio/build/OpenRTK330LI/lib3f2/OpenRTK-base-library/Platform/Core/src/bt_packet.o | |
*** [.pio/build/OpenRTK330LI/lib3f2/OpenRTK-base-library/LWIP/lwip_app/ntrip/src/ntrip_client.o] Error 1 | |
Compiling .pio/build/OpenRTK330LI/lib3f2/OpenRTK-base-library/Platform/Core/src/configuration.o | |
.pio/libdeps/OpenRTK330LI/OpenRTK-base-library/Platform/CAN/src/taskCANcommunicationJ1939.c:15:10: fatal error: indices.h: No such file or directory | |
***************************************************************** | |
* Looking for indices.h dependency? Check our library registry! | |
* | |
* CLI > platformio lib search "header:indices.h" | |
* Web > https://platformio.org/lib/search?query=header:indices.h | |
* | |
***************************************************************** | |
#include "indices.h" | |
^~~~~~~~~~~ | |
compilation terminated. | |
*** [.pio/build/OpenRTK330LI/lib3f2/OpenRTK-base-library/LWIP/lwip_app/station/src/ntrip_client.o] Error 1 | |
*** [.pio/build/OpenRTK330LI/lib3f2/OpenRTK-base-library/Platform/CAN/src/taskCANcommunicationJ1939.o] Error 1 | |
.pio/libdeps/OpenRTK330LI/OpenRTK-base-library/Platform/Core/src/configuration.c:24:10: fatal error: BitStatus.h: No such file or directory | |
******************************************************************* | |
* Looking for BitStatus.h dependency? Check our library registry! | |
* | |
* CLI > platformio lib search "header:BitStatus.h" | |
* Web > https://platformio.org/lib/search?query=header:BitStatus.h | |
* | |
******************************************************************* | |
#include "BitStatus.h" | |
^~~~~~~~~~~~~ | |
compilation terminated. | |
*** [.pio/build/OpenRTK330LI/lib3f2/OpenRTK-base-library/Platform/Core/src/configuration.o] Error 1 | |
.pio/libdeps/OpenRTK330LI/OpenRTK-base-library/Platform/Core/src/bt_packet.c: In function 'send_rtk_json_to_esp32': | |
.pio/libdeps/OpenRTK330LI/OpenRTK-base-library/Platform/Core/src/bt_packet.c:73:33: warning: implicit declaration of function 'get_user_packet_type'; did you mean 'get_can_packet_type'? [-Wimplicit-function-declaration] | |
uint8_t *user_packet_type = get_user_packet_type(); | |
^~~~~~~~~~~~~~~~~~~~ | |
get_can_packet_type | |
.pio/libdeps/OpenRTK330LI/OpenRTK-base-library/Platform/Core/src/bt_packet.c:73:33: warning: initialization makes pointer from integer without a cast [-Wint-conversion] | |
.pio/libdeps/OpenRTK330LI/OpenRTK-base-library/Platform/Core/src/bt_packet.c:78:33: warning: implicit declaration of function 'get_user_packet_rate'; did you mean 'get_gsa_packet_rate'? [-Wimplicit-function-declaration] | |
uint16_t user_packet_rate = get_user_packet_rate(); | |
^~~~~~~~~~~~~~~~~~~~ | |
get_gsa_packet_rate | |
.pio/libdeps/OpenRTK330LI/OpenRTK-base-library/Platform/Core/src/bt_packet.c: In function 'bt_app_json_parse': | |
.pio/libdeps/OpenRTK330LI/OpenRTK-base-library/Platform/Core/src/bt_packet.c:126:18: warning: implicit declaration of function 'valid_user_config_parameter'; did you mean 'update_user_parameter'? [-Wimplicit-function-declaration] | |
result = valid_user_config_parameter(USER_UART_PACKET_TYPE, (uint8_t*)packetCode->valuestring); | |
^~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
update_user_parameter | |
.pio/libdeps/OpenRTK330LI/OpenRTK-base-library/Platform/Core/src/bt_packet.c:126:46: error: 'USER_UART_PACKET_TYPE' undeclared (first use in this function); did you mean 'USER_CAN_PACKET_TYPE'? | |
result = valid_user_config_parameter(USER_UART_PACKET_TYPE, (uint8_t*)packetCode->valuestring); | |
^~~~~~~~~~~~~~~~~~~~~ | |
USER_CAN_PACKET_TYPE | |
.pio/libdeps/OpenRTK330LI/OpenRTK-base-library/Platform/Core/src/bt_packet.c:126:46: note: each undeclared identifier is reported only once for each function it appears in | |
.pio/libdeps/OpenRTK330LI/OpenRTK-base-library/Platform/Core/src/bt_packet.c:128:39: error: 'UserConfigurationStruct {aka struct <anonymous>}' has no member named 'userPacketType'; did you mean 'can_packet_type'? | |
memcpy(gUserConfiguration.userPacketType, (uint8_t*)packetCode->valuestring, sizeof(gUserConfiguration.userPacketType)); | |
^~~~~~~~~~~~~~ | |
can_packet_type | |
.pio/libdeps/OpenRTK330LI/OpenRTK-base-library/Platform/Core/src/bt_packet.c:128:116: error: 'UserConfigurationStruct {aka struct <anonymous>}' has no member named 'userPacketType'; did you mean 'can_packet_type'? | |
memcpy(gUserConfiguration.userPacketType, (uint8_t*)packetCode->valuestring, sizeof(gUserConfiguration.userPacketType)); | |
^~~~~~~~~~~~~~ | |
can_packet_type | |
.pio/libdeps/OpenRTK330LI/OpenRTK-base-library/Platform/Core/src/bt_packet.c:130:46: error: 'USER_UART_PACKET_RATE' undeclared (first use in this function); did you mean 'USER_UART_PACKET_TYPE'? | |
result = valid_user_config_parameter(USER_UART_PACKET_RATE, (uint8_t*)&packetRate->valueint); | |
^~~~~~~~~~~~~~~~~~~~~ | |
USER_UART_PACKET_TYPE | |
.pio/libdeps/OpenRTK330LI/OpenRTK-base-library/Platform/Core/src/bt_packet.c:132:32: error: 'UserConfigurationStruct {aka struct <anonymous>}' has no member named 'userPacketRate'; did you mean 'can_packet_rate'? | |
gUserConfiguration.userPacketRate = packetRate->valueint; | |
^~~~~~~~~~~~~~ | |
can_packet_rate | |
.pio/libdeps/OpenRTK330LI/OpenRTK-base-library/Platform/Core/src/bt_packet.c:134:9: warning: implicit declaration of function 'update_system_para'; did you mean 'update_user_param'? [-Wimplicit-function-declaration] | |
update_system_para(); | |
^~~~~~~~~~~~~~~~~~ | |
update_user_param | |
.pio/libdeps/OpenRTK330LI/OpenRTK-base-library/Platform/Core/src/bt_packet.c:136:28: error: 'UserConfigurationStruct {aka struct <anonymous>}' has no member named 'leverArmBx'; did you mean 'pri_lever_arm_bx'? | |
gUserConfiguration.leverArmBx = leverArmBx->valuedouble; | |
^~~~~~~~~~ | |
pri_lever_arm_bx | |
.pio/libdeps/OpenRTK330LI/OpenRTK-base-library/Platform/Core/src/bt_packet.c:137:28: error: 'UserConfigurationStruct {aka struct <anonymous>}' has no member named 'leverArmBy'; did you mean 'pri_lever_arm_by'? | |
gUserConfiguration.leverArmBy = leverArmBy->valuedouble; | |
^~~~~~~~~~ | |
pri_lever_arm_by | |
.pio/libdeps/OpenRTK330LI/OpenRTK-base-library/Platform/Core/src/bt_packet.c:138:28: error: 'UserConfigurationStruct {aka struct <anonymous>}' has no member named 'leverArmBz'; did you mean 'pri_lever_arm_bz'? | |
gUserConfiguration.leverArmBz = leverArmBz->valuedouble; | |
^~~~~~~~~~ | |
pri_lever_arm_bz | |
.pio/libdeps/OpenRTK330LI/OpenRTK-base-library/Platform/Core/src/bt_packet.c:139:27: error: 'UserConfigurationStruct {aka struct <anonymous>}' has no member named 'pointOfInterestBx' | |
gUserConfiguration.pointOfInterestBx = pointOfInterestBx->valuedouble; | |
^ | |
.pio/libdeps/OpenRTK330LI/OpenRTK-base-library/Platform/Core/src/bt_packet.c:140:27: error: 'UserConfigurationStruct {aka struct <anonymous>}' has no member named 'pointOfInterestBy' | |
gUserConfiguration.pointOfInterestBy = pointOfInterestBy->valuedouble; | |
^ | |
.pio/libdeps/OpenRTK330LI/OpenRTK-base-library/Platform/Core/src/bt_packet.c:141:27: error: 'UserConfigurationStruct {aka struct <anonymous>}' has no member named 'pointOfInterestBz' | |
gUserConfiguration.pointOfInterestBz = pointOfInterestBz->valuedouble; | |
^ | |
.pio/libdeps/OpenRTK330LI/OpenRTK-base-library/Platform/Core/src/bt_packet.c:142:28: error: 'UserConfigurationStruct {aka struct <anonymous>}' has no member named 'rotationRbvx'; did you mean 'rotation_rbvx'? | |
gUserConfiguration.rotationRbvx = rotationRbvx->valuedouble; | |
^~~~~~~~~~~~ | |
rotation_rbvx | |
.pio/libdeps/OpenRTK330LI/OpenRTK-base-library/Platform/Core/src/bt_packet.c:143:28: error: 'UserConfigurationStruct {aka struct <anonymous>}' has no member named 'rotationRbvy'; did you mean 'rotation_rbvy'? | |
gUserConfiguration.rotationRbvy = rotationRbvy->valuedouble; | |
^~~~~~~~~~~~ | |
rotation_rbvy | |
.pio/libdeps/OpenRTK330LI/OpenRTK-base-library/Platform/Core/src/bt_packet.c:144:28: error: 'UserConfigurationStruct {aka struct <anonymous>}' has no member named 'rotationRbvz'; did you mean 'rotation_rbvz'? | |
gUserConfiguration.rotationRbvz = rotationRbvz->valuedouble; | |
^~~~~~~~~~~~ | |
rotation_rbvz | |
.pio/libdeps/OpenRTK330LI/OpenRTK-base-library/Platform/Core/src/bt_packet.c:145:9: warning: implicit declaration of function 'update_user_para'; did you mean 'update_user_param'? [-Wimplicit-function-declaration] | |
update_user_para(); | |
^~~~~~~~~~~~~~~~ | |
update_user_param | |
*** [.pio/build/OpenRTK330LI/lib3f2/OpenRTK-base-library/Platform/Core/src/bt_packet.o] Error 1 | |
====================================== [FAILED] Took 1.30 seconds ====================================== |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment