🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.gcc.help
Article #42338

WAIS Perl5 module compile problem

#42338
From: Frank Bennett
Date: Wed, 13 Dec 1995 00:00
45 lines
2326 bytes
[ Article crossposted from comp.lang.perl.misc ]
[ Author was Frank Bennett ]
[ Posted on 13 Dec 1995 14:20:31 GMT ]

More information on this problem I'm having.  Perl5.001m now
compiles correctly, and passes all tests.  The error concerning
the uninitialized variable when running `perl Makefile.PL' has
gone away.  But the final error, concerning `ceil' and `floor',
persists: the module will not load.

I'm now wondering whether the problem might still be in
our Perl.  To get it to compile, I had to link libm.a
statically; libm.so.5.0.4 linking fails with the following
error:

[...]
rm -f libperl.a
ar rcu libperl.a perl.o  gv.o toke.o perly.o op.o regcomp.o dump.o util.o mg.o hv.o av.o run.o pp_hot.o sv.o pp.o scope.o pp_ctl.o pp_sys.o doop.o doio.o regexec.o taint.o deb.o globals.o
gcc   -o miniperl miniperlmain.o libperl.a -lgdbm -ldb -ldl -lm -lc -lbsd 
/lib/libm.so.5.0.4: undefined reference to `__errno_location'
make: *** [miniperl] Error 1


I have searched all of the header files on my system, which
should be a clean reflection of the GCC 2.7.0 distribution,
and there is no definition anywhere of _errno_location.
Is this a known problem, or does it point to something
peculiar to my system?

Any suggestions gratefully received.

Cheers,
--
Frank G Bennett, Jr                     | "On reflection, it seems
Law Department, SOAS, London            |  to me that life could be
Tel: (0171)323-6351                     |  quite pleasant indeed
email: fbennett@rumple.soas.ac.uk       |  without a working C
WWW: http://rumple.soas.ac.uk/~fbennett/|  compiler."

--
Frank G Bennett, Jr                     | "On reflection, it seems
Law Department, SOAS, London            |  to me that life could be
Tel: (0171)323-6351                     |  quite pleasant indeed
email: fbennett@rumple.soas.ac.uk       |  without a working C
WWW: http://rumple.soas.ac.uk/~fbennett/|  compiler."
Technical Details
Message-ID: <4amrnq$g9k@clus1.ulcc.ac.uk>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 11318c,20e44f6bb490d35
X-Google-Attributes: gid11318c,public
From: fbennett@rumple.soas.ac.uk (Frank Bennett)
Subject: WAIS Perl5 module compile problem
Date: 1995/12/13
Message-ID: <4amrnq$g9k@clus1.ulcc.ac.uk>
X-Deja-AN: 121757924
organization: University of London Computer Centre
newsgroups: gnu.gcc.help