Wireshark-dev: [Wireshark-dev] wslua fails to build
From: Joerg Mayer <jmayer@xxxxxxxxx>
Date: Sat, 12 Sep 2009 13:44:29 +0200
Hello,

while I ran into the problem while building with CMAKE, the problem seems
to be a "real" one. It seems it was broken by some rather recent (last 7
days) commit.
Can someone who knows a bit more about wslua please take a look at it?

Thanks
       Joerg

[  7%] Building C object epan/wslua/CMakeFiles/wslua.dir/wslua_tvb.c.o
cd /home/jmayer/work/wireshark/svn/build/epan/wslua && /usr/bin/gcc  -DHAVE_CONFIG_H -DPACKAGE=\"wireshark\" -DNEW_PACKET_LIST -D"_U_=__attribute__((unused))" -I/home/jmayer/work/wireshark/svn/build -I/home/jmayer/work/wireshark/svn/build/epan -I/home/jmayer/work/wireshark/svn/build/epan/wslua -I/home/jmayer/work/wireshark/svn/build/epan/wspython -I/home/jmayer/work/wireshark/svn/trunk -I/home/jmayer/work/wireshark/svn/trunk/epan -I/home/jmayer/work/wireshark/svn/trunk/epan/dfilter -I/home/jmayer/work/wireshark/svn/trunk/epan/dissectors -I/home/jmayer/work/wireshark/svn/trunk/epan/ftypes -I/home/jmayer/work/wireshark/svn/trunk/epan/wslua -I/home/jmayer/work/wireshark/svn/trunk/epan/wspython -I/home/jmayer/work/wireshark/svn/trunk/tools/lemon -I/home/jmayer/work/wireshark/svn/trunk/wiretap -I/home/jmayer/work/wireshark/svn/trunk/wsutil -I/usr/include/gtk-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/glib-2.0 -I/usr/include/pango-1.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/glib-2.0/glib -I/home/jmayer/work/wireshark/svn/trunk/PYTHON_INCLUDE_PATH   -Wall -Wpointer-arith -W -o CMakeFiles/wslua.dir/wslua_tvb.c.o   -c /home/jmayer/work/wireshark/svn/trunk/epan/wslua/wslua_tvb.c
/home/jmayer/work/wireshark/svn/trunk/epan/wslua/wslua_tvb.c: In function ‘Tvb_tvb’:
/home/jmayer/work/wireshark/svn/trunk/epan/wslua/wslua_tvb.c:401: warning: implicit declaration of function ‘checkTvbRange’
/home/jmayer/work/wireshark/svn/trunk/epan/wslua/wslua_tvb.c:401: warning: initialization makes pointer from integer without a cast
/home/jmayer/work/wireshark/svn/trunk/epan/wslua/wslua_tvb.c: At top level:
/home/jmayer/work/wireshark/svn/trunk/epan/wslua/wslua_tvb.c:490: error: conflicting types for ‘checkTvbRange’
/home/jmayer/work/wireshark/svn/trunk/epan/wslua/wslua_tvb.c:401: error: previous implicit declaration of ‘checkTvbRange’ was here
/home/jmayer/work/wireshark/svn/trunk/epan/wslua/wslua_tvb.c: In function ‘TvbRange_uint64’:
/home/jmayer/work/wireshark/svn/trunk/epan/wslua/wslua_tvb.c:666: warning: implicit declaration of function ‘pushUInt64’
/home/jmayer/work/wireshark/svn/trunk/epan/wslua/wslua_tvb.c: In function ‘TvbRange_ipv4’:
/home/jmayer/work/wireshark/svn/trunk/epan/wslua/wslua_tvb.c:774: warning: implicit declaration of function ‘pushAddress’
/home/jmayer/work/wireshark/svn/trunk/epan/wslua/wslua_tvb.c: At top level:
/home/jmayer/work/wireshark/svn/trunk/epan/wslua/wslua_tvb.c:1051: error: conflicting types for ‘pushUInt64’
/home/jmayer/work/wireshark/svn/trunk/epan/wslua/wslua_tvb.c:666: error: previous implicit declaration of ‘pushUInt64’ was here
make[2]: *** [epan/wslua/CMakeFiles/wslua.dir/wslua_tvb.c.o] Error 1
make[2]: Leaving directory `/home/jmayer/work/wireshark/svn/build'
make[1]: *** [epan/wslua/CMakeFiles/wslua.dir/all] Error 2
make[1]: Leaving directory `/home/jmayer/work/wireshark/svn/build'
make: *** [all] Error 2
-- 
Joerg Mayer                                           <jmayer@xxxxxxxxx>
We are stuck with technology when what we really want is just stuff that
works. Some say that should read Microsoft instead of technology.