File in question: server/src/handler_upload.c
Method: handler_upload_engine
The compilation of a train engine could fail in the C compilation OR the shared library compilation. This is not reflected in the log message:
dynlib_status status = dynlib_compile_scchart(filepath, engine_dir);
if (status == DYNLIB_COMPILE_SCCHARTS_C_ERR || status == DYNLIB_COMPILE_SHARED_SCCHARTS_ERR) {
syslog_server(LOG_ERR, "Request: Upload - engine file %s could not be compiled", filepath);
[....]
}
Request: Note the reason which compilation failed in the log message.
File in question: server/src/handler_upload.c
Method: handler_upload_engine
The compilation of a train engine could fail in the C compilation OR the shared library compilation. This is not reflected in the log message:
Request: Note the reason which compilation failed in the log message.