sstanv
Hello everyone. When trying to upload an .st file developed in OpenPLC Editor v4.0.5 in OpenPLC Runtime, deployed on BeagleBone Black rev C (Linux Debian), the following error occurs:

Generating C files...
POUS.c
POUS.h
LOCATED_VARIABLES.h
VARIABLES.csv
Config0.c
Config0.h
Res0.c
Including Siemens S7 Protocol via snap7
Moving Files...
Compiling for Linux
Generating object files...
Generating glueVars...
Compiling main program...
/usr/bin/ld: /tmp/ccocTFZY.o: in the function "debugGetMd5(unsigned char*, void*)":
modbus.cpp: (.text+0x19a0): an undefined reference to "md5"
collect2: error: ld returned 1 exit status
Error compiling C files
Compilation finished with errors!

How to solve it?
Reply 0 0
thiagoralves
Thanks for catching it. It is a bug on the xml2st compiler. We’ll release a patch on Monday that fixes it
Reply 1 0
sstanv
Thanks!
Thanks for catching it. It is a bug on the xml2st compiler. We’ll release a patch on Monday that fixes it
Reply 0 0
thiagoralves
Fix was posted yesterday (sorry I forgot to make the announcement here). You can just download again and reinstall and it will work: https://github.com/Autonomy-Logic/openplc-editor/releases
Reply 1 0
Write a reply...
Reply