-STABLE nnrpd build report w/fix

Frank McConnell fmc at reanimators.org
Thu Jul 1 18:58:58 UTC 2004


FreeBSD 4.10-STABLE from about a month ago (how time flies).
Perl 5.6.1 installed from ports and "use.perl port" done.
Building inn-STABLE-20040701 from the tarball.

$ ./configure \
  --with-perl --enable-uucp-rnews --enable-setgid-inews --with-openssl=/usr
$ make
cd include   && make all
cd lib       && make all
cd storage   && make library
cd history   && make all
cd innd      && make all
cd nnrpd     && make all
gcc  -o nnrpd article.o cache.o group.o commands.o line.o list.o misc.o newnews.o nnrpd.o perl.o perm.o post.o python.o sasl_config.o tls.o track.o /usr/home/fmc/inn/work/inn-STABLE-20040701/history/libinnhist.a /usr/home/fmc/inn/work/inn-STABLE-20040701/storage/libstorage.a /usr/home/fmc/inn/work/inn-STABLE-20040701/lib/libinn.a    -L/usr/lib -lssl -lcrypto  /usr/home/fmc/inn/work/inn-STABLE-20040701/lib/perl.o -Wl,-E  -L/usr/local/lib /usr/local/lib/perl5/5.6.1/mach/auto/DynaLoader/DynaLoader.a -L/usr/local/lib/perl5/5.6.1/mach/CORE -lperl -lm -lcrypt -lutil
/usr/local/lib/perl5/5.6.1/mach/auto/DynaLoader/DynaLoader.a(DynaLoader.o): In function `SaveError':
DynaLoader.o(.text+0x1a6): undefined reference to `Perl_vmess'
*** Error code 1

The problem is that it's picking up /usr/lib/libperl.a which is from
the base system Perl, 5.005_03.  Fixed in nnrpd/Makefile by moving
$(PERLLIB) before $(SSLLIB) in NNRPDLIBS.

It builds, no comments as yet on whether it runs.

-Frank McConnell


More information about the inn-workers mailing list