Ethereal-dev: Re: [Ethereal-dev] Current CVS snapshot doesn't compile with MSVC on Win32

Note: This archive is from the project's previous web site, ethereal.com. This list is no longer active.

From: Lars Roland <Lars.Roland@xxxxxxx>
Date: Thu, 03 Jun 2004 17:42:25 +0200
Biot Olivier wrote:
Hi list,

The current CVS snapshot doesn't compile with MSVC on my WinXP box. I ran a
nmake -f Makefile.nmake distclean followed with a nmake -f Makefile.mnake
packaging. The error is:

Linking ethereal-gtk2.exe
        link @C:\DOCUME~1\be322008\LOCALS~1\Temp\nma03640.
libui.lib(rtp_stream_dlg.obj) : error LNK2001: unresolved external symbol
__imp__rtp_payload_type_vals
ethereal-gtk2.exe : fatal error LNK1120: 1 unresolved externals


libethereal.def has to be fixed.
Patch is attached.

Regards,

Lars

Index: libethereal.def
===================================================================
RCS file: /cvsroot/ethereal/epan/libethereal.def,v
retrieving revision 1.4
diff -u -r1.4 libethereal.def
--- libethereal.def	22 May 2004 08:12:33 -0000	1.4
+++ libethereal.def	3 Jun 2004 15:07:58 -0000
@@ -268,6 +268,7 @@
 gsm_map_opr_code_strings        DATA
 g_resolv_flags                  DATA
 h323_message_body_vals          DATA
+have_tap_listeners
 heur_dissector_add
 host_name_lookup_process
 incomplete_tcp_stream           DATA
@@ -424,6 +425,7 @@
 rpc_progs                       DATA
 rpc_prog_hf
 rpc_prog_name
+rtp_payload_type_vals           DATA
 set_actual_length
 set_timestamp_setting
 show_fragment_seq_tree