Huge thanks to our Platinum Members Endace and LiveAction,
and our Silver Member Veeam, for supporting the Wireshark Foundation and project.

Wireshark-bugs: [Wireshark-bugs] [Bug 2224] New: build fail with glib-1.2: wslua.h: expected spe

Date: Sat, 26 Jan 2008 13:44:59 +0000 (GMT)
http://bugs.wireshark.org/bugzilla/show_bug.cgi?id=2224

           Summary: build fail with glib-1.2: wslua.h: expected specifier-
                    qualifier-list before 'DIR'
           Product: Wireshark
           Version: 0.99.7
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: Major
          Priority: Low
         Component: Wireshark
        AssignedTo: wireshark-bugs@xxxxxxxxxxxxx
        ReportedBy: pva@xxxxxxxxxx


Created an attachment (id=1413)
 --> (http://bugs.wireshark.org/bugzilla/attachment.cgi?id=1413)
wireshark-0.99.7-glib-1.2-compile-fix.patch

Build Information:
This is build error.
--
Wireshark build with glib-1.2 (--without-gtk) and with lua (--with-lua) it
fails:

 i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../..
-I/usr/local/include -DPLUGIN_DIR=\"/usr/lib/wireshark/plugins/0.99.7\" -DINET6
"-D_U_=__attribute__((unused))" -O2 -march=i686 -pipe -mtune=i686 -Wall -W
-Wdeclaration-after-statement -Wendif-labels -Wpointer-arith -Wno-pointer-sign
-I/usr/local/include -I/usr/include/glib-1.2 -I/usr/lib/glib/include -MT
wslua_tvb.lo -MD -MP -MF .deps/wslua_tvb.Tpo -c ./wslua_tvb.c  -fPIC -DPIC -o
.libs/wslua_tvb.o
In file included from ./wslua_tvb.c:31:
./wslua.h:178: error: expected specifier-qualifier-list before 'DIR'
./wslua_tvb.c: In function 'TvbRange_get_le_ipv4':
./wslua_tvb.c:721: warning: const qualifier ignored on asm
make[1]: *** [wslua_tvb.lo] Error 1
make[1]: Leaving directory
`/var/tmp/portage/net-analyzer/wireshark-0.99.7-r2/work/wireshark-0.99.7/epan/wslua'
make: *** [all] Error 2

The patch to fix the issue in attachment.


-- 
Configure bugmail: http://bugs.wireshark.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.