Wireshark-dev: Re: [Wireshark-dev] problem building wireshark
From: Tyler De Haven Brown <Tyler.Brown@xxxxxxxxxxxx>
Date: Tue, 12 Jun 2007 13:50:15 -0600 (MDT)
Yes, that was the problem with the previous error, thanks for pointing that out. I am now back to the original error: if exist wireshark-gtk2.pdb copy wireshark-gtk2.pdb wireshark-gtk2\wireshark.pdb 1 file(s) copied. if exist ".\docbook\user-guide.chm" xcopy ".\docbook\user-guide.chm" wireshark-gtk2 /d wireshark-gtk2\tshark.exe -G | perl doc\dfilter2pod.pl doc\wireshark-filter.pod.template > doc\wireshark-filter.pod Access is denied. NMAKE : fatal error U1077: 'wireshark-gtk2\tshark.exe' : return code '0xff' Stop. NMAKE : fatal error U1077: '"C:\Program Files\Microsoft Visual Studio 8\VC\BIN\nmake.exe"' : return code '0x2' Stop. ---- Original message ---- >Date: Tue, 12 Jun 2007 13:30:15 -0400 >From: "Bill Meier" <wmeier@xxxxxxxxxxx> >Subject: Re: [Wireshark-dev] problem building wireshark >To: Tyler De Haven Brown <Tyler.Brown@xxxxxxxxxxxx>, 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. >> > >Several comments: > >1. Please review the following (if you've not already done so): >http://www.wireshark.org/docs/wsdg_html_chunked/ChSetupWin32.html#ChSetupMSVC > >Note that since you appear to be using VC8, you will need to change >config.nmake file to indicate that you're using vc8 (if you've not already >done so). > >2. The current Wireshark distribution is compiled using VC6 and thus does >not give the warnings about sprintf & etc. > >The Wireshark WIndows make files specify "stop on warning" to ensure that all >warnings are fixed. That's why the 'fatal error' exit. > >If the config.nmake specifies the correct value for MSC_VARIANT it's possible >the compile will then complete with no problem. > > >Please let us know if this helps or if you encounter further problems. > > >Bill Meier > > > > > >_______________________________________________ >Wireshark-dev mailing list >Wireshark-dev@xxxxxxxxxxxxx >http://www.wireshark.org/mailman/listinfo/wireshark-dev
- Follow-Ups:
- Re: [Wireshark-dev] problem building wireshark
- From: Bill Meier
- Re: [Wireshark-dev] problem building wireshark
- Prev by Date: [Wireshark-dev] dissector for DRM Distribution Interfaces
- Next by Date: Re: [Wireshark-dev] problem building wireshark
- Previous by thread: Re: [Wireshark-dev] unresolved external symbol _tvb_get_ephemeral_faked_unicode
- Next by thread: Re: [Wireshark-dev] problem building wireshark
- Index(es):