Wireshark-dev: Re: [Wireshark-dev] Virtual WireShark appliance
From: H Sivank <hsivank@xxxxxxxxx>
Date: Fri, 24 Sep 2010 11:28:37 +0200
Hello,

My previous post was not clear.
It was a *standard* configure log, just to point that the linker does not support "--as-needed".

if i do a cmake configure it will fail on big endian test :

"
CMake Error at /opt/local/share/cmake-2.8/Modules/TestBigEndian.cmake:44 (MESSAGE):
  no suitable type found
Call Stack (most recent call first):
  CMakeLists.txt:357 (test_big_endian) 
"

looking at CMakeError.log, it seems that all links fail cause "--as-needed" is used

example :

"

Determining size of unsigned long failed with the following output:

Change Dir: /Users/laurent/Desktop/wireshark/build/CMakeFiles/CMakeTmp


Run Build Command:/opt/local/bin/gmake "cmTryCompileExec/fast"

/opt/local/bin/gmake -f CMakeFiles/cmTryCompileExec.dir/build.make CMakeFiles/cmTryCompileExec.dir/build

gmake[1] : on entre dans le répertoire « /Users/hsivank/Desktop/wireshark/build/CMakeFiles/CMakeTmp »

/opt/local/bin/cmake -E cmake_progress_report /Users/hsivank/Desktop/wireshark/build/CMakeFiles/CMakeTmp/CMakeFiles 1

Building C object CMakeFiles/cmTryCompileExec.dir/CMAKE_SIZEOF_UNSIGNED_LONG.c.o

/usr/bin/gcc   -Wl,--as-needed   -o CMakeFiles/cmTryCompileExec.dir/CMAKE_SIZEOF_UNSIGNED_LONG.c.o   -c /Users/laurent/Desktop/wireshark/build/CMakeFiles/CheckTypeSize/CMAKE_SIZEOF_UNSIGNED_LONG.c

i686-apple-darwin10-gcc-4.2.1: --as-needed: linker input file unused because linking not done

Linking C executable cmTryCompileExec

/opt/local/bin/cmake -E cmake_link_script CMakeFiles/cmTryCompileExec.dir/link.txt --verbose=1

/usr/bin/gcc     -Wl,--as-needed -Wl,-search_paths_first -headerpad_max_install_names  CMakeFiles/cmTryCompileExec.dir/CMAKE_SIZEOF_UNSIGNED_LONG.c.o  -o cmTryCompileExec  /usr/lib/libpcap.dylib 

ld: unknown option: --as-needed

collect2: ld returned 1 exit status

gmake[1]: *** [cmTryCompileExec] Erreur 1

gmake[1] : on quitte le répertoire « /Users/hsivank/Desktop/wireshark/build/CMakeFiles/CMakeTmp »

gmake: *** [cmTryCompileExec/fast] Erreur 2

"

and there is a lot of other tests that fail ... this why i disable "--as-needed" for mac.

H.sivank


2010/9/24 Guy Harris <guy@xxxxxxxxxxxx>

On Sep 23, 2010, at 2:45 PM, john s wolter wrote:

> I'm not sure what 'push' means in this context.

"Push", in this context, means "a technology that was, at one point, hyped, but didn't take over the world in the fashion that the hype predicted":

       http://en.wikipedia.org/wiki/PointCast_(dotcom)
___________________________________________________________________________
Sent via:    Wireshark-dev mailing list <wireshark-dev@xxxxxxxxxxxxx>
Archives:    http://www.wireshark.org/lists/wireshark-dev
Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev
            mailto:wireshark-dev-request@xxxxxxxxxxxxx?subject=unsubscribe