wrong config.sub and -fPIC error in cyrus 2.3.12

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 





### 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@xxxxxxxxxxxxxxxxxxxx
Waechterstrasse 76
72074 Tuebingen

Attachment: smime.p7s
Description: S/MIME krytographische Unterschrift

----
Cyrus Home Page: http://cyrusimap.web.cmu.edu/
Cyrus Wiki/FAQ: http://cyrusimap.web.cmu.edu/twiki
List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html

[Index of Archives]     [Cyrus SASL]     [Squirrel Mail]     [Asterisk PBX]     [Video For Linux]     [Photo]     [Yosemite News]     [gtk]     [KDE]     [Gimp on Windows]     [Steve's Art]

  Powered by Linux