[clean-list] Static Linker Problem with the ObjectIO1.2.1

Fabien Todescato f.todescato@larisys.fr
Tue, 15 May 2001 11:55:51 +0200


Dear Clean Team,

I am at the moment building an application with an ObjectIO1.2.1 based GUI,
and am having some troubles with the static linker.
	Whenever I add menu items and sub menus past some limit in a window
menu, I get when building the project the linker error message :

	Linker error : corrupt file '<module name>.o'

I suspect this comes from the identifiers generated by the code generator
being too long for the linker, and this in turn may come from the types
generated by the compiler being too long - e.g. getMenuElementType
(:+:,MenuItem,:+:(MenuSeparator(:+:((...)) :: (:+: MenuItem (:+:
MenuSeparator (:+: MenuItem (:+: MenuItem (:+: MenuSeparator (:+: MenuItem
(:+: MenuItem (:+: MenuSeparator (:+: (SubMenu (:+: MenuItem MenuItem)) (:+:
MenuSeparator (SubMenu (:+: MenuItem (:+: MenuItem (:+: MenuSeparator (:+:
MenuItem (:+: MenuItem (:+: MenuItem (:+: MenuSeparator (:+: MenuItem (:+:
MenuSeparator MenuItem))))))))))))))))))) .a .b) -> {#Char}; -.

I may try as a workaround to change the structure of my menus, but is there
some other quick fix to the problem ?

Thanks, Fabien TODESCATO

PS.The linker is the one downloaded from the Clean Home Page a few minutes
ago.