[clean-list] Static Linker Problem with the ObjectIO1.2.1
Diederik van Arkel
diederik@cs.kun.nl
Tue, 15 May 2001 14:11:58 +0200
Van: "Fabien Todescato" <f.todescato@larisys.fr>
> 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}; -.
>
Hi Fabien,
I'm not convinced that your suspicion is correct as I have no problems here.
Could you
send me the sourcefiles for this project so I can try and track down the
problem?
Regards,
Diederik van Arkel
P.S. Could you also note the various dates and filesizes of the tools you
use in the
tools directory?