Clean 1.3.1 on RedHat Linux 6.0

Nickolay Kolchin snob@snob.spb.ru
Wed, 2 Jun 1999 21:00:15 +0400


=F3=D2=C4, 02 =E9=C0=CE 1999, Jose Romildo Malaquias wrote
> 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.
>=20
> For example, when trying to compile the pascal.icl
> example from the distro I got the error messages:
>=20
> [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 `realp=
ath':
> /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_f=
ile_number_and_device_number':
> /opt/clean/lib/stdenv/Clean System Files/_startup.o(.text+0x69): undefi=
ned reference to `_xstat'
> /opt/clean/lib/stdenv/Clean System Files/_startup.o: In function `realp=
ath':
> /opt/clean/lib/stdenv/Clean System Files/_startup.o(.text+0x2e03): unde=
fined reference to `_lxstat'
> collect2: ld returned 1 exit status
>=20
> Any help?
>

This is GLIBC2.1 problem. Try to install glibc2.0 (glibc-compat*.rpm ???)=
 and
link against them.

------
           Intel: where Quality is job number 0.9998782345!
------
Nickolay Semyonov