Hi,

This is the verbose build output for MOC:

lqx@bogon:~/bin/wireshark-2.1.0-2469-g162df25/ui/qt$ make V=1
> about_dialog.moc.cpp
> /usr/bin/moc -qt=5 --no-notes -I.. -I../.. -o about_dialog.moc.cpp
> about_dialog.h
> 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: *** [about_dialog.moc.cpp] Error 1


2016-03-28 14:03 GMT+08:00 João Valverde <[email protected]>:

>
>
> On 28-03-2016 04:54, LIN Qingxiang(林清祥) wrote:
>
>>
>> ---------- Forwarded message ----------
>> From: *LIN Qingxiang(林清祥)* <[email protected]
>> <mailto:[email protected]>>
>> Date: 2016-03-28 11:48 GMT+08:00
>> Subject: About building the wireshark
>> To: wireshark-dev <[email protected]
>> <mailto:[email protected]>>
>>
>>
>> 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
>>
>>
>> ------------------------------------------------------------------------
>> [email protected] <mailto:[email protected]>
>>
>>
>>
>> --
>>
>>>
>>> Thanks.
>>>
>>> Best Regards,
>>>
>>> LIN Qingxiang(林清祥)
>>> ------
>>> graduate student at
>>> College of Mathematics and Computer Science, Fuzhou University
>>>
>>
>>
>>
>> ___________________________________________________________________________
>> Sent via:    Wireshark-dev mailing list <[email protected]>
>> Archives:    https://www.wireshark.org/lists/wireshark-dev
>> Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev
>>               mailto:[email protected]
>> ?subject=unsubscribe
>>
>>
> ___________________________________________________________________________
> Sent via:    Wireshark-dev mailing list <[email protected]>
> Archives:    https://www.wireshark.org/lists/wireshark-dev
> Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev
>             mailto:[email protected]?subject=unsubscribe




-- 


Thanks.

Best Regards,

LIN Qingxiang(林清祥)
------
graduate student at
College of Mathematics and Computer Science, Fuzhou University
___________________________________________________________________________
Sent via:    Wireshark-dev mailing list <[email protected]>
Archives:    https://www.wireshark.org/lists/wireshark-dev
Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev
             mailto:[email protected]?subject=unsubscribe

Reply via email to