Wireshark mailing list archives
Re : configure fails with cmake on macosx
From: "H.sivank" <hsivank () gmail com>
Date: Tue, 28 Sep 2010 22:33:20 +0200
Joerg it seems that this patch does not fix this issue Ld build/lib/Debug/libwsutil.dylib normal x86_64 cd /Users/hsivank/Desktop/wireshark setenv MACOSX_DEPLOYMENT_TARGET 10.6 /Developer/usr/bin/gcc-4.2 -arch x86_64 -dynamiclib -isysroot /Developer/SDKs/MacOSX10.6.sdk -L/Users/hsivank/Desktop/wireshark/build/lib/Debug -F/Users/hsivank/Desktop/wireshark/build/lib/Debug -filelist /Users/hsivank/Desktop/wireshark/build/wsutil/Wireshark.build/Debug/wsutil.build/Objects-normal/x86_64/wsutil.LinkFileList -install_name /Users/hsivank/Desktop/wireshark/build/lib/Debug/libwsutil.dylib -mmacosx-version-min=10.6 -Wl,--as-needed -dynamiclib -headerpad_max_install_names -lglib-2.0 -lintl -liconv -single_module -o /Users/hsivank/Desktop/wireshark/build/lib/Debug/libwsutil.dylib ld: unknown option: --as-needed collect2: ld returned 1 exit status Command /Developer/usr/bin/gcc-4.2 failed with exit code 1 Wireshark revision: 34274 Hsivank Le 28 sept. 2010 à 12:53, Joerg Mayer a écrit :
On Fri, Sep 24, 2010 at 12:42:56PM +0200, Stig Bj?rlykke wrote:On Fri, Sep 24, 2010 at 12:33 PM, Joerg Mayer <jmayer () loplof de> wrote:That's the type of fix I was hoping for when I rejected the previous one! Nicely spotted.I'm still having problems with --as-needed when building with Xcode, but not when building with Makefiles. CMake reports --as-needed is OK when building for Xcode, but this does not work when building. Maybe because I get this warning in CMakeOutput.log? i686-apple-darwin10-gcc-4.2.1: --as-needed: linker input file unused because linking not doneCan you please test the attached patch? Thanks Joerg -- Joerg Mayer <jmayer () loplof de> We are stuck with technology when what we really want is just stuff that works. Some say that should read Microsoft instead of technology. <checklinker.diff>___________________________________________________________________________ Sent via: Wireshark-dev mailing list <wireshark-dev () wireshark org> Archives: http://www.wireshark.org/lists/wireshark-dev Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev mailto:wireshark-dev-request () wireshark org?subject=unsubscribe
___________________________________________________________________________ Sent via: Wireshark-dev mailing list <wireshark-dev () wireshark org> Archives: http://www.wireshark.org/lists/wireshark-dev Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev mailto:wireshark-dev-request () wireshark org?subject=unsubscribe
Current thread:
- Re: Virtual WireShark appliance, (continued)
- Re: Virtual WireShark appliance Marco van den Bovenkamp (Sep 20)
- Re: Virtual WireShark appliance john s wolter (Sep 20)
- Re: Virtual WireShark appliance Guy Harris (Sep 20)
- Re: Virtual WireShark appliance john s wolter (Sep 23)
- Re: Virtual WireShark appliance Guy Harris (Sep 23)
- Re: Virtual WireShark appliance H Sivank (Sep 24)
- Re: Virtual WireShark appliance Stig Bjørlykke (Sep 24)
- Re: Virtual WireShark appliance Joerg Mayer (Sep 24)
- Re: Virtual WireShark appliance Stig Bjørlykke (Sep 24)
- Re: Virtual WireShark appliance Joerg Mayer (Sep 28)
- Re : configure fails with cmake on macosx H.sivank (Sep 28)
- Re: Virtual WireShark appliance Marco van den Bovenkamp (Sep 20)
- Re: Virtual WireShark appliance H Sivank (Sep 24)
- Re: Virtual WireShark appliance Joerg Mayer (Sep 24)
- Re: configure fails with cmake on macosx Guy Harris (Sep 24)
- Re: Virtual WireShark appliance H.sivank (Sep 24)
- Re: configure fails with cmake on macosx Guy Harris (Sep 24)
- Re: configure fails with cmake on macosx H.sivank (Sep 24)
- Re: configure fails with cmake on macosx Guy Harris (Sep 24)
- Re: configure fails with cmake on macosx Guy Harris (Sep 24)
- Re: configure fails with cmake on macosx Joerg Mayer (Sep 28)
- Re: configure fails with cmake on macosx Guy Harris (Sep 28)