[Repost] Clean 1.3.1 on RedHat Linux 6.0
Jose Romildo Malaquias
romildo@urano.iceb.ufop.br
Fri, 11 Jun 1999 16:53:26 -0300
Has anybody til now successfuly run the latest Clean compiler
on RedHat Linux 6.0 (glibc 2.1.1; egcs 1.1.2) successfuly?
It stops on me with the 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
-------------------------------------------------------------------------
Would a recompilation of the Clean compiler from source solve the
problem? (I believe the distributed binaries are linked againts libc5.)
Any help?
Prof. José Romildo Malaquias
Departamento de Computação
Universidade Federal de Ouro Preto
Brasil