KUKA Robot codes
KUKA RobotSystemBasic

KRC1041

KUKA Robot KRC1041 - <object> LINK ? 4305

<object> LINK ? 4305

This alarm indicates a linker error during KRL program compilation or loading, specifically that a referenced object (module, function, or variable) cannot be found or properly linked. The error code 4305 denotes an unresolved external reference or symbol that the linker cannot match to any defined object in the project.

Common Causes

  • Referenced function or module is not included in the project or program structure
  • Typo or case sensitivity mismatch in the object name declaration or call
  • Missing or incorrect #INCLUDE statement for the required module or header file
  • Object was deleted or renamed but references to it were not updated throughout the code
  • Compilation order issue where dependent modules are not compiled before the calling module

Troubleshooting Steps

  1. 1Check the error message details to identify the exact object name that cannot be linked
  2. 2Verify that the referenced object exists and is properly declared in one of the project modules
  3. 3Review all #INCLUDE statements to ensure required modules are correctly referenced with proper file paths
  4. 4Search the entire project for the object name and confirm spelling, capitalization, and scope match the declaration
  5. 5Rebuild the entire project from clean state by deleting compiled files and recompiling all modules in dependency order
  6. 6If using external libraries or source files, ensure they are added to the project and that their paths are correctly configured in the project settings

Seeing Multiple Alarms?

Seeing another alarm with this one? Enter the code.

Get machine-aware diagnosis

AxisMD logs alarms against your actual machines, tracks patterns, and gives AI context your manual doesn't have.

Start free

Was this guide helpful?

Always verify with your machine manual or a certified technician before performing service procedures.