ANNOUNCEMENT: Live Wireshark University & Allegro Packets online APAC Wireshark Training Session
April 17th, 2024 | 14:30-16:00 SGT (UTC+8) | Online

Wireshark-bugs: [Wireshark-bugs] [Bug 1430] EtherCAT dissector

Date: Tue, 2 Oct 2007 12:31:32 +0000 (GMT)
http://bugs.wireshark.org/bugzilla/show_bug.cgi?id=1430





------- Comment #29 from anders.blomdell@xxxxxxxxxxxxxx  2007-10-02 12:31 GMT -------
(In reply to comment #28)
> Created an attachment (id=974)
 --> (http://bugs.wireshark.org/bugzilla/attachment.cgi?id=974&action=view) [details]
> SVN diff, no duplicates
> 
> Trying again. I had to manually remove the duplicate entries in the .diff-file.
> Tortoise SVN adds all new files twice to the diff file for some reason.
> 
> Please try again.
make[3]: Entering directory
`/local/src/wireshark.tmp/wireshark/plugins/ethercat'
/bin/sh ../../libtool --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I../..
-I../.. -I/usr/local/include  -I/usr/local/include 
'-DPLUGIN_DIR="/usr/local/lib/wireshark/plugins/0.99.7"'  -DINET6
-D_U_="__attribute__((unused))" -g -O2 -Wall -W -Wdeclaration-after-statement
-Wendif-labels -Wpointer-arith -Wno-pointer-sign -I/usr/local/include -pthread
-I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0
-I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/glib-2.0
-I/usr/lib/glib-2.0/include    -MT packet-ams.lo -MD -MP -MF
.deps/packet-ams.Tpo -c -o packet-ams.lo packet-ams.c
 gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I/usr/local/include
-I/usr/local/include -DPLUGIN_DIR=\"/usr/local/lib/wireshark/plugins/0.99.7\"
-DINET6 "-D_U_=__attribute__((unused))" -g -O2 -Wall -W
-Wdeclaration-after-statement -Wendif-labels -Wpointer-arith -Wno-pointer-sign
-I/usr/local/include -pthread -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include
-I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0
-I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -MT packet-ams.lo -MD -MP
-MF .deps/packet-ams.Tpo -c packet-ams.c  -fPIC -DPIC -o .libs/packet-ams.o
In file included from packet-ams.c:46:
packet-ams.h:697: warning: declaration does not declare anything
packet-ams.h:706: warning: declaration does not declare anything
packet-ams.c: In function 'dissect_ams':
packet-ams.c:469: error: 'AmsHead' has no member named 'errCode'
packet-ams.c:470: error: 'AmsHead' has no member named 'errCode'
packet-ams.c:472: error: 'AmsHead' has no member named 'hUser'
packet-ams.c:473: error: 'AmsHead' has no member named 'hUser'
make[3]: *** [packet-ams.lo] Error 1
make[3]: Leaving directory
`/local/src/wireshark.tmp/wireshark/plugins/ethercat'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/local/src/wireshark.tmp/wireshark/plugins'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/local/src/wireshark.tmp/wireshark'
make: *** [all] Error 2

Anonymous unions are not part of ANSI C!


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