Wireshark mailing list archives

Re: rev 50749: /trunk/ /trunk/: CMakeLists.txt


From: Joerg Mayer <jmayer () loplof de>
Date: Sun, 21 Jul 2013 18:09:32 +0200

On Sun, Jul 21, 2013 at 05:33:30PM +0200, Joerg Mayer wrote:
looks like there is no clang++ on that system but clang is there, and (using cmake),
I have _U_ properly defined in config.h

So the question is what is different on your system.

What I did to build (relative to svn/trunk/):
rm -rf build
mkdir build
cd build
CC=clang cmake ..
less config.h <== _U_ is now defined as it should
make (still compiling).

OK, now finished. I needed to fix a syntax error in a system include file but
after that wireshark built fine with -Werror.

[  6%] Building C object epan/CMakeFiles/epan.dir/dissectors/packet-kerberos.c.o
In file included from /Users/jmayer/wireshark/svn/epan/dissectors/packet-kerberos.c:437:
/System/Library/Frameworks/Kerberos.framework/Headers/krb5.h:2932:8: error: extra tokens at end of #endif directive 
[-Wextra-tokens]
#endif \* __KERBEROS5__ */
       ^
       //
1 error generated.

I think it is valid to expect a solution to this problem outside wireshark
(or we could add a patch to macos-setup).

Can you please check that there is nothing cached, then you build config.h
and then check that?

Ciao
      Jörg

-- 
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.
___________________________________________________________________________
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: