/lib/libm.so.5.0.5: undefined reference to `__errno_location'

Tue, 29 Oct 1996 08:04:01 -0800


hi,

i download this file gpc-1.1p2-linuxelf.tar.gz from some ftp site, and
i'm confused. The below executable is in this file, but there is no
source.

-rwxr-xr-x root/root     48100 Dec 20 09:53 1995 usr/bin/gpc


i get the following error on a simple pascal program. i don't know pascal
so i'm assuming it right

/lib/libm.so.5.0.5: undefined reference to `__errno_location'

program Mytestfile (input, output);
procedure HI;
  begin
    {GotoXY(1, 23);}
    {WRITE("Hi");}
  end;
 
BEGIN { main program }
 
     HI;
 
END.

next, i then downlaod the latest and i'm still getting the same error :<.

-rwxr-xr-x   1 root     root        50348 Aug 28 14:15 /usr/bin/gpc*

rf600:~$ gpc -v 
Reading specs from /usr/lib/gcc-lib/i486-linux/2.7.2/specs
gpc version 1.2(2.7.2)
rf600:~$ gpc tst.pas
 /lib/libm.so.5.0.5: undefined reference to `__errno_location'



any and all help will be greatly appreciated


michael b. williams
mbw@rf600.es.hac.com


Michael B. Williams (mbw@rf600.es.hac.com)

HTML conversion by Lluís de Yzaguirre i Maura
Institut de Lingüística Aplicada - Universitat "Pompeu Fabra"
e-mail: de_yza@upf.es