Wireshark-dev: Re: [Wireshark-dev] SVN HEAD not building
From: Tyson Key <tyson.key@xxxxxxxxx>
Date: Sun, 27 May 2012 11:28:19 +0100
Hi Akos,

I haven't looked at that portion of the codebase (so I don't know how they've integrated the new UI code), but from experience with Qt development, that header file is supposed to be automatically generated, if I remember correctly.

Tyson.

2012/5/27 Akos Vandra <axos88@xxxxxxxxx>
Yep, that helped, thanks!

However when I tried to take a sneak peek at how the qt inteface looks
like, I found that the build fails because of a missing file?
I know it is experimental only, but it should build, right?

Making all in ui/qt
make[2]: Entering directory `/home/akos/projects/c/wireshark/wireshark/ui/qt'
g++ -DHAVE_CONFIG_H -I. -I../..  -I../.. -I../../wiretap    -DINET6
-DG_DISABLE_DEPRECATED -DG_DISABLE_SINGLE_INCLUDES -DQT_GUI_LIB
-D_FORTIFY_SOURCE=2 -D_U_="__attribute__((unused))"
-I/home/akos/projects/c/wireshark/bin/include -I/usr/local/include
-I/home/akos/projects/c/wireshark/bin/include/pcap
'-DPLUGIN_DIR="/home/akos/projects/c/wireshark/bin/lib/wireshark/plugins/1.7.2"'
 -g -O2 -Wall -W -Wextra -Wendif-labels -Wpointer-arith -Warray-bounds
-Wcast-align -Wformat-security -DQT_SHARED -I/usr/include/qt4
-I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui   -pthread
-I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include   -MT
main_window.o -MD -MP -MF .deps/main_window.Tpo -c -o main_window.o
main_window.cpp
main_window.cpp:25: fatal error: ui_main_window.h: No such file or directory
compilation terminated.
make[2]: *** [main_window.o] Error 1
make[2]: Leaving directory `/home/akos/projects/c/wireshark/wireshark/ui/qt'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/akos/projects/c/wireshark/wireshark'
make: *** [all] Error 2

Regards,
 Ákos Vandra


On 27 May 2012 08:40, Guy Harris <guy@xxxxxxxxxxxx> wrote:
>
> On May 26, 2012, at 7:30 PM, Bill Meier wrote:
>
>> I did (had to do ?) a complete rm config.cache, ./autogen.sh and ./configure sequence before doing  make to get rid of the error.
>
> I had a similar problem, but I didn't have to do "rm config.cache" - re-running autogen.sh and configure was sufficient.
>
>> (I was too lazy to determine the actual reason for the error).
>
> I think the actual reason for the error is "automake does not generate Makefile.in files that have a sufficient number of dependencies to force a rebuild of everything that needs to be rebuilt if something included by a Makefile.am file is changed". :-)  Perhaps, due to limitations of (GNU) make, "does not" should be replaced by "cannot".
> ___________________________________________________________________________
> Sent via:    Wireshark-dev mailing list <wireshark-dev@xxxxxxxxxxxxx>
> Archives:    http://www.wireshark.org/lists/wireshark-dev
> Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev
>             mailto:wireshark-dev-request@xxxxxxxxxxxxx?subject=unsubscribe
___________________________________________________________________________
Sent via:    Wireshark-dev mailing list <wireshark-dev@xxxxxxxxxxxxx>
Archives:    http://www.wireshark.org/lists/wireshark-dev
Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev
            mailto:wireshark-dev-request@xxxxxxxxxxxxx?subject=unsubscribe



--
                                          Fight Internet Censorship! http://www.eff.org
http://vmlemon.wordpress.com | Twitter/FriendFeed/Skype: vmlemon | 00447934365844