Attention
IronPLC can only run very simple programs. The steps described are accurate but many language features are not yet supported.
P6005¶
- Code
P6005
- Message
Symlinks are not supported
This error occurs when the compiler encounters a symbolic link (symlink) in the file path. The compiler does not support symbolic links for security and consistency reasons.
Example¶
This error occurs when trying to compile a file that is accessed through a symbolic link:
# Create a symbolic link to a Structured Text file
ln -s /path/to/actual/program.st /path/to/link.st
# This will generate error P6005:
ironplcc check /path/to/link.st
The compiler encounters the symbolic link link.st and cannot process it because symbolic links are not supported.
To fix this error, use the actual file path instead of the symbolic link:
# Use the actual file path instead
ironplcc check /path/to/actual/program.st
Alternatively, you can copy the file to a new location without using symbolic links:
# Copy the file instead of linking
cp /path/to/actual/program.st /path/to/program_copy.st
ironplcc check /path/to/program_copy.st