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

 
 

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

Submitter:  Daniel Black <danielblack>
Submitted:  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
* Mandatory Fields

Add a New Comment Rich Markup
   

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 http://www.gnutelephony.org/bugs.

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

To reproduce:
export LDFLAGS="-Wl,--as-needed"
./configure
make

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 libzrtpcpp.la -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/libccrtp1.so /usr/lib64/libccgnu2.so -ldl -lrt /usr/lib64/libgcrypt.so /usr/lib64/libgpg-error.so -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,--as-needed.so.1 -o .libs/libzrtpcpp--Wl,--as-needed.so.1.0.0
/usr/lib/gcc/x86_64-pc-linux-gnu/4.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: unrecognized option '--as-needed.so.1'
/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]: * [libzrtpcpp.la] 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:
   
   
Comment:
   

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)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    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.13-f8d8.
    Corresponding source code