Clean 1.3.1 on RedHat Linux 6.0

Jose Romildo Malaquias romildo@urano.iceb.ufop.br
Wed, 2 Jun 1999 13:36:00 -0300


I had been happily using the Clean compiler on my
RedHat Linux 5.2 system. After upgrading to the new
version of the system I was not able to compile my
programs anymore.

For example, when trying to compile the pascal.icl
example from the distro I got the error messages:

[1257] romildo@urano /var/tmp $ clm pascal
Compiling pascal
Warning [pascal.icl,49,AddRows]: function may fail
Generating code for pascal
Linking pascal
/opt/clean/lib/stdenv/Clean System Files/_startup.o: In function `realpath':
/opt/clean/lib/stdenv/Clean System Files/_startup.o(.text+0x2bfc): the `getwd' function is dangerous and should not be used.
/opt/clean/lib/stdenv/Clean System Files/_startup.o: In function `get_file_number_and_device_number':
/opt/clean/lib/stdenv/Clean System Files/_startup.o(.text+0x69): undefined reference to `_xstat'
/opt/clean/lib/stdenv/Clean System Files/_startup.o: In function `realpath':
/opt/clean/lib/stdenv/Clean System Files/_startup.o(.text+0x2e03): undefined reference to `_lxstat'
collect2: ld returned 1 exit status

Any help?

Prof. José Romildo Malaquias