https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=3528
Michael Mann <mmann78@xxxxxxxxxxxx> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |mmann78@xxxxxxxxxxxx
--- Comment #7 from Michael Mann <mmann78@xxxxxxxxxxxx> 2012-09-16 20:36:47 PDT ---
(In reply to comment #5)
> Created attachment 8204 [details]
> Fixed indentation, C++ style comments, proihibited API:s
> It does not compile on windows - linking with zlib missing? should/can zlib
> functions be accessed trough glib/gtk instead?
Index: ui/gtk/Makefile.nmake
===================================================================
--- ui/gtk/Makefile.nmake (revision 44932)
+++ ui/gtk/Makefile.nmake (working copy)
@@ -12,7 +12,7 @@
GENERATED_CFLAGS=\
$(STANDARD_CFLAGS) \
-D_NEED_VAR_IMPORT_ /Zm800 \
- /I../.. /I../../wiretap $(GTK_CFLAGS) $(GNUTLS_CFLAGS) \
+ /I../.. /I../../wiretap $(GTK_CFLAGS) $(ZLIB_CFLAGS) $(GNUTLS_CFLAGS) \
/I$(PCAP_DIR)\WPCAP\LIBPCAP /I$(PCAP_DIR)\WPCAP\LIBPCAP\bpf \
/I$(PCAP_DIR)\WPCAP\LIBPCAP\lbl \
/I$(PCAP_DIR)\include $(AIRPCAP_CFLAGS) \
gets it to compile, but then I get the following link error:
Linking wireshark.exe
link @C:\DOCUME~1\Pyramid\LOCALS~1\Temp\nm177.tmp
libgtkui.lib(follow_tcp.obj) : error LNK2019: unresolved external symbol
_inflateEnd referenced in function _follow_read_tcp_stream
libgtkui.lib(follow_tcp.obj) : error LNK2019: unresolved external symbol
_inflate referenced in function _follow_read_tcp_stream
libgtkui.lib(follow_tcp.obj) : error LNK2019: unresolved external symbol
_inflateInit2_ referenced in function _follow_read_tcp_stream
wireshark.exe : fatal error LNK1120: 3 unresolved externals
NMAKE : fatal error U1077: '"c:\Program Files\Microsoft Visual Studio
9.0\VC\BIN\link.EXE"' : return code '0x460'
Stop.
I don't understand the link errors because wireshark should already have those
functions (at least _inflateEnd) because they are needed for tvbuff.c.
Shouldn't wireshark already being pulling in zdll.lib? Or are their "sub"
libraries that are just taking what they need from it? (which would still
include _inflateEnd)
--
Configure bugmail: https://bugs.wireshark.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
You are watching all bug changes.