Wireshark-bugs: [Wireshark-bugs] [Bug 1430] EtherCAT dissector
Date: Tue, 2 Oct 2007 09:59:13 +0000 (GMT)
http://bugs.wireshark.org/bugzilla/show_bug.cgi?id=1430





------- Comment #25 from anders.blomdell@xxxxxxxxxxxxxx  2007-10-02 09:59 GMT -------
Adding plugins/ethercat/Makefile to configure.in gave the following errors
during configure:


plugins/ethercat/Makefile.common:72: PLUGIN_NAME multiply defined in condition
TRUE ...
plugins/ethercat/Makefile.am:27:   `plugins/ethercat/Makefile.common' included
from here
plugins/ethercat/Makefile.common:27: ... `PLUGIN_NAME' previously defined here
plugins/ethercat/Makefile.am:27:   `plugins/ethercat/Makefile.common' included
from here
plugins/ethercat/Makefile.common:75: DISSECTOR_SRC multiply defined in
condition TRUE ...
plugins/ethercat/Makefile.am:27:   `plugins/ethercat/Makefile.common' included
from here
plugins/ethercat/Makefile.common:30: ... `DISSECTOR_SRC' previously defined
here
plugins/ethercat/Makefile.am:27:   `plugins/ethercat/Makefile.common' included
from here
plugins/ethercat/Makefile.common:84: DISSECTOR_INCLUDES multiply defined in
condition TRUE ...
plugins/ethercat/Makefile.am:27:   `plugins/ethercat/Makefile.common' included
from here
plugins/ethercat/Makefile.common:39: ... `DISSECTOR_INCLUDES' previously
defined here
plugins/ethercat/Makefile.am:27:   `plugins/ethercat/Makefile.common' included
from here
plugins/ethercat/Makefile.am:143: INCLUDES multiply defined in condition TRUE
...
plugins/ethercat/Makefile.am:25: ... `INCLUDES' previously defined here
plugins/ethercat/Makefile.common:27: PLUGIN_NAME multiply defined in condition
TRUE ...
plugins/ethercat/Makefile.am:145:   `plugins/ethercat/Makefile.common' included
from here
plugins/ethercat/Makefile.common:72: ... `PLUGIN_NAME' previously defined here
plugins/ethercat/Makefile.am:27:   `plugins/ethercat/Makefile.common' included
from here
plugins/ethercat/Makefile.common:30: DISSECTOR_SRC multiply defined in
condition TRUE ...
plugins/ethercat/Makefile.am:145:   `plugins/ethercat/Makefile.common' included
from here
plugins/ethercat/Makefile.common:75: ... `DISSECTOR_SRC' previously defined
here
plugins/ethercat/Makefile.am:27:   `plugins/ethercat/Makefile.common' included
from here
plugins/ethercat/Makefile.common:39: DISSECTOR_INCLUDES multiply defined in
condition TRUE ...
plugins/ethercat/Makefile.am:145:   `plugins/ethercat/Makefile.common' included
from here
plugins/ethercat/Makefile.common:84: ... `DISSECTOR_INCLUDES' previously
defined here
plugins/ethercat/Makefile.am:27:   `plugins/ethercat/Makefile.common' included
from here
plugins/ethercat/Makefile.common:72: PLUGIN_NAME multiply defined in condition
TRUE ...
plugins/ethercat/Makefile.am:145:   `plugins/ethercat/Makefile.common' included
from here
plugins/ethercat/Makefile.common:27: ... `PLUGIN_NAME' previously defined here
plugins/ethercat/Makefile.am:145:   `plugins/ethercat/Makefile.common' included
from here
plugins/ethercat/Makefile.common:75: DISSECTOR_SRC multiply defined in
condition TRUE ...
plugins/ethercat/Makefile.am:145:   `plugins/ethercat/Makefile.common' included
from here
plugins/ethercat/Makefile.common:30: ... `DISSECTOR_SRC' previously defined
here
plugins/ethercat/Makefile.am:145:   `plugins/ethercat/Makefile.common' included
from here
plugins/ethercat/Makefile.common:84: DISSECTOR_INCLUDES multiply defined in
condition TRUE ...
plugins/ethercat/Makefile.am:145:   `plugins/ethercat/Makefile.common' included
from here
plugins/ethercat/Makefile.common:39: ... `DISSECTOR_INCLUDES' previously
defined here
plugins/ethercat/Makefile.am:145:   `plugins/ethercat/Makefile.common' included
from here
plugins/ethercat/Makefile.am:147: plugindir multiply defined in condition TRUE
...
plugins/ethercat/Makefile.am:29: ... `plugindir' previously defined here
plugins/ethercat/Makefile.am:149: plugin_LTLIBRARIES multiply defined in
condition TRUE ...
plugins/ethercat/Makefile.am:31: ... `plugin_LTLIBRARIES' previously defined
here
plugins/ethercat/Makefile.am:150: ethercat_la_SOURCES multiply defined in
condition TRUE ...
plugins/ethercat/Makefile.am:32: ... `ethercat_la_SOURCES' previously defined
here
plugins/ethercat/Makefile.am:155: ethercat_la_LDFLAGS multiply defined in
condition TRUE ...
plugins/ethercat/Makefile.am:37: ... `ethercat_la_LDFLAGS' previously defined
here
plugins/ethercat/Makefile.am:156: ethercat_la_LIBADD multiply defined in
condition TRUE ...
plugins/ethercat/Makefile.am:38: ... `ethercat_la_LIBADD' previously defined
here
plugins/ethercat/Makefile.am:161: LIBS multiply defined in condition TRUE ...
plugins/ethercat/Makefile.am:43: ... `LIBS' previously defined here
plugins/ethercat/Makefile.am:226: CLEANFILES multiply defined in condition TRUE
...
plugins/ethercat/Makefile.am:108: ... `CLEANFILES' previously defined here
plugins/ethercat/Makefile.am:230: MAINTAINERCLEANFILES multiply defined in
condition TRUE ...
plugins/ethercat/Makefile.am:112: ... `MAINTAINERCLEANFILES' previously defined
here
plugins/ethercat/Makefile.am:234: EXTRA_DIST multiply defined in condition TRUE
...
plugins/ethercat/Makefile.am:116: ... `EXTRA_DIST' previously defined here

And the make phase exited with:

make[3]: Entering directory
`/local/src/wireshark.tmp/wireshark/plugins/ethercat'
Makefile:865: warning: overriding commands for target `plugin.c'
Makefile:820: warning: ignoring old commands for target `plugin.c'
Making plugin.c with python
/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 plugin.lo -MD -MP -MF .deps/plugin.Tpo -c -o
plugin.lo plugin.c
mkdir .libs
 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 plugin.lo -MD -MP -MF
.deps/plugin.Tpo -c plugin.c  -fPIC -DPIC -o .libs/plugin.o
In file included from plugin.c:10:
moduleinfo.h:35:28: warning: "/*" within comment
moduleinfo.h:36:28: warning: "/*" within comment
moduleinfo.h:37:28: warning: "/*" within comment
moduleinfo.h:39:1: warning: "/*" within comment
moduleinfo.h:39:28: warning: "/*" within comment
moduleinfo.h:40:28: warning: "/*" within comment
moduleinfo.h:76:28: warning: "/*" within comment
moduleinfo.h:77:28: warning: "/*" within comment
moduleinfo.h:78:28: warning: "/*" within comment
moduleinfo.h:80:1: warning: "/*" within comment
moduleinfo.h:80:28: warning: "/*" within comment
moduleinfo.h:81:28: warning: "/*" within comment
mv -f .deps/plugin.Tpo .deps/plugin.Plo
/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-e88a4.lo -MD -MP -MF
.deps/packet-e88a4.Tpo -c -o packet-e88a4.lo packet-e88a4.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-e88a4.lo -MD -MP
-MF .deps/packet-e88a4.Tpo -c packet-e88a4.c  -fPIC -DPIC -o
.libs/packet-e88a4.o
packet-e88a4.c:208: error: redefinition of 'proto_e88a4'
packet-e88a4.c:51: error: previous definition of 'proto_e88a4' was here
packet-e88a4.c:214: error: redefinition of 'ett_e88a4'
packet-e88a4.c:57: error: previous definition of 'ett_e88a4' was here
packet-e88a4.c:215: error: redefinition of 'hf_e88a4_length'
packet-e88a4.c:58: error: previous definition of 'hf_e88a4_length' was here
packet-e88a4.c:216: error: redefinition of 'hf_e88a4_type'
packet-e88a4.c:59: error: previous definition of 'hf_e88a4_type' was here
packet-e88a4.c:218: error: redefinition of 'E88A4Types'
packet-e88a4.c:61: error: previous definition of 'E88A4Types' was here
packet-e88a4.c:230: error: redefinition of 'dissect_e88a4'
packet-e88a4.c:73: error: previous definition of 'dissect_e88a4' was here
packet-e88a4.c:273: error: redefinition of 'proto_register_e88a4'
packet-e88a4.c:116: error: previous definition of 'proto_register_e88a4' was
here
packet-e88a4.c:307: error: redefinition of 'proto_reg_handoff_e88a4'
packet-e88a4.c:150: error: previous definition of 'proto_reg_handoff_e88a4' was
here
make[3]: *** [packet-e88a4.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


-- 
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.