Linker Errors
If you are unable to link procedures that you have included in an application, check the following areas.
Link Options File
The link options file contains the names of object files for library procedures. Procedures that are called by the 4GL application, but that are not explicitly defined to the application, must be listed here. If you are running a 3GL procedure, take the following steps to ensure that the link options file exists and that it is defined correctly:
1. In the Applications Catalog window, click MoreInfo.
The MoreInfo about an Application window displays.
2. Click Defaults.
The Application Defaults window is displayed. This window must contain the name of the default link options file.
3. If no file name is displayed, check the ING_ABFOPT1 logical or environment variable, which also can point to the name of the default link options file.
4. Check that the link options file lists the appropriate object file for each procedure.
Interpreter Files
Ingres creates the following file in the ING_ABFDIR directory for applications that use 3GL procedures:
Windows: iiinterp.exe
UNIX: iiinterp
VMS: iiinterp.exe
This file contains a special version of the interpreter.
Because this file can be very large, check the directory to make sure that the file system is not full, or if you are using UNIX or VMS, that you have not exceeded the disk quota.
Symbol References
When referring to procedures in source code files, make sure that:
• You use the correct procedure name in any references in the source code file.
• You have defined to ABF or Vision all procedures called from 4GL.
• All library procedures exist in the library that you specify in the link options file.
• Multiple procedures do not have the same name.
• Sharable libraries do not have conflicting symbol names in the link options file (for UNIX or VMS).
• The libraries and object files specified in the link options file exist.