C.7 Errors of assembling/linking stage

This section lists errors that occur when the compiler is processing the command line or handling the configuration files.

Warning 9000: Source operating system redefined

The source operating system is redefined.
Info 9001: Assembling (pipe) arg. 1

Assembling using a pipe to an external assembler.
Error 9002: Can’t create assembler file: arg. 1

The mentioned file cannot be created. Check if you have access permissions to create this file.
Error 9003: Can’t create object file: arg. 1(error code: arg. 2)

The mentioned file cannot be created. Check if you have got access permissions to create this file.
Error 9004: Can’t create archive file: arg. 1

The mentioned file cannot be created. Check if you have access permissions to create this file.
Error 9005: Assembler arg. 1not found, switching to external assembling

The assembler program was not found. The compiler will produce a script that can be used to assemble and link the program.
Using assembler: arg. 1

An informational message saying which assembler is being used.
Error 9007: Error while assembling exitcode arg. 1

There was an error while assembling the file using an external assembler. Consult the documentation of the assembler tool to find out more information on this error.
Error 9008: Can’t call the assembler, error arg. 1switching to external assembling

An error occurred when calling an external assembler. The compiler will produce a script that can be used to assemble and link the program.
Info 9009: Assembling arg. 1

An informational message stating which file is being assembled.
Info 9010: Assembling with smartlinking arg. 1

An informational message stating which file is being assembled using smartlinking.
Warning 9011: Object arg. 1not found, Linking may fail !

One of the object files is missing, and linking will probably fail. Check your paths.
Warning 9012: Library arg. 1not found, Linking may fail !

One of the library files is missing, and linking will probably fail. Check your paths.
Error 9013: Error while linking

Generic error while linking.
Error 9014: Can’t call the linker, switching to external linking (error was ”arg. 1”)

An error occurred when calling an external linker. The compiler will produce a script that can be used to assemble and link the program.
Info 9015: Linking arg. 1

An informational message, showing which program or library is being linked.
Error 9016: Util arg. 1not found, switching to external linking

An external tool was not found. The compiler will produce a script that can be used to assemble and link or postprocess the program.
Using util arg. 1

An informational message, showing which external program (usually a postprocessor) is being used.
Error 9018: Creation of Executables not supported

Creating executable programs is not supported for this platform, because it was not yet implemented in the compiler.
Error 9019: Creation of Dynamic/Shared Libraries not supported

Creating dynamically loadable libraries is not supported for this platform, because it was not yet implemented in the compiler.
Info 9020: Closing script arg. 1

Informational message showing when writing of the external assembling and linking script is finished.
Error 9021: Resource compiler ”arg. 1” not found, switching to external mode

An external resource compiler was not found. The compiler will produce a script that can be used to assemble, compile resources and link or postprocess the program.
Info 9022: Compiling resource arg. 1

An informational message, showing which resource is being compiled.
Unit arg. 1cannot be statically linked, switching to smart linking

Static linking was requested, but a unit which is not statically linkable was used.
Unit arg. 1cannot be smart linked, switching to static linking

Smart linking was requested, but a unit which is not smart-linkable was used.
Unit arg. 1cannot be shared linked, switching to static linking

Shared linking was requested, but a unit which is not shared-linkable was used.
Error 9026: Unit arg. 1cannot be smart or static linked

Smart or static linking was requested, but a unit which cannot be used for either was used.
Error 9027: Unit arg. 1cannot be shared or static linked

Shared or static linking was requested, but a unit which cannot be used for either was used.
Calling resource compiler ”arg. 1” with ”arg. 2” as command line

An informational message showing which command line is used for the resource compiler.
Error 9029: Error while compiling resources

The resource compiler or converter returned an error.
Error 9030: Can’t call the resource compiler ”arg. 1”, switching to external mode

An error occurred when calling a resource compiler. The compiler will produce a script that can be used to assemble, compile resources and link or postprocess the program.
Error 9031: Can’t open resource file ”arg. 1

An error occurred resource file cannot be opened.
Error 9032: Can’t write resource file ”arg. 1

An error occurred resource file cannot be written.
Note 9033: File ”arg. 1” not found for backquoted cat command

The compiler did not find the file that should be expanded into linker parameters
Warning 9034: ”arg. 1” not found, this will probably cause a linking failure

The compiler adds certain startup code files to the linker only when they are found. If they are not found, they are not added and this might cause a linking failure. If the system has gcc installed, running gcc --print-file-name <filename> might return the path to the file. Add this path in your fpc.cfg using the switch -Fl to fix this error. This requires though, that gcc targets the same target as FPC.
Error 9035: Creation of Static Libraries not supported

Creating static libraries is not supported for this platform, because it was not yet implemented in the compiler.
Fatal error 9036: To generate the correct linker call, a controller type must be set by the directive -Wp

Xtensa micro controller require a detailed specification linker command which depends on the target controller. If no target controller is set, this command cannot be build and thus linking cannot be carried out.