helpGNU ccRTP - Support: sr #106238, libzrtpcpp-1.0.0 - setting LDFLAGS...


sr #106238: libzrtpcpp-1.0.0 - setting LDFLAGS causes compile failure

Submitted by:  Daniel Black <danielblack>
Submitted on:  Sun 27 Jan 2008 12:54:44 AM UTC  
Category:  None Priority:  5 - Normal
Severity:  4 - Important Status:  Invalid
Privacy:  Public Assigned to:  None
Open/Closed:  Open Operating System:  GNU/Linux

Add a New Comment(Rich Markup)

You are not logged in

Please log in, so followups can be emailed to you.


Thu 04 Nov 2010 06:38:30 PM UTC, comment #1:

I cannot confirm this on current releases. If you can validate this on a current release, please op a new report at

David Sugar <dyfet>
Project Administrator
Sun 27 Jan 2008 12:54:44 AM UTC, original submission:

To reproduce:
export LDFLAGS="-Wl,--as-needed"

and the following appears:

/bin/sh ../libtool --tag=CXX --mode=link x86_64-pc-linux-gnu-g++ -g -D_GNU_SOURCE -version-info 1:0:0 -release -Wl,--as-needed -o -rpath /usr/lib64 ZIDFile.lo ZIDRecord.lo ZRtp.lo ZrtpCrc32.lo ZrtpPacketCommit.lo ZrtpPacketConf2Ack.lo ZrtpPacketConfirm.lo ZrtpPacketDHPart.lo ZrtpPacketGoClear.lo ZrtpPacketClearAck.lo ZrtpPacketHelloAck.lo ZrtpPacketHello.lo ZrtpPacketError.lo ZrtpPacketErrorAck.lo ZrtpStateClass.lo ZrtpTextData.lo Base32.lo ZrtpQueue.lo gcryptZrtpDH.lo gcrypthmac256.lo gcryptsha256.lo gcryptAesCFB.lo InitializeGcrypt.lo -L/usr/lib64 -pthread -lccgnu2 -ldl -lrt -L/usr/lib64 -pthread -lccrtp1 -lccgnu2 -ldl -lrt -L/usr/lib64 -lgcrypt -lgpg-error -lpthread
x86_64-pc-linux-gnu-g++ -shared -nostdlib /usr/lib/gcc/x86_64-pc-linux-gnu/4.2.0/../../../../lib64/crti.o /usr/lib/gcc/x86_64-pc-linux-gnu/4.2.0/crtbeginS.o .libs/ZIDFile.o .libs/ZIDRecord.o .libs/ZRtp.o .libs/ZrtpCrc32.o .libs/ZrtpPacketCommit.o .libs/ZrtpPacketConf2Ack.o .libs/ZrtpPacketConfirm.o .libs/ZrtpPacketDHPart.o .libs/ZrtpPacketGoClear.o .libs/ZrtpPacketClearAck.o .libs/ZrtpPacketHelloAck.o .libs/ZrtpPacketHello.o .libs/ZrtpPacketError.o .libs/ZrtpPacketErrorAck.o .libs/ZrtpStateClass.o .libs/ZrtpTextData.o .libs/Base32.o .libs/ZrtpQueue.o .libs/gcryptZrtpDH.o .libs/gcrypthmac256.o .libs/gcryptsha256.o .libs/gcryptAesCFB.o .libs/InitializeGcrypt.o -L/usr/lib64 /usr/lib64/ /usr/lib64/ -ldl -lrt /usr/lib64/ /usr/lib64/ -lpthread -L/usr/lib/gcc/x86_64-pc-linux-gnu/4.2.0 -L/usr/lib/gcc/x86_64-pc-linux-gnu/4.2.0/../../../../lib64 -L/lib/../lib64 -L/usr/lib/../lib64 -L/usr/lib/gcc/x86_64-pc-linux-gnu/4.2.0/../../../../x86_64-pc-linux-gnu/lib -L/usr/lib/gcc/x86_64-pc-linux-gnu/4.2.0/../../.. -lstdc++ -lm -lc -lgcc_s /usr/lib/gcc/x86_64-pc-linux-gnu/4.2.0/crtendS.o /usr/lib/gcc/x86_64-pc-linux-gnu/4.2.0/../../../../lib64/crtn.o -pthread -pthread -Wl,-soname -Wl,libzrtpcpp--Wl, -o .libs/libzrtpcpp--Wl,
/usr/lib/gcc/x86_64-pc-linux-gnu/4.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: unrecognized option ''
/usr/lib/gcc/x86_64-pc-linux-gnu/4.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: use the --help option for usage information
collect2: ld returned 1 exit status
make[3]: *** [] Error 1
make[3]: Leaving directory `/var/tmp/portage/net-libs/libzrtpcpp-1.0.0/work/libzrtpcpp-1.0.0/src'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/net-libs/libzrtpcpp-1.0.0/work/libzrtpcpp-1.0.0/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/net-libs/libzrtpcpp-1.0.0/work/libzrtpcpp-1.0.0'
make: *** [all] Error 2

Daniel Black <danielblack>


(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:

No files currently attached


Depends on the following items: None found

Items that depend on this one: None found


Carbon-Copy List
  • -email is unavailable- added by dyfet (Posted a comment)
  • -email is unavailable- added by danielblack (Submitted the item)

    Do you think this task is very important?
    If so, you can add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.




    Follow 2 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2010-11-04 dyfet Severity3 - Normal => 4 - Important
        StatusNone => Invalid

    Back to the top

    Powered by Savane 3.3