Article # 118, added by Geoworks, historical record
| first | previous | index | next | last |

Strange glue error.






Glue error:
  PASS2MS.C: Line 483: assert(os-1 != ObjFirstEntry(osh, ObjSym)) failed.

Solution:
  You have a resource incorrectly marked as "data." In the
resource definition where you have: 

@start ResourceName, data;

take out the ", data" and it should work. The reason this is a problem is
you probably have an @chunkArray defined as the first chunk in the
resource. Another way to fix the bug is to define a dummy chunk. For
instance: 

@start CellData, data;
@chunkArray byte myArray = { 3, 3, 4, 5, 6 };
@end CellData;

will cause an error. If you change it to:

@start CellData, data;
@chunk byte dummy = 3;
@chunkArray byte myArray = { 3, 3, 4, 5, 6 };
@end CellData;

or

@start CellData;
@chunkArray byte myArray = { 3, 3, 4, 5, 6 };
@end CellData;

Either way you will avoid the GOC bug.