Build issue with CH32V

Hy community,

I install the latest version of the embeetle IDE and I followed the install manual on the page.
If i start embeetle and open the project for the ch32v, then I get the following error measures:

Diagnostics → Don’t know how to compile source/xxxx
Error → Undefined function ‘main’
Error → undefined global symbol _start (linkerscript.ld)

My System: Linux Mint 21.2

I got also following errors, when I start embeetle:

[64808:64841:0203/133036.059798:ERROR:nss_util.cc(357)] After loading Root Certs, loaded==false: libnssckbi.so: Kann die Shared-Object-Datei nicht öffnen: Datei oder Verzeichnis nicht gefunden
[64808:64841:0203/133036.126220:ERROR:cert_issuer_source_aia.cc(34)] Error parsing cert retrieved from AIA (as DER):
ERROR: Couldn’t read tbsCertificate as SEQUENCE
ERROR: Failed parsing Certificate

[64808:64841:0203/133036.231665:ERROR:cert_verify_proc_builtin.cc(677)] CertVerifyProcBuiltin for embeetle.com failed:
----- Certificate i=3 (CN=DST Root CA X3,O=Digital Signature Trust Co.) -----
ERROR: No matching issuer found

[64808:64854:0203/133036.232336:ERROR:ssl_client_socket_impl.cc(992)] handshake failed; returned -1, SSL error code 1, net_error -202
Fontconfig error: Cannot load default config file
js: crbug/1173575, non-JS module files deprecated.

1 Like

Hi Garvin, thank you for reporting this issue.

Are you getting these errors only for the ch32v project, or also for other projects? I am trying to understand if this issue is specific for ch32v or a general installation problem of Embeetle.

Could you please also try the following command, to see if it fixes the issue:

sudo apt install libnss3:amd64

If this fixes the issue, then we have identified a missing shared object file in our release. We will add it in the next release.

Hi Garvin,

I have tried to reproduce your issue by downloading Linux Mint 21.2 to a boot stick from Linux Mint 21.2 "Victoria" - Linux Mint, and running a freshly downloaded Embeetle to open a new ch32v003f4p6 project, without doing any extra installs. I had no issues at all.

Could you please tell us:

  • exactly which Mint 21.2 variant you are running, ideally the link where I candownload that distro?
  • exactly what did you do to get these errors?