Wireshark-dev: Re: [Wireshark-dev] unresolved external symbol _tvb_get_ephemeral_faked_unicode

From: Jaap Keuter <jaap.keuter@xxxxxxxxx>
Date: Wed, 13 Jun 2007 00:36:28 +0200 (CEST)
Hi,

That symbol is not exported from libwireshark.lib by means of the
libwireshark.def file for use in plugins. Add it to your own Wireshark
build you package this plugin with, or work around it by using other
functions.

Thanx,
Jaap

On Tue, 12 Jun 2007, Jim Pickering wrote:

> Getting the following link error ....
>
> link -dll /out:dfirst.dll /NOLOGO /INCREMENTAL:no /MACHINE:I386 /DEBUG
> packet-dfirst.obj  plugin.obj ..\..\epan\libwireshark.lib
> C:\wireshark-win32-libs\glib\lib\glib-2.0.lib
> C:\wireshark-win32-libs\glib\lib\gmodule-2.0.lib
> C:\wireshark-win32-libs\glib\lib\gobject-2.0.lib dfirst.res
>    Creating library dfirst.lib and object dfirst.exp
> packet-dfirst.obj : error LNK2001: unresolved external symbol
> _tvb_get_ephemeral_faked_unicode
> dfirst.dll : fatal error LNK1120: 1 unresolved externals
> NMAKE : fatal error U1077: 'link' : return code '0x460'
>
> Building with MSVC 6.0 on Windows XP.
>
> Thanks in advance.
>
> Jim
>
> Jim Pickering
> Senior Software Engineer
> SRI International
> 4119 Broad Street, Suite 210
> San Luis Obispo, CA 93401
> Phone: (805) 542-9330 ext. 125
> FAX: (805) 546-2444
>
>
>
> Tyler De Haven Brown wrote:
> > Sorry I didn't include this earlier, this is the actual error.
> >
> > cl -WX -D_U_="" /Zi /W3 /MD lemon.c
> > Microsoft (R) 32-bit C/C++ Optimizing Compiler Version 14.00.50727.42 for 80x86
> > Copyright (C) Microsoft Corporation.  All rights reserved.
> >
> > lemon.c
> > lemon.c(1345) : error C2220: warning treated as error - no 'object' file generated
> >
> > ---- Original message ----
> >
> >> Date: Tue, 12 Jun 2007 10:06:37 -0600 (MDT)
> >> From: Tyler De Haven Brown <Tyler.Brown@xxxxxxxxxxxx>
> >> Subject: Re: [Wireshark-dev] problem building wireshark
> >> To: Developer support list for Wireshark <wireshark-dev@xxxxxxxxxxxxx>
> >>
> >> uninstalled and reinstalled everything.  All of the steps worked without any problems (except for the last step).
> >> now when I run the command nmake -f Makefile.nmake all, I get several deprecated function warnings and the following error:
> >>
> >> lemon.c(3958) : warning C4996: 'sprintf' was declared deprecated
> >>        C:\Program Files\Microsoft Visual Studio 8\VC\INCLUDE\stdio.h(345) : see
> >> declaration of 'sprintf'
> >>        Message: 'This function or variable may be unsafe. Consider using sprintf_s instead. To disable deprecation, use _CRT_SECURE_NO_DEPRECATE. See online help for details.'
> >> lemon.c(4182) : warning C4996: 'strcpy' was declared deprecated
> >>        C:\Program Files\Microsoft Visual Studio 8\VC\INCLUDE\string.h(73) : see declaration of 'strcpy'
> >>        Message: 'This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_DEPRECATE. See online help for details.'
> >> NMAKE : fatal error U1077: 'cl' : return code '0x2'
> >> Stop.
> >> NMAKE : fatal error U1077: '"C:\Program Files\Microsoft Platform SDK for Windows Server 2003 R2\Bin\nmake.exe"' : return code '0x2'
> >> Stop.
> >> NMAKE : fatal error U1077: '"C:\Program Files\Microsoft Platform SDK for Windows Server 2003 R2\Bin\nmake.exe"' : return code '0x2'
> >> Stop.
> >>
> >> Any help is greatly appreciated,
> >> Tyler
> >>
> >>
> >> ---- Original message ----
> >>
> >>> Date: Tue, 12 Jun 2007 09:01:00 -0600 (MDT)
> >>> From: Tyler De Haven Brown <Tyler.Brown@xxxxxxxxxxxx>
> >>> Subject: Re: [Wireshark-dev] problem building wireshark
> >>> To: Developer support list for Wireshark <wireshark-dev@xxxxxxxxxxxxx>
> >>>
> >>> I am going by the step-by-step instructions for installing the build environment on a win32 machine.  I am going to uninstall and reinstall everything to see if that fixes it.  I'll post back if I am still running into issues.
> >>>
> >>> Thanks,
> >>> Tyler
> >>>
> >>> ---- Original message ----
> >>>
> >>>> Date: Tue, 12 Jun 2007 07:44:40 +0200 (CEST)
> >>>> From: Jaap Keuter <jaap.keuter@xxxxxxxxx>
> >>>> Subject: Re: [Wireshark-dev] problem building wireshark
> >>>> To: Developer support list for Wireshark <wireshark-dev@xxxxxxxxxxxxx>
> >>>>
> >>>> Hi,
> >>>>
> >>>> Sure, give us some info on the environment you're building in. Compiler,
> >>>> tarball or SVN checkout, OS, stuff like that.
> >>>>
> >>>> Thanx,
> >>>> Jaap
> >>>>
> >>>> On Mon, 11 Jun 2007, Tyler De Haven Brown wrote:
> >>>>
> >>>>
> >>>>> I'm new to wireshark and having problems with the first build
> >>>>> Get the following error message box:
> >>>>> tshark.exe is not a win32 valid application
> >>>>> The command prompt states the following:
> >>>>>
> >>>>>         wireshark-gtk2\tshark.exe -G | perl doc\dfilter2pod.pl doc\wireshark-filter.pod.template > doc\wireshark-filter.pod
> >>>>> Access is denied.
> >>>>>
> >>>>> Any ideas?
> >>>>>
> >>>> _______________________________________________
> >>>> Wireshark-dev mailing list
> >>>> Wireshark-dev@xxxxxxxxxxxxx
> >>>> http://www.wireshark.org/mailman/listinfo/wireshark-dev
> >>>>
> >>> _______________________________________________
> >>> Wireshark-dev mailing list
> >>> Wireshark-dev@xxxxxxxxxxxxx
> >>> http://www.wireshark.org/mailman/listinfo/wireshark-dev
> >>>
> >> _______________________________________________
> >> Wireshark-dev mailing list
> >> Wireshark-dev@xxxxxxxxxxxxx
> >> http://www.wireshark.org/mailman/listinfo/wireshark-dev
> >>
> > _______________________________________________
> > Wireshark-dev mailing list
> > Wireshark-dev@xxxxxxxxxxxxx
> > http://www.wireshark.org/mailman/listinfo/wireshark-dev
> >
>