Wireshark mailing list archives

Re: Mac Build Error


From: João Valverde <joao.valverde () tecnico ulisboa pt>
Date: Tue, 19 Jan 2016 14:34:54 +0000



On 18-01-2016 15:04, David Morsberger wrote:

On Jan 18, 2016, at 2:48 AM, Stig Bjørlykke <stig () bjorlykke org
<mailto:stig () bjorlykke org>> wrote:

On Mon, Jan 18, 2016 at 6:27 AM, David Morsberger <dave () morsberger com
<mailto:dave () morsberger com>> wrote:

    I have been unable to resolve the following build errors on my Mac
    with 10.11.


Maybe you have a outdated declare_wslua.h in your source directory?
Try deleting this.



Thanks! That was it. I removed declare_wslua.h and register_wslua.c from
the source directory (wireshark/epan/wslua).

Not exactly sure how the outdated file showed up in the wireshark source
(not build) hierarchy. My guess is it was due to a cmake run because of
the following.

    1. mkdir build
    2. cd build
    3. cmake <options> .. to include cmake -G Xcode ..
    4 No make file in the build directory. It appears to put all the
    generated files in the wireshark source directories. This behavior
    is counter to the build instructions.


Anybody else see this behavior?

Is there a simple way to clean out my source directory so I can truly
start from scratch? ‘git status —ignore’ shows a lot of files where ‘git
status’ only shows my build directory.

'git clean -xfd' to remove everything untracked including ignored files.

Putting generated files in the source tree for an out-of-tree build would appear to be a bug (but Mac OS particulars elude me).
___________________________________________________________________________
Sent via:    Wireshark-dev mailing list <wireshark-dev () wireshark org>
Archives:    https://www.wireshark.org/lists/wireshark-dev
Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev
            mailto:wireshark-dev-request () wireshark org?subject=unsubscribe


Current thread: