This is the mail archive of the cygwin@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

cannot build Exim-4.10-2 with embedded perl-5.8.0-1


using gcc-3.2.1.

perl-5.8.0-1 src - unpacked and built as is from
perl-5.8.0-1-src.tar.bz2

\usr\src\exim-4.10-2\Local\Makefile is:
#########
LOOKUP_LDAP=yes
LDAP_LIB_TYPE=OPENLDAP2

SUPPORT_TLS=yes
TLS_LIBS=-lssl -lcrypto
TLS_INCLUDE=-I/usr/local/ssl/ -I/usr/local/ssl/include
-I/usr/src/perl-5.8.0-1/perl-5.8.0/win32
-I/usr/src/perl-5.8.0-1/buildperl

LOOKUP_LIBS=-L/usr/local/ssl/lib -L/usr/local/lib -lldap -llber
-L/usr/src/perl-5.8.0-1/buildperl

EXIM_PERL=/usr/src/perl-5.8.0-1/buildperl/perl.o
PERL_COMMAND=/usr/bin/perl
#########

make > make_with_perl.log 2>&1 output is:

-------------
`Makefile' is up to date.
 
make[1]: Entering directory `/usr/src/exim-4.10-2/build-CYGWIN-i386'
make[2]: Entering directory
`/usr/src/exim-4.10-2/build-CYGWIN-i386/pcre'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory
`/usr/src/exim-4.10-2/build-CYGWIN-i386/pcre'
make[2]: Entering directory
`/usr/src/exim-4.10-2/build-CYGWIN-i386/lookups'
make[2]: `lookups.a' is up to date.
make[2]: Leaving directory
`/usr/src/exim-4.10-2/build-CYGWIN-i386/lookups'
 
make[2]: Entering directory
`/usr/src/exim-4.10-2/build-CYGWIN-i386/routers'
make[2]: `routers.a' is up to date.
make[2]: Leaving directory
`/usr/src/exim-4.10-2/build-CYGWIN-i386/routers'
 
make[2]: Entering directory
`/usr/src/exim-4.10-2/build-CYGWIN-i386/transports'
make[2]: `transports.a' is up to date.
make[2]: Leaving directory
`/usr/src/exim-4.10-2/build-CYGWIN-i386/transports'
 
make[2]: Entering directory
`/usr/src/exim-4.10-2/build-CYGWIN-i386/auths'
make[2]: `auths.a' is up to date.
make[2]: Leaving directory
`/usr/src/exim-4.10-2/build-CYGWIN-i386/auths'
 
 
awk '{ print ($1+1) }' cnumber.h > cnumber.temp
rm -f cnumber.h; mv cnumber.temp cnumber.h
gcc -c -g -Wall -O2 -I ../minires -I ../../minires   -I/usr/local/ssl/
-I/usr/local/ssl/include -I/usr/src/perl-5.8.0-1/perl-5.8.0/win32
-I/usr/src/perl-5.8.0-1/buildperl version.c
rm -f exim
gcc -o exim  acl.o child.o daemon.o dbfn.o debug.o deliver.o
directory.o dns.o drtables.o enq.o exim.o expand.o filter.o globals.o
header.o host.o ip.o log.o match.o moan.o os.o parse.o queue.o rda.o
readconf.o receive.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 local_scan.o
/usr/src/perl-5.8.0-1/buildperl/perl.o version.o \
  pcre/libpcre.a \
  routers/routers.a transports/transports.a lookups/lookups.a \
  auths/auths.a \
   -lcrypt -liphlpapi     \
   -lgdbm -L/usr/local/ssl/lib -L/usr/local/lib -lldap -llber
-L/usr/src/perl-5.8.0-1/buildperl -s  -s -L/usr/local/lib
/usr/lib/perl5/5.8.0/cygwin-multi-64int/auto/DynaLoader/DynaLoader.a
-L/usr/lib/perl5/5.8.0/cygwin-multi-64int/CORE -lperl -lcrypt -lutil
-lssl -lcrypto
/usr/src/perl-5.8.0-1/buildperl/perl.o(.text+0x3889):perl.c: variable
'_PL_ppaddr' can't be auto-imported. Please read the documentation for
ld's --enable-auto-import for details.
/usr/src/perl-5.8.0-1/buildperl/perl.o(.text+0x3891):perl.c: variable
'_PL_ppaddr' can't be auto-imported. Please read the documentation for
ld's --enable-auto-import for details.
exim.o: In function `main':
/usr/src/exim-4.10-2/build-CYGWIN-i386/exim.c:2375: undefined
reference to `_init_perl'
expand.o: In function `expand_string_internal':
/usr/src/exim-4.10-2/build-CYGWIN-i386/expand.c:2153: undefined
reference to `_init_perl'
/usr/src/exim-4.10-2/build-CYGWIN-i386/expand.c:2166: undefined
reference to `_call_perl_cat'
Info: resolving _PL_curinterp by linking to __imp__PL_curinterp
(auto-import)
Info: resolving _PL_No by linking to __imp__PL_No (auto-import)
Info: resolving _PL_Yes by linking to __imp__PL_Yes (auto-import)
Info: resolving _PL_threadhook by linking to __imp__PL_threadhook
(auto-import)
Info: resolving _PL_do_undump by linking to __imp__PL_do_undump
(auto-import)
Info: resolving _PL_ppaddr by linking to __imp__PL_ppaddr
(auto-import)
collect2: ld returned 1 exit status
make[1]: *** [exim] Error 1
make[1]: Leaving directory `/usr/src/exim-4.10-2/build-CYGWIN-i386'
make: *** [go] Error 2

-------------

so I read `man ld' about auto-import and what should I do - patch perl
sources ?
or throw this idea out ? ;-)

===                       | /"\  ASCII RIBBON CAMPAIGN
WBR, Dmitry A.Provodnikov | \ /  AGAINST HTML (RTF)
FIDO: 2:5000/97.31        |  X   MAIL AND NEWS
ICQ UIN: 73037881         | / \

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]