[clean-list] link error
Ronny Wichers Schreur
ronny@cs.kun.nl
Fri, 20 Feb 2004 15:19:13 +0100
Dieter Büttner writes (to the Clean Discussion list)::
>I downloaded the Clean-Version 2.1 for Linux, unzipped
>and unpacked it and started make. Thereby I got two
>kind of warnings
> "[..] not all derived strictness information is exported"
>
>Is this ok?
>
Yes, these warnings are harmless.
>Then I wrote a hello-world program hello_world.icl [..]
>and started clm hello_world, but got the link error:
>"undefined reference to 'e-system-dind' "
>Why? What wnt wrong and what should I do?
>
I assume you mean e_system_dind. This label is part of the
Clean run-time system that is linked with every Clean
program. I don't understand why the linker can't find it.
You could try to pass a verbose flag to the linker:
% clm -l --verbose hello_world
there should be a _system.o in the linker's file list.
This file should contain the label:
% nm _system.o | grep ind
Perhaps this information can give you aclue about what's
going wrong. Otherwise send the output of these commands
to clean@cs.kun.nl and add information about your system
(which Linux-distribution and version, etc.).
>By the way, does someone know hot to install the man-page
>for the compiler?
>
It's installed as part of "make install", in particular
"make install_man". The exact location depends on the
variables at the start of the Makefile (default ./man).
You probably want to adjust your $MANPATH accordingly.
Cheers,
Ronny Wichers Schreur