0629-current snapshot compile failure on FreeBSD 4.0

Russ Allbery rra at stanford.edu
Wed Jul 12 00:49:13 UTC 2000

Jaye Mathisen <mrcpu at internetcds.com> writes:

> ./configure --with-perl

> gcc  -o innd art.o cc.o chan.o his.o icd.o innd.o lc.o nc.o  newsfeeds.o
> ng.o perl.o proc.o python.o rc.o site.o  status.o tcl.o timer.o wip.o
> ../storage/libstorage.a ../lib/libinn.a    ../lib/perl.o  -lutil -lcrypt 
> perl.o: In function `PLartfilter':
> /news/src/inn-CURRENT-20000629/innd/perl.c(.text+0xa): undefined reference
> to `PL_stack_sp'

The Perl linkage isn't correct.  You should have a Perl library or three
in there, along with a bunch more flags than you do.  That means that
configure failed to get the right linkage for embedded Perl when it ran.

In Makefile.global, the PERL* stuff is probably all wrong, possibly all

Could you run:

    perl -MConfig -e 'print $Config{archlib}'
    perl -MExtUtils::Embed -e ldopts | tail -1

from the command line and let us know what they print?

Russ Allbery (rra at stanford.edu)             <http://www.eyrie.org/~eagle/>

More information about the inn-workers mailing list