ID Number: Q38201
3.x 4.x 5.x | 5.x
MS-DOS | OS/2
Summary:
SYMPTOMS
The following link error is generated when the linker attempts to
resolve externals in a corrupted or null-length library:
L1102: unexpected end-of-file
CAUSE
This error most commonly occurs with a combined library that is
corrupted during the library creation stage of SETUP.
The L1102 error can also be generated if you inadvertently type in
the name of a used library at the "list file" prompt, as follows:
Run File [SPUD.EXE]: main.exe
List File [NUL.MAP]: libname.lib (generates faulty library)
Libraries [.LIB]: libname.lib
Definition File [NUL.DEF]: main.def
This process creates a map listing with the specified library name
in the current working directory. Because this directory is
searched before the directory specified in the LIB environment
variable, the incorrect library containing the map listing is used
during linkage, causing the error L1102.
RESOLUTION
Be sure to check the \LIB subdirectory for odd or null size
libraries. Library rebuilding is needed if insufficiently sized
libraries are found.
Additional reference words: 3.61 3.64 3.65 3.69 4.06 4.07 4.10 5.01.20
5.01.21 5.02 5.03 5.05 5.10 5.11 5.13 5.15