Wireshark-dev: Re: [Wireshark-dev] Fwd: About building the wireshark
From: João Valverde <joao.valverde@xxxxxxxxxxxxxxxxxx>
Date: Mon, 28 Mar 2016 07:03:47 +0100


On 28-03-2016 04:54, LIN Qingxiang(林清祥) wrote:

---------- Forwarded message ----------
From: *LIN Qingxiang(林清祥)* <woniu1753@xxxxxxxxx
<mailto:woniu1753@xxxxxxxxx>>
Date: 2016-03-28 11:48 GMT+08:00
Subject: About building the wireshark
To: wireshark-dev <wireshark-dev@xxxxxxxxxxxxx
<mailto:wireshark-dev@xxxxxxxxxxxxx>>


Hi all,

I am building wireshark-2.1.0-2469-g162df25 on Ubuntu 12.04, and I got
the problem shown as below when run command "make".
It would be pleaseure to get any help!
Thanks!

Hi,

Can you show the verbose build output for MOC also?

You can use (in the /ui/qt dir):

  make V=1 about_dialog.moc.cpp


       CXX      wlan_statistics_dialog.o
       CC       wireshark-tap-register.o
       MOC      about_dialog.moc.cpp
    moc: Invalid argument
    Usage: moc [options] <header-file>
       -o<file>           write output to file rather than stdout
       -I<dir>            add dir to the include path for header files
       -E preprocess only; do not generate meta object code
       -D<macro>[=<def>]  define macro, with optional definition
       -U<macro>          undefine macro
       -i                 do not generate an #include statement
       -p<path>           path prefix for included file

    -f[<file>]         force #include, optional file name (overwrite default)
       -b<file>           prepend #include <file> (preserve default include)
       -nn                do not display notes
       -nw                do not display warnings
       @<file>            read additional options from file
       -v                 display version of moc
    make[2]: *** [about_dialog.moc.cpp] Error 1
    make[2]: Leaving directory `/home/lqx/bin/wireshark-2.1.0-2469-g162df25/ui/qt'
    make[1]: *** [all-recursive] Error 1
    make[1]: Leaving directory `/home/lqx/bin/wireshark-2.1.0-2469-g162df25'
    make: *** [all] Error 2


    ./configure is followed as below:The Wireshark package has
    been configured with the following options:
                         Build wireshark : yes (with Qt5 v5.0.2)
                     Build wireshark-gtk : yes (with GTK+ v3.4.2)
                            Build tshark : yes
                           Build tfshark : no
                          Build capinfos : yes
                           Build captype : yes
                           Build editcap : yes
                           Build dumpcap : yes
                          Build mergecap : yes
                        Build reordercap : yes
                         Build text2pcap : yes
                           Build randpkt : yes
                            Build dftest : yes
                          Build rawshark : yes
                       Build androiddump : yes
                           Build sshdump : no
                         Build ciscodump : no
                       Build randpktdump : yes
                             Build echld : no
        Save files as pcap-ng by default : yes
       Install dumpcap with capabilities : no
                  Install dumpcap setuid : no
                       Use dumpcap group : (none)
                             Use plugins : yes
            Use external capture sources : yes
                         Use Lua library : yes
                     Build Qt RTP player : no
                   Build GTK+ RTP player : yes
                  Build profile binaries : no
                        Use pcap library : yes
                        Use zlib library : yes
                    Use kerberos library : yes (MIT)
                      Use c-ares library : yes
                     Use SMI MIB library : yes
                  Use GNU gcrypt library : yes
                  Use SSL crypto library : no
                      Use GnuTLS library : yes
          Use POSIX capabilities library : yes
                       Use GeoIP library : yes
                      Use libssh library : no
                 Have ssh_userauth_agent : no
                          Use nl library : no
                   Use SBC codec library : no


------------------------------------------------------------------------
woniu1753@xxxxxxxxx <mailto:woniu1753@xxxxxxxxx>



--

Thanks.

Best Regards,

LIN Qingxiang(林清祥)
------
graduate student at
College of Mathematics and Computer Science, Fuzhou University


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