awtk-linux-fb icon indicating copy to clipboard operation
awtk-linux-fb copied to clipboard

最新awtk-linux-fb编译报错

Open hantianheng opened this issue 4 years ago • 2 comments

你好,对最新的awtk-linux-fb 进行编译的时候报错。报错内容如下: build/var/awtk/src/streams/tools/https_client.o: In function main': https_client.c:(.text.startup+0x38): undefined reference to mbedtls_conn_client_create' https_client.c:(.text.startup+0x58): undefined reference to `tk_iostream_mbedtls_create'

好像是没有定义 WITH_MBEDTLS,然后在https_client.c中又使用到了mbedtls相关的函数,所以产生了上面的错误。 我在awake_config.py中加上 COMMON_CCFLAGS = COMMON_CCFLAGS + ' -DWITH_MBEDTLS=1' 再编译就可以了。

hantianheng avatar Apr 12 '21 05:04 hantianheng

好的,谢谢

xianjimli avatar Apr 12 '21 08:04 xianjimli

好的,谢谢

xianjimli avatar Apr 12 '21 08:04 xianjimli