wrong config.sub and -fPIC error in cyrus 2.3.12

Michael Menge michael.menge at zdv.uni-tuebingen.de
Tue Apr 29 08:59:18 EDT 2008



### Making all in /zdv-system/cyrus-imapd-2.3.12/perl/imap
Checking if your kit is complete...
Looks good
Writing Makefile for Cyrus::IMAP
make[2]: Entering directory `/zdv-system/cyrus-imapd-2.3.12/perl/imap'
cp IMAP/Admin.pm blib/lib/Cyrus/IMAP/Admin.pm
cp IMAP.pm blib/lib/Cyrus/IMAP.pm
cp IMAP/Shell.pm blib/lib/Cyrus/IMAP/Shell.pm
cp IMAP/IMSP.pm blib/lib/Cyrus/IMAP/IMSP.pm
/usr/bin/perl /usr/lib/perl5/5.8.8/ExtUtils/xsubpp  -typemap  
/usr/lib/perl5/5.8.8/ExtUtils/typemap -typemap typemap  IMAP.xs >  
IMAP.xsc && mv IMAP.xsc IMAP.c
cc -c  -I../../lib -I../.. -I../../com_err/et   -D_REENTRANT  
-D_GNU_SOURCE -DTHREADS_HAVE_PIDS -DDEBUGGING -fno-strict-aliasing  
-pipe -Wdeclaration-after-statement -D_LARGEFILE_SOURCE  
-D_FILE_OFFSET_BITS=64 -O2 -fmessage-length=0 -Wall  
-D_FORTIFY_SOURCE=2 -g -Wall -pipe   -DVERSION=\"1.00\"  
-DXS_VERSION=\"1.00\" -fPIC  
"-I/usr/lib/perl5/5.8.8/x86_64-linux-thread-multi/CORE"   
-DPERL_POLLUTE IMAP.c
IMAP.c: In function ?XS_Cyrus__IMAP_new?:
IMAP.c:324: warning: unused variable ?RETVAL?
IMAP.c: In function ?XS_Cyrus__IMAP_flags?:
IMAP.c:500: warning: unused variable ?targ?
IMAP.c: In function ?XS_Cyrus__IMAP__authenticate?:
IMAP.c:591: warning: unused variable ?RETVAL?
IMAP.c: In function ?XS_Cyrus__IMAP__starttls?:
Hi,

i tried to compile cyrus 2.3.12p2 on a x86_64 system.

first i had to replaye config.sub which is shipped with cyrus with a  
nerwer version found on my system. This problem already exiss in 2.3.8

the make stopps with an error while making perl/imap.
Can someone confirm this bug? How do i solve it?

Regards

       Michael



IMAP.c:673: warning: unused variable ?RETVAL?
Running Mkbootstrap for Cyrus::IMAP ()
chmod 644 IMAP.bs
rm -f blib/arch/auto/Cyrus/IMAP/IMAP.so
LD_RUN_PATH="/usr/lib64" cc  -shared -L/usr/local/lib64 IMAP.o  -o  
blib/arch/auto/Cyrus/IMAP/IMAP.so ../../lib/libcyrus.a  
../../lib/libcyrus_min.a    \
    -ldb-4.3 -lsasl2 -lssl -lcrypto      \

/usr/lib64/gcc/x86_64-suse-linux/4.1.2/../../../../x86_64-suse-linux/bin/ld:  
../../lib/libcyrus.a(imclient.o): relocation R_X86_64_32 against `a  
local symbol' can not be used when making a shared object; recompile  
with -fPIC
../../lib/libcyrus.a: could not read symbols: Bad value
collect2: ld returned 1 exit status
make[2]: *** [blib/arch/auto/Cyrus/IMAP/IMAP.so] Fehler 1
make[2]: Leaving directory `/zdv-system/cyrus-imapd-2.3.12/perl/imap'
make[1]: *** [all] Fehler 1
make[1]: Leaving directory `/zdv-system/cyrus-imapd-2.3.12/perl'
make: *** [all] Fehler 1


--------------------------------------------------------------------------------
M.Menge                                 Tel.: (49) 7071/29-70316
Universitaet Tuebingen                  Fax.: (49) 7071/29-5912
Zentrum fuer Datenverarbeitung          mail:  
michael.menge at zdv.uni-tuebingen.de
Waechterstrasse 76
72074 Tuebingen
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 5339 bytes
Desc: S/MIME krytographische Unterschrift
Url : http://lists.andrew.cmu.edu/pipermail/info-cyrus/attachments/20080429/f8b50cbb/attachment.bin 


More information about the Info-cyrus mailing list