Wireshark mailing list archives

Broken build on osx


From: Dario Lombardo <dario.lombardo.ml () gmail com>
Date: Fri, 2 Feb 2018 09:36:01 +0100

Hi
Few commits ago (I guess from 142c035), my osx build stopped working on
travis. Details:

https://travis-ci.org/crondaemon/wireshark/builds

with this error:

/Users/travis/build/crondaemon/wireshark/ui/qt/about_dialog.cpp:358:43:
error: use of undeclared identifier 'wslua_plugin_type_name'
    QString pattern = QString("^%1$").arg(wslua_plugin_type_name());
                                          ^
1 error generated.

Then I tried to patch the code by adding

#include "epan/wslua/init_wslua.h"

but the build error changed into


Undefined symbols for architecture x86_64:
  "_wslua_plugin_type_name", referenced from:
      AboutDialog::AboutDialog(QWidget*) in libqtui.a(about_dialog.cpp.o)
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see
invocation)
make[2]: *** [run/Wireshark.app/Contents/MacOS/Wireshark] Error 1
make[1]: *** [CMakeFiles/wireshark.dir/all] Error 2
make: *** [all] Error 2

Any clue?
Dario.
___________________________________________________________________________
Sent via:    Wireshark-dev mailing list <wireshark-dev () wireshark org>
Archives:    https://www.wireshark.org/lists/wireshark-dev
Unsubscribe: https://www.wireshark.org/mailman/options/wireshark-dev
             mailto:wireshark-dev-request () wireshark org?subject=unsubscribe

Current thread: