Wireshark-dev: [Wireshark-dev] Errors compiling under Cygwin
From: "Deckard, Matthew D" <Matthew.D.Deckard@xxxxxxxxxx>
Date: Wed, 16 Aug 2006 13:51:07 -0500
I'm getting errors while trying to compile wireshark 0.99.2 under Cygwin. Somebody posted in June who was getting the exact same errors, but evidently nobody responded to him so I assume that it's an unresolved issue that at least two different people have encountered. Here is the output: gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../.. -I/usr/local/include -I/usr/local/include "-D_U_=__attribute__((unused))" -Wall -Wpointer-arith -W -g -O2 -I/usr/local/include -DXTHREADS -DXUSE_MTSAFE_API -D_REENTRANT -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/X11R6/include -I/usr/include/atk-1.0 -I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -MT packet-acn.lo -MD -MP -MF .deps/packet-acn.Tpo -c packet-acn.c -DDLL_EXPORT -DPIC -o .libs/packet-acn.o /bin/sh ../../libtool --tag=CC --mode=link gcc -D_U_="__attribute__((unused))" -Wall -Wpointer-arith -W -g -O2 -I/usr/local/include -DXTHREADS -DXUSE_MTSAFE_API -D_REENTRANT -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/X11R6/include -I/usr/include/atk-1.0 -I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -no-undefined -L/usr/local/lib -L/usr/local/lib -o acn.la -rpath /usr/local/lib/wireshark/plugins/0.99.2 -module -avoid-version plugin.lo packet-acn.lo -L../../epan -lwireshark -Wl,--export-dynamic -lgmodule-2.0 -lglib-2.0 -lintl -liconv gcc -shared .libs/plugin.o .libs/packet-acn.o -L/usr/local/lib /cygdrive/m/wireshark-0.99.2/epan/.libs/libwireshark.dll.a -L/usr/lib /usr/lib/libgmodule-2.0.dll.a /usr/lib/libglib-2.0.dll.a /usr/lib/libintl.dll.a /usr/lib/libiconv.dll.a -Wl,--export-dynamic -o .libs/acn.dll -Wl,--enable-auto-image-base -Xlinker --out-implib -Xlinker .libs/acn.dll.a Creating library file: .libs/acn.dll.a .libs/packet-acn.o: In function `dissect_pdu': /cygdrive/m/wireshark-0.99.2/plugins/acn/packet-acn.c:667: undefined reference to `_proto_tree_add_item' /cygdrive/m/wireshark-0.99.2/plugins/acn/packet-acn.c:674: undefined reference to `_proto_item_add_subtree' /cygdrive/m/wireshark-0.99.2/plugins/acn/packet-acn.c:676: undefined reference to `_tvb_get_guint8' /cygdrive/m/wireshark-0.99.2/plugins/acn/packet-acn.c:677: undefined reference to `_proto_tree_add_uint' /cygdrive/m/wireshark-0.99.2/plugins/acn/packet-acn.c:680: undefined reference to `_proto_item_add_subtree' /cygdrive/m/wireshark-0.99.2/plugins/acn/packet-acn.c:682: undefined reference to `_proto_tree_add_item' /cygdrive/m/wireshark-0.99.2/plugins/acn/packet-acn.c:683: undefined reference to `_proto_tree_add_item' /cygdrive/m/wireshark-0.99.2/plugins/acn/packet-acn.c:684: undefined reference to `_proto_tree_add_item' /cygdrive/m/wireshark-0.99.2/plugins/acn/packet-acn.c:685: undefined reference to `_proto_tree_add_item' /cygdrive/m/wireshark-0.99.2/plugins/acn/packet-acn.c:686: undefined reference to `_proto_tree_add_item' .libs/packet-acn.o:/cygdrive/m/wireshark-0.99.2/plugins/acn/packet-acn.c :687: more undefined references to `_proto_tree_add_item' follow Any insight at all into what might be causing these errors would be very much appreciated. Thank you. -- Matt Deckard
- Prev by Date: [Wireshark-dev] Wireshark .99.2 on XP x64
- Next by Date: Re: [Wireshark-dev] [Wireshark-commits] rev 18930: /trunk/epan/dissectors/ /trunk/epan/dissectors/: packet-tcp.c
- Previous by thread: [Wireshark-dev] Wireshark .99.2 on XP x64
- Next by thread: Re: [Wireshark-dev] [Wireshark-commits] rev 18930: /trunk/epan/dissectors/ /trunk/epan/dissectors/: packet-tcp.c
- Index(es):