Wireshark-dev: [Wireshark-dev] with-lua does not compile

From: Zoran Bošnjak <Zoran.Bosnjak@xxxxxxxxxxxxxxxxxx>
Date: Tue, 2 Sep 2008 09:22:11 +0200
Latest devel release of wireshark (svn r26107) does not compile when --with-lua option is set.

$./autogen.sh
$./configure --with-lua=/usr/lib
$make

I get this error:
...
./wslua_tvb.c:600: error: expected ‘)’ before ‘*’ token
./wslua_tvb.c:643: error: expected ‘)’ before ‘*’ token
./wslua_tvb.c:682: error: expected ‘)’ before ‘*’ token
./wslua_tvb.c:715: error: expected ‘)’ before ‘*’ token
./wslua_tvb.c:740: error: expected ‘)’ before ‘*’ token
./wslua_tvb.c:758: error: expected ‘)’ before ‘*’ token
./wslua_tvb.c:785: error: expected ‘)’ before ‘*’ token
./wslua_tvb.c:813: error: expected ‘)’ before ‘*’ token
./wslua_tvb.c:839: error: expected ‘)’ before ‘*’ token
./wslua_tvb.c:854: error: expected ‘)’ before ‘*’ token
./wslua_tvb.c:873: error: expected ‘)’ before ‘*’ token
./wslua_tvb.c:889: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘TvbRange_methods’
./wslua_tvb.c:903: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘TvbRange_meta’
./wslua_tvb.c:910: error: expected ‘)’ before ‘*’ token
make[4]: *** [wslua_tvb.lo] Error 1
make[4]: Leaving directory `/home/bosnjak/wireshark/asterix/epan/wslua'
make[3]: *** [all] Error 2
make[3]: Leaving directory `/home/bosnjak/wireshark/asterix/epan/wslua'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/bosnjak/wireshark/asterix/epan'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/bosnjak/wireshark/asterix'
make: *** [all] Error 2

regards,
Zoran