Errors and Challenges


Error/IssuesLayer and recipeFix
1

error: storage size of 'tv' isn't known

struct timeval tv;

rdk/components/

added header files like  at the below path 

src/rdk_dynamic_logger.c

+#include <stdlib.h>

+#include <sys/time.h>

2

ERROR: Nothing PROVIDES 'glibc'

meta-turris

DEPENDS_dunfell += "msgpack-c musl rtmessage"

3

ERROR: Nothing PROVIDES 'libxcrypt'

meta-rdk-ext/recipes-connectivity/ppp/ppp_2.4.8.bb DEPENDS on or otherwise requires it)

libxcrypt was skipped: PREFERRED_PROVIDER_virtual/crypt set to musl, not libxcrypt

NOTE: Runtime target 'ppp' is unbuildable

meta-rdk-ext/recipes-connectivity

PROVIDES = "virtual/crypt"

4

error:  format '%ld' expects argument of type 'long int', but argument 6 has type 'suseconds_t' {aka 'long long int'} [-Werror=format=]

rdk/components/opensource/rtmessage/

sprintf(buffer, "%.2d:%.2d:%.2d.%.3lld",

5

error: 'PTHREAD_ERRORCHECK_MUTEX_INITIALIZER_NP' undeclared here (not in a function)

static pthread_mutex_t MTX = PTHREAD_ERRORCHECK_MUTEX_INITIALIZER_NP;

meta-cmf-broadband/recipes-iot/zilker-sdk/zilker-sdk_git.bb


CFLAGS += "-pthread"
6error: undefined reference to 'timelocal'zilker-sdk/git-r0/git/source/services/automation/core/src

extern time_t timelocal (struct tm *__tp) __THROW;

File name : automationSunTime.c

  • No labels