Thread overview
Library Problems
May 26, 2006
GTG
May 26, 2006
GTG
May 27, 2006
Walter Bright
May 26, 2006
A seemingly new problem with the library (lib) tool has cropped up since I went to version 8.48.  Any way I try to add an object to a library results in the message Assertion failure: 'len <= IDMAX' as shown in this example.

****************************************************************************
C:\C_LIBVC>dir *.obj
Volume in drive C is Drive0
Volume Serial Number is 0084-2562

Directory of C:\C_LIBVC

05/26/2006  08:54a             275,132 gmthermo.obj
1 File(s)        275,132 bytes
0 Dir(s)  17,712,508,928 bytes free

C:\C_LIBVC>c:\development\dm\bin\lib -c c:\c_libvc\test.lib gmthermo.obj
Digital Mars Librarian Version 8.00n
Copyright (C) Digital Mars 2000-2002 All Rights Reserved www.digitalmars.com
Assertion failure: 'len <= IDMAX' on line 129 in file 'libin.cpp'

abnormal program termination

C:\C_LIBVC> ****************************************************************************

Any suggestions as to how to do this properly would be appreciated.

Thanks.


May 26, 2006
In article <e572ob$56q$1@digitaldaemon.com>, GTG says...
>
>A seemingly new problem with the library (lib) tool has cropped up since I went to version 8.48.  Any way I try to add an object to a library results in the message Assertion failure: 'len <= IDMAX' as shown in this example.

I've come to the realization that this is not a new problem.  It seems to be limited to this particular object file (size?).  HOWEVER, I would still appreciate any insight into the error message and how I might fix the problem.

Thanks.


May 27, 2006
GTG wrote:
> In article <e572ob$56q$1@digitaldaemon.com>, GTG says...
>> A seemingly new problem with the library (lib) tool has cropped up since I went
>> to version 8.48.  Any way I try to add an object to a library results in the
>> message Assertion failure: 'len <= IDMAX' as shown in this example.
> 
> I've come to the realization that this is not a new problem.  It seems to be
> limited to this particular object file (size?).  HOWEVER, I would still
> appreciate any insight into the error message and how I might fix the problem.

The only way to deal with it is to shorten the names in the .obj file.