On (2002/11/19 08:55), Frederic SOSSON wrote:
> I'm trying to compile exim 3.36 on my debian woody 3.0r0 and i've got this
> message...
>
> gcc -o exim accept.o child.o daemon.o dbfn.o debug.o deliver.o direct.o
> directory.o dns.o drtables.o exim.o expand.o filter.o globals.o header.o
> host.o log.o match.o moan.o os.o parse.o queue.o readconf.o retry.o
> rewrite.o route.o search.o smtp_in.o smtp_out.o spool_in.o spool_out.o
> store.o string.o tls.o tod.o transport.o tree.o verify.o perl.o version.o \
> libident/libident.a pcre/libpcre.a directors/directors.a \
> routers/routers.a transports/transports.a lookups/lookups.a \
> auths/auths.a \
> -lnsl -lcrypt \
> -ldb -lresolv -L/usr/lib/mysql -lmysqlclient -rdynamic -L/usr/local/lib
> /usr/lib/perl/5.6.1/auto/DynaLoader/DynaLoader.a -L/usr/lib/perl/5.6.1/CORE
> -ldl -lm -lc -lcrypt
> perl.o: In function `xs_expand_string':
> perl.o(.text+0xa): undefined reference to `PL_stack_sp'
You seem to be missing a linker directive to link against libperl (e.g.
-lperl).
PERL_LIBS (which is where this directive would come from) is determined
by scripts/Configure-Makefile using this command:
perl -MExtUtils::Embed -e ldopts
When I run this command on my own system, I get '-lperl'
amongst other things.
I'll bet this command is failing when scripts/Configure-Makefile tries
to run it. :-)
Ciao,
Sheldon.