|Main Archive Page > Month Archives > wireshark-dev archives|
it seems that this patch does not fix this issue
Ld build/lib/Debug/libwsutil.dylib normal x86_64
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
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 <firstname.lastname@example.org> 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 done
> Can you please test the attached patch?
> Joerg Mayer <email@example.com>
> We are stuck with technology when what we really want is just stuff that
> works. Some say that should read Microsoft instead of technology.
> Sent via: Wireshark-dev mailing list <firstname.lastname@example.org>
> Archives: http://www.wireshark.org/lists/wireshark-dev
> Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev
Sent via: Wireshark-dev mailing list <email@example.com>