Re: [Wireshark-dev] Compilation errors while building the Wireshark sources
I have the same problem. I have tried to do distclean and compile again several times, but no luck. Anyone has luck in solving this problem? regards, -Alfred- On Fri, May 1, 2009 at 8:28 PM, Anonymous Anonymous a.master.blas...@gmail.com wrote: I'm still stuck at this. Here is the complete build log I've managed to extract using the command: nmake -f Makefile.nmake all build-log.txt 21 Microsoft (R) Program Maintenance Utility Version 9.00.30729.01 Copyright (C) Microsoft Corporation. All rights reserved. cd tools C:\Program Files\Microsoft Visual Studio 9.0\VC\BIN\nmake.exe / -f Makefile.nmake Microsoft (R) Program Maintenance Utility Version 9.00.30729.01 Copyright (C) Microsoft Corporation. All rights reserved. cd lemon C:\Program Files\Microsoft Visual Studio 9.0\VC\BIN\nmake.exe / -f Makefile.nmake Microsoft (R) Program Maintenance Utility Version 9.00.30729.01 Copyright (C) Microsoft Corporation. All rights reserved. cd .. cd .. cd image C:\Program Files\Microsoft Visual Studio 9.0\VC\BIN\nmake.exe / -f Makefile.nmake Microsoft (R) Program Maintenance Utility Version 9.00.30729.01 Copyright (C) Microsoft Corporation. All rights reserved. cd .. cd codecs C:\Program Files\Microsoft Visual Studio 9.0\VC\BIN\nmake.exe / -f Makefile.nmake Microsoft (R) Program Maintenance Utility Version 9.00.30729.01 Copyright (C) Microsoft Corporation. All rights reserved. 'codecs.lib' is up-to-date cd .. cd wiretap C:\Program Files\Microsoft Visual Studio 9.0\VC\BIN\nmake.exe / -f Makefile.nmake Microsoft (R) Program Maintenance Utility Version 9.00.30729.01 Copyright (C) Microsoft Corporation. All rights reserved. cd .. cd epan C:\Program Files\Microsoft Visual Studio 9.0\VC\BIN\nmake.exe / -f Makefile.nmake Microsoft (R) Program Maintenance Utility Version 9.00.30729.01 Copyright (C) Microsoft Corporation. All rights reserved. cd crypt C:\Program Files\Microsoft Visual Studio 9.0\VC\BIN\nmake.exe / -f Makefile.nmake Microsoft (R) Program Maintenance Utility Version 9.00.30729.01 Copyright (C) Microsoft Corporation. All rights reserved. 'airpdcap.lib' is up-to-date cd .. cd ftypes C:\Program Files\Microsoft Visual Studio 9.0\VC\BIN\nmake.exe / -f Makefile.nmake Microsoft (R) Program Maintenance Utility Version 9.00.30729.01 Copyright (C) Microsoft Corporation. All rights reserved. 'ftypes.lib' is up-to-date cd .. cd dfilter C:\Program Files\Microsoft Visual Studio 9.0\VC\BIN\nmake.exe / -f Makefile.nmake Microsoft (R) Program Maintenance Utility Version 9.00.30729.01 Copyright (C) Microsoft Corporation. All rights reserved. 'dfilter.lib' is up-to-date cd .. cd wslua C:\Program Files\Microsoft Visual Studio 9.0\VC\BIN\nmake.exe / -f Makefile.nmake Microsoft (R) Program Maintenance Utility Version 9.00.30729.01 Copyright (C) Microsoft Corporation. All rights reserved. 'wslua.lib' is up-to-date cd .. cd dissectors C:\Program Files\Microsoft Visual Studio 9.0\VC\BIN\nmake.exe / -f Makefile.nmake Microsoft (R) Program Maintenance Utility Version 9.00.30729.01 Copyright (C) Microsoft Corporation. All rights reserved. 'dissectors.lib' is up-to-date cd .. Linking libwireshark.dll link /INCREMENTAL:NO /NOLOGO -entry:_dllmaincrtstar...@12 -dll kernel32.lib ws2_32.lib mswsock.lib advapi32.lib shell32.lib /DEBUG /DEF:libwireshark.def /OUT:libwireshark.dll /IMPLIB:libwireshark.lib addr_and_mask.obj addr_resolv.obj adler32.obj afn.obj asn1.obj atalk-utils.obj base64.obj bitswap.obj camel-persistentdata.obj charsets.obj circuit.obj codecs.obj column.obj column-utils.obj conversation.obj crc10.obj crc16.obj crc32.obj crc6.obj crcdrm.obj dissector_filters.obj emem.obj epan.obj ex-opt.obj except.obj expert.obj filesystem.obj follow.obj frame_data.obj frequency-utils.obj funnel.obj gcp.obj golay.obj guid-utils.obj h225-persistentdata.obj in_cksum.obj ipproto.obj ipv4.obj next_tvb.obj nstime.obj oids.obj osi-utils.obj packet.obj plugins.obj prefs.obj privileges.obj proto.obj range.obj reassemble.obj reedsolomon.obj report_err.obj req_resp_hdrs.obj sigcomp_state_hdlr.obj sigcomp-udvm.obj sminmpec.obj sna-utils.obj stat_cmd_args.obj stats_tree.obj strutil.obj stream.obj t35.obj
Re: [Wireshark-dev] Compilation errors while building the Wireshark sources
I'm still stuck at this. Here is the complete build log I've managed to extract using the command: nmake -f Makefile.nmake all build-log.txt 21 * Microsoft (R) Program Maintenance Utility Version 9.00.30729.01 Copyright (C) Microsoft Corporation. All rights reserved. cd tools C:\Program Files\Microsoft Visual Studio 9.0\VC\BIN\nmake.exe / -f Makefile.nmake Microsoft (R) Program Maintenance Utility Version 9.00.30729.01 Copyright (C) Microsoft Corporation. All rights reserved. cd lemon C:\Program Files\Microsoft Visual Studio 9.0\VC\BIN\nmake.exe / -f Makefile.nmake Microsoft (R) Program Maintenance Utility Version 9.00.30729.01 Copyright (C) Microsoft Corporation. All rights reserved. cd .. cd .. cd image C:\Program Files\Microsoft Visual Studio 9.0\VC\BIN\nmake.exe / -f Makefile.nmake Microsoft (R) Program Maintenance Utility Version 9.00.30729.01 Copyright (C) Microsoft Corporation. All rights reserved. cd .. cd codecs C:\Program Files\Microsoft Visual Studio 9.0\VC\BIN\nmake.exe / -f Makefile.nmake Microsoft (R) Program Maintenance Utility Version 9.00.30729.01 Copyright (C) Microsoft Corporation. All rights reserved. 'codecs.lib' is up-to-date cd .. cd wiretap C:\Program Files\Microsoft Visual Studio 9.0\VC\BIN\nmake.exe / -f Makefile.nmake Microsoft (R) Program Maintenance Utility Version 9.00.30729.01 Copyright (C) Microsoft Corporation. All rights reserved. cd .. cd epan C:\Program Files\Microsoft Visual Studio 9.0\VC\BIN\nmake.exe / -f Makefile.nmake Microsoft (R) Program Maintenance Utility Version 9.00.30729.01 Copyright (C) Microsoft Corporation. All rights reserved. cd crypt C:\Program Files\Microsoft Visual Studio 9.0\VC\BIN\nmake.exe / -f Makefile.nmake Microsoft (R) Program Maintenance Utility Version 9.00.30729.01 Copyright (C) Microsoft Corporation. All rights reserved. 'airpdcap.lib' is up-to-date cd .. cd ftypes C:\Program Files\Microsoft Visual Studio 9.0\VC\BIN\nmake.exe / -f Makefile.nmake Microsoft (R) Program Maintenance Utility Version 9.00.30729.01 Copyright (C) Microsoft Corporation. All rights reserved. 'ftypes.lib' is up-to-date cd .. cd dfilter C:\Program Files\Microsoft Visual Studio 9.0\VC\BIN\nmake.exe / -f Makefile.nmake Microsoft (R) Program Maintenance Utility Version 9.00.30729.01 Copyright (C) Microsoft Corporation. All rights reserved. 'dfilter.lib' is up-to-date cd .. cd wslua C:\Program Files\Microsoft Visual Studio 9.0\VC\BIN\nmake.exe / -f Makefile.nmake Microsoft (R) Program Maintenance Utility Version 9.00.30729.01 Copyright (C) Microsoft Corporation. All rights reserved. 'wslua.lib' is up-to-date cd .. cd dissectors C:\Program Files\Microsoft Visual Studio 9.0\VC\BIN\nmake.exe / -f Makefile.nmake Microsoft (R) Program Maintenance Utility Version 9.00.30729.01 Copyright (C) Microsoft Corporation. All rights reserved. 'dissectors.lib' is up-to-date cd .. Linking libwireshark.dll link /INCREMENTAL:NO /NOLOGO -entry:_dllmaincrtstar...@12 -dll kernel32.lib ws2_32.lib mswsock.lib advapi32.lib shell32.lib /DEBUG /DEF:libwireshark.def /OUT:libwireshark.dll /IMPLIB:libwireshark.lib addr_and_mask.obj addr_resolv.obj adler32.obj afn.obj asn1.obj atalk-utils.obj base64.obj bitswap.obj camel-persistentdata.obj charsets.obj circuit.obj codecs.obj column.obj column-utils.obj conversation.obj crc10.obj crc16.obj crc32.obj crc6.obj crcdrm.obj dissector_filters.obj emem.obj epan.obj ex-opt.obj except.obj expert.obj filesystem.obj follow.obj frame_data.obj frequency-utils.obj funnel.obj gcp.obj golay.obj guid-utils.obj h225-persistentdata.obj in_cksum.obj ipproto.obj ipv4.obj next_tvb.obj nstime.obj oids.obj osi-utils.obj packet.obj plugins.obj prefs.obj privileges.obj proto.obj range.obj reassemble.obj reedsolomon.obj report_err.obj req_resp_hdrs.obj sigcomp_state_hdlr.obj sigcomp-udvm.obj sminmpec.obj sna-utils.obj stat_cmd_args.obj stats_tree.obj strutil.obj stream.obj t35.obj tap.obj tcap-persistentdata.obj timestamp.obj tfs.obj to_str.obj tvbparse.obj tvbuff.obj uat.obj unicode-utils.obj value_string.obj ws_strsplit.obj xdlc.obj xmlstub.obj dtd_grammar.obj diam_dict.obj dtd_parse.obj dtd_preparse.obj
Re: [Wireshark-dev] Compilation errors while building the Wireshark sources
No luck so far. I've re-downloaded the sources using TortoiseSVN and compilation again fails in the exact same place. Any suggestions? On Wed, Apr 29, 2009 at 9:14 AM, Jaap Keuter jaap.keu...@xs4all.nl wrote: Hi, Well, he's building the 1.1.4 development version, so 2008 should be fine. It seems that you've a botched tarball or working copy, since little has changed in this area for a long time. Try downloading a new tarball or revert changes in the working copy and start from the current head of development. Thanx, Jaap Rohan Solanki wrote: hi, I think you should try building wireshark with visual studio 2005. Also Make appropriate changes in the config.nmake file. I also had problems with visual studio 2008. I have successfully build and running wireshark 1.0.5 with visual studio 2005. Rohan. On Tue, Apr 28, 2009 at 7:19 PM, Anonymous Anonymous a.master.blas...@gmail.com mailto:a.master.blas...@gmail.com wrote: Hi everyone, I'm new to the Wireshark development process and I'm having some building issues I hope you will be able to solve. Ok, so here it comes. I've followed the developers manual step-by-step and everything worked out fine until I had to issue the command name Makefile.namke all. For some unknown reason this command seems to fail over and over again. The relevant output lines I managed to extract from the console are as follows: /*dissectors.lib(packet-ncp-sss.obj) : error LNK2001: unresolved external symbol _ ett_nds libwireshark.dll : fatal error LNK1120: 1 unresolved externals NMAKE : fatal error U1077: 'C:\Program Files\Microsoft Visual Studio 9.0\VC\BIN \link.EXE' : return code '0x460' Stop. NMAKE : fatal error U1077: 'C:\Program Files\Microsoft Visual Studio 9.0\VC\BIN \nmake.exe' : return code '0x2' Stop. */The same output also appears when I'm trying to build the .sln file provided is the sources using VC++ 2008 Express Edition. Can someone point out what the problem is? Thanks in advance. Any help will be deeply appreciated. My building environment specs: OS - Microsoft Windows XP SP3 IDE - Microsoft Visual C++ 2008 Express Edition SVN - TortoiseSVN Wireshark version - 1.1.4.0 (version info was taken from the config.nmake file) ___ Sent via:Wireshark-dev mailing list wireshark-dev@wireshark.org Archives:http://www.wireshark.org/lists/wireshark-dev Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev mailto:wireshark-dev-requ...@wireshark.org?subject=unsubscribe ___ Sent via:Wireshark-dev mailing list wireshark-dev@wireshark.org Archives:http://www.wireshark.org/lists/wireshark-dev Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev mailto:wireshark-dev-requ...@wireshark.org?subject=unsubscribe
Re: [Wireshark-dev] Compilation errors while building the Wireshark sources
Did you try nmake -f makefile.nmake distclean nmake -f makefile.nmake all This has often worked for me in similar situations. On Thu, Apr 30, 2009 at 3:08 PM, Anonymous Anonymous a.master.blas...@gmail.com wrote: No luck so far. I've re-downloaded the sources using TortoiseSVN and compilation again fails in the exact same place. Any suggestions? On Wed, Apr 29, 2009 at 9:14 AM, Jaap Keuter jaap.keu...@xs4all.nlwrote: Hi, Well, he's building the 1.1.4 development version, so 2008 should be fine. It seems that you've a botched tarball or working copy, since little has changed in this area for a long time. Try downloading a new tarball or revert changes in the working copy and start from the current head of development. Thanx, Jaap Rohan Solanki wrote: hi, I think you should try building wireshark with visual studio 2005. Also Make appropriate changes in the config.nmake file. I also had problems with visual studio 2008. I have successfully build and running wireshark 1.0.5 with visual studio 2005. Rohan. On Tue, Apr 28, 2009 at 7:19 PM, Anonymous Anonymous a.master.blas...@gmail.com mailto:a.master.blas...@gmail.com wrote: Hi everyone, I'm new to the Wireshark development process and I'm having some building issues I hope you will be able to solve. Ok, so here it comes. I've followed the developers manual step-by-step and everything worked out fine until I had to issue the command name Makefile.namke all. For some unknown reason this command seems to fail over and over again. The relevant output lines I managed to extract from the console are as follows: /*dissectors.lib(packet-ncp-sss.obj) : error LNK2001: unresolved external symbol _ ett_nds libwireshark.dll : fatal error LNK1120: 1 unresolved externals NMAKE : fatal error U1077: 'C:\Program Files\Microsoft Visual Studio 9.0\VC\BIN \link.EXE' : return code '0x460' Stop. NMAKE : fatal error U1077: 'C:\Program Files\Microsoft Visual Studio 9.0\VC\BIN \nmake.exe' : return code '0x2' Stop. */The same output also appears when I'm trying to build the .sln file provided is the sources using VC++ 2008 Express Edition. Can someone point out what the problem is? Thanks in advance. Any help will be deeply appreciated. My building environment specs: OS - Microsoft Windows XP SP3 IDE - Microsoft Visual C++ 2008 Express Edition SVN - TortoiseSVN Wireshark version - 1.1.4.0 (version info was taken from the config.nmake file) ___ Sent via:Wireshark-dev mailing list wireshark-dev@wireshark.org Archives:http://www.wireshark.org/lists/wireshark-dev Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev mailto:wireshark-dev-requ...@wireshark.org ?subject=unsubscribe ___ Sent via:Wireshark-dev mailing list wireshark-dev@wireshark.org Archives:http://www.wireshark.org/lists/wireshark-dev Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev mailto:wireshark-dev-requ...@wireshark.org?subject=unsubscribe ___ Sent via:Wireshark-dev mailing list wireshark-dev@wireshark.org Archives:http://www.wireshark.org/lists/wireshark-dev Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev mailto:wireshark-dev-requ...@wireshark.org?subject=unsubscribe
Re: [Wireshark-dev] Compilation errors while building the Wireshark sources
Hi Abhik, What does distclean does? I want to know will my changes remain when i do distclean? And also how do i compile a single file instead of building the whole project? Thanks in advance Rohan On Thu, Apr 30, 2009 at 4:28 AM, Abhik Sarkar sarkar.ab...@gmail.comwrote: Did you try nmake -f makefile.nmake distclean nmake -f makefile.nmake all This has often worked for me in similar situations. On Thu, Apr 30, 2009 at 3:08 PM, Anonymous Anonymous a.master.blas...@gmail.com wrote: No luck so far. I've re-downloaded the sources using TortoiseSVN and compilation again fails in the exact same place. Any suggestions? On Wed, Apr 29, 2009 at 9:14 AM, Jaap Keuter jaap.keu...@xs4all.nlwrote: Hi, Well, he's building the 1.1.4 development version, so 2008 should be fine. It seems that you've a botched tarball or working copy, since little has changed in this area for a long time. Try downloading a new tarball or revert changes in the working copy and start from the current head of development. Thanx, Jaap Rohan Solanki wrote: hi, I think you should try building wireshark with visual studio 2005. Also Make appropriate changes in the config.nmake file. I also had problems with visual studio 2008. I have successfully build and running wireshark 1.0.5 with visual studio 2005. Rohan. On Tue, Apr 28, 2009 at 7:19 PM, Anonymous Anonymous a.master.blas...@gmail.com mailto:a.master.blas...@gmail.com wrote: Hi everyone, I'm new to the Wireshark development process and I'm having some building issues I hope you will be able to solve. Ok, so here it comes. I've followed the developers manual step-by-step and everything worked out fine until I had to issue the command name Makefile.namke all. For some unknown reason this command seems to fail over and over again. The relevant output lines I managed to extract from the console are as follows: /*dissectors.lib(packet-ncp-sss.obj) : error LNK2001: unresolved external symbol _ ett_nds libwireshark.dll : fatal error LNK1120: 1 unresolved externals NMAKE : fatal error U1077: 'C:\Program Files\Microsoft Visual Studio 9.0\VC\BIN \link.EXE' : return code '0x460' Stop. NMAKE : fatal error U1077: 'C:\Program Files\Microsoft Visual Studio 9.0\VC\BIN \nmake.exe' : return code '0x2' Stop. */The same output also appears when I'm trying to build the .sln file provided is the sources using VC++ 2008 Express Edition. Can someone point out what the problem is? Thanks in advance. Any help will be deeply appreciated. My building environment specs: OS - Microsoft Windows XP SP3 IDE - Microsoft Visual C++ 2008 Express Edition SVN - TortoiseSVN Wireshark version - 1.1.4.0 (version info was taken from the config.nmake file) ___ Sent via:Wireshark-dev mailing list wireshark-dev@wireshark.org Archives:http://www.wireshark.org/lists/wireshark-dev Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev mailto:wireshark-dev-requ...@wireshark.org ?subject=unsubscribe ___ Sent via:Wireshark-dev mailing list wireshark-dev@wireshark.org Archives:http://www.wireshark.org/lists/wireshark-dev Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev mailto:wireshark-dev-requ...@wireshark.org ?subject=unsubscribe ___ Sent via:Wireshark-dev mailing list wireshark-dev@wireshark.org Archives:http://www.wireshark.org/lists/wireshark-dev Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev mailto:wireshark-dev-requ...@wireshark.org?subject=unsubscribe ___ Sent via:Wireshark-dev mailing list wireshark-dev@wireshark.org Archives:http://www.wireshark.org/lists/wireshark-dev Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev mailto:wireshark-dev-requ...@wireshark.org?subject=unsubscribe
Re: [Wireshark-dev] Compilation errors while building the Wireshark sources
Hi Rohan, The distclean target cleans up any files made for a distribution... this removes any generated stuff and keeps the sources untouched. You can't compile a single file if you are changing the in-built dissectors because all of the functionality is part of one big shared library and that library needs to be relinked. I would like to point out however that the build system compiles only changed sources (and a few other files) and only re-links them... so, I normally find that if I change only a particular dissector the re-build takes a only about a minute, but after a distclean it takes a good 5-10 minutes (on my system). Regards, Abhik. On Thu, Apr 30, 2009 at 3:32 PM, Rohan Solanki solanki.ro...@gmail.comwrote: Hi Abhik, What does distclean does? I want to know will my changes remain when i do distclean? And also how do i compile a single file instead of building the whole project? Thanks in advance Rohan On Thu, Apr 30, 2009 at 4:28 AM, Abhik Sarkar sarkar.ab...@gmail.comwrote: Did you try nmake -f makefile.nmake distclean nmake -f makefile.nmake all This has often worked for me in similar situations. On Thu, Apr 30, 2009 at 3:08 PM, Anonymous Anonymous a.master.blas...@gmail.com wrote: No luck so far. I've re-downloaded the sources using TortoiseSVN and compilation again fails in the exact same place. Any suggestions? On Wed, Apr 29, 2009 at 9:14 AM, Jaap Keuter jaap.keu...@xs4all.nlwrote: Hi, Well, he's building the 1.1.4 development version, so 2008 should be fine. It seems that you've a botched tarball or working copy, since little has changed in this area for a long time. Try downloading a new tarball or revert changes in the working copy and start from the current head of development. Thanx, Jaap Rohan Solanki wrote: hi, I think you should try building wireshark with visual studio 2005. Also Make appropriate changes in the config.nmake file. I also had problems with visual studio 2008. I have successfully build and running wireshark 1.0.5 with visual studio 2005. Rohan. On Tue, Apr 28, 2009 at 7:19 PM, Anonymous Anonymous a.master.blas...@gmail.com mailto:a.master.blas...@gmail.com wrote: Hi everyone, I'm new to the Wireshark development process and I'm having some building issues I hope you will be able to solve. Ok, so here it comes. I've followed the developers manual step-by-step and everything worked out fine until I had to issue the command name Makefile.namke all. For some unknown reason this command seems to fail over and over again. The relevant output lines I managed to extract from the console are as follows: /*dissectors.lib(packet-ncp-sss.obj) : error LNK2001: unresolved external symbol _ ett_nds libwireshark.dll : fatal error LNK1120: 1 unresolved externals NMAKE : fatal error U1077: 'C:\Program Files\Microsoft Visual Studio 9.0\VC\BIN \link.EXE' : return code '0x460' Stop. NMAKE : fatal error U1077: 'C:\Program Files\Microsoft Visual Studio 9.0\VC\BIN \nmake.exe' : return code '0x2' Stop. */The same output also appears when I'm trying to build the .sln file provided is the sources using VC++ 2008 Express Edition. Can someone point out what the problem is? Thanks in advance. Any help will be deeply appreciated. My building environment specs: OS - Microsoft Windows XP SP3 IDE - Microsoft Visual C++ 2008 Express Edition SVN - TortoiseSVN Wireshark version - 1.1.4.0 (version info was taken from the config.nmake file) ___ Sent via:Wireshark-dev mailing list wireshark-dev@wireshark.org Archives:http://www.wireshark.org/lists/wireshark-dev Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev mailto:wireshark-dev-requ...@wireshark.org ?subject=unsubscribe ___ Sent via:Wireshark-dev mailing list wireshark-dev@wireshark.org Archives:http://www.wireshark.org/lists/wireshark-dev Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev mailto:wireshark-dev-requ...@wireshark.org ?subject=unsubscribe ___ Sent via:Wireshark-dev mailing list wireshark-dev@wireshark.org Archives:http://www.wireshark.org/lists/wireshark-dev Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev mailto:wireshark-dev-requ...@wireshark.org ?subject=unsubscribe ___ Sent via:Wireshark-dev mailing list wireshark-dev@wireshark.org Archives:http://www.wireshark.org/lists/wireshark-dev Unsubscribe:
Re: [Wireshark-dev] Compilation errors while building the Wireshark sources
Ok .. got it!!! Thanks Abhik for the reply... On Thu, Apr 30, 2009 at 5:59 AM, Abhik Sarkar sarkar.ab...@gmail.comwrote: Hi Rohan, The distclean target cleans up any files made for a distribution... this removes any generated stuff and keeps the sources untouched. You can't compile a single file if you are changing the in-built dissectors because all of the functionality is part of one big shared library and that library needs to be relinked. I would like to point out however that the build system compiles only changed sources (and a few other files) and only re-links them... so, I normally find that if I change only a particular dissector the re-build takes a only about a minute, but after a distclean it takes a good 5-10 minutes (on my system). Regards, Abhik. On Thu, Apr 30, 2009 at 3:32 PM, Rohan Solanki solanki.ro...@gmail.comwrote: Hi Abhik, What does distclean does? I want to know will my changes remain when i do distclean? And also how do i compile a single file instead of building the whole project? Thanks in advance Rohan On Thu, Apr 30, 2009 at 4:28 AM, Abhik Sarkar sarkar.ab...@gmail.comwrote: Did you try nmake -f makefile.nmake distclean nmake -f makefile.nmake all This has often worked for me in similar situations. On Thu, Apr 30, 2009 at 3:08 PM, Anonymous Anonymous a.master.blas...@gmail.com wrote: No luck so far. I've re-downloaded the sources using TortoiseSVN and compilation again fails in the exact same place. Any suggestions? On Wed, Apr 29, 2009 at 9:14 AM, Jaap Keuter jaap.keu...@xs4all.nlwrote: Hi, Well, he's building the 1.1.4 development version, so 2008 should be fine. It seems that you've a botched tarball or working copy, since little has changed in this area for a long time. Try downloading a new tarball or revert changes in the working copy and start from the current head of development. Thanx, Jaap Rohan Solanki wrote: hi, I think you should try building wireshark with visual studio 2005. Also Make appropriate changes in the config.nmake file. I also had problems with visual studio 2008. I have successfully build and running wireshark 1.0.5 with visual studio 2005. Rohan. On Tue, Apr 28, 2009 at 7:19 PM, Anonymous Anonymous a.master.blas...@gmail.com mailto:a.master.blas...@gmail.com wrote: Hi everyone, I'm new to the Wireshark development process and I'm having some building issues I hope you will be able to solve. Ok, so here it comes. I've followed the developers manual step-by-step and everything worked out fine until I had to issue the command name Makefile.namke all. For some unknown reason this command seems to fail over and over again. The relevant output lines I managed to extract from the console are as follows: /*dissectors.lib(packet-ncp-sss.obj) : error LNK2001: unresolved external symbol _ ett_nds libwireshark.dll : fatal error LNK1120: 1 unresolved externals NMAKE : fatal error U1077: 'C:\Program Files\Microsoft Visual Studio 9.0\VC\BIN \link.EXE' : return code '0x460' Stop. NMAKE : fatal error U1077: 'C:\Program Files\Microsoft Visual Studio 9.0\VC\BIN \nmake.exe' : return code '0x2' Stop. */The same output also appears when I'm trying to build the .sln file provided is the sources using VC++ 2008 Express Edition. Can someone point out what the problem is? Thanks in advance. Any help will be deeply appreciated. My building environment specs: OS - Microsoft Windows XP SP3 IDE - Microsoft Visual C++ 2008 Express Edition SVN - TortoiseSVN Wireshark version - 1.1.4.0 (version info was taken from the config.nmake file) ___ Sent via:Wireshark-dev mailing list wireshark-dev@wireshark.org Archives:http://www.wireshark.org/lists/wireshark-dev Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev mailto:wireshark-dev-requ...@wireshark.org ?subject=unsubscribe ___ Sent via:Wireshark-dev mailing list wireshark-dev@wireshark.org Archives:http://www.wireshark.org/lists/wireshark-dev Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev mailto:wireshark-dev-requ...@wireshark.org ?subject=unsubscribe ___ Sent via:Wireshark-dev mailing list wireshark-dev@wireshark.org Archives:http://www.wireshark.org/lists/wireshark-dev Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev mailto:wireshark-dev-requ...@wireshark.org ?subject=unsubscribe ___ Sent via:Wireshark-dev
Re: [Wireshark-dev] Compilation errors while building the Wireshark sources
Didn't work out for me. I got the same error again. On Thu, Apr 30, 2009 at 2:28 PM, Abhik Sarkar sarkar.ab...@gmail.comwrote: Did you try nmake -f makefile.nmake distclean nmake -f makefile.nmake all This has often worked for me in similar situations. On Thu, Apr 30, 2009 at 3:08 PM, Anonymous Anonymous a.master.blas...@gmail.com wrote: No luck so far. I've re-downloaded the sources using TortoiseSVN and compilation again fails in the exact same place. Any suggestions? On Wed, Apr 29, 2009 at 9:14 AM, Jaap Keuter jaap.keu...@xs4all.nlwrote: Hi, Well, he's building the 1.1.4 development version, so 2008 should be fine. It seems that you've a botched tarball or working copy, since little has changed in this area for a long time. Try downloading a new tarball or revert changes in the working copy and start from the current head of development. Thanx, Jaap Rohan Solanki wrote: hi, I think you should try building wireshark with visual studio 2005. Also Make appropriate changes in the config.nmake file. I also had problems with visual studio 2008. I have successfully build and running wireshark 1.0.5 with visual studio 2005. Rohan. On Tue, Apr 28, 2009 at 7:19 PM, Anonymous Anonymous a.master.blas...@gmail.com mailto:a.master.blas...@gmail.com wrote: Hi everyone, I'm new to the Wireshark development process and I'm having some building issues I hope you will be able to solve. Ok, so here it comes. I've followed the developers manual step-by-step and everything worked out fine until I had to issue the command name Makefile.namke all. For some unknown reason this command seems to fail over and over again. The relevant output lines I managed to extract from the console are as follows: /*dissectors.lib(packet-ncp-sss.obj) : error LNK2001: unresolved external symbol _ ett_nds libwireshark.dll : fatal error LNK1120: 1 unresolved externals NMAKE : fatal error U1077: 'C:\Program Files\Microsoft Visual Studio 9.0\VC\BIN \link.EXE' : return code '0x460' Stop. NMAKE : fatal error U1077: 'C:\Program Files\Microsoft Visual Studio 9.0\VC\BIN \nmake.exe' : return code '0x2' Stop. */The same output also appears when I'm trying to build the .sln file provided is the sources using VC++ 2008 Express Edition. Can someone point out what the problem is? Thanks in advance. Any help will be deeply appreciated. My building environment specs: OS - Microsoft Windows XP SP3 IDE - Microsoft Visual C++ 2008 Express Edition SVN - TortoiseSVN Wireshark version - 1.1.4.0 (version info was taken from the config.nmake file) ___ Sent via:Wireshark-dev mailing list wireshark-dev@wireshark.org Archives:http://www.wireshark.org/lists/wireshark-dev Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev mailto:wireshark-dev-requ...@wireshark.org ?subject=unsubscribe ___ Sent via:Wireshark-dev mailing list wireshark-dev@wireshark.org Archives:http://www.wireshark.org/lists/wireshark-dev Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev mailto:wireshark-dev-requ...@wireshark.org ?subject=unsubscribe ___ Sent via:Wireshark-dev mailing list wireshark-dev@wireshark.org Archives:http://www.wireshark.org/lists/wireshark-dev Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev mailto:wireshark-dev-requ...@wireshark.org?subject=unsubscribe ___ Sent via:Wireshark-dev mailing list wireshark-dev@wireshark.org Archives:http://www.wireshark.org/lists/wireshark-dev Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev mailto:wireshark-dev-requ...@wireshark.org?subject=unsubscribe
Re: [Wireshark-dev] Compilation errors while building the Wireshark sources
On Thu, Apr 30, 2009 at 5:59 AM, Abhik Sarkar sarkar.ab...@gmail.comwrote: Hi Rohan, The distclean target cleans up any files made for a distribution... this removes any generated stuff and keeps the sources untouched. You can't compile a single file if you are changing the in-built dissectors because all of the functionality is part of one big shared library and that library needs to be relinked. I would like to point out however that the build system compiles only changed sources (and a few other files) and only re-links them... so, I normally find that if I change only a particular dissector the re-build takes a only about a minute, but after a distclean it takes a good 5-10 minutes (on my system). Regards, Abhik. Just for the record: The Windows build does *not* handle changed .h files and .h fie dependencies when deciding what needs to be recompiled. So: if a .h file is changed, then either a complete rebuild is needed or you must manually force a recompile for any .c files using the .h file (E.G.: by deleting the .obj files corresponding to the .c files). Doing this manually can easily miss something so use the manual procedure only if you are exactly sure what needs to be recompiled when a .h file changes. ___ Sent via:Wireshark-dev mailing list wireshark-dev@wireshark.org Archives:http://www.wireshark.org/lists/wireshark-dev Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev mailto:wireshark-dev-requ...@wireshark.org?subject=unsubscribe
Re: [Wireshark-dev] Compilation errors while building the Wireshark sources
hi, I think you should try building wireshark with visual studio 2005. Also Make appropriate changes in the config.nmake file. I also had problems with visual studio 2008. I have successfully build and running wireshark 1.0.5 with visual studio 2005. Rohan. On Tue, Apr 28, 2009 at 7:19 PM, Anonymous Anonymous a.master.blas...@gmail.com wrote: Hi everyone, I'm new to the Wireshark development process and I'm having some building issues I hope you will be able to solve. Ok, so here it comes. I've followed the developers manual step-by-step and everything worked out fine until I had to issue the command name Makefile.namke all. For some unknown reason this command seems to fail over and over again. The relevant output lines I managed to extract from the console are as follows: *dissectors.lib(packet-ncp-sss.obj) : error LNK2001: unresolved external symbol _ ett_nds libwireshark.dll : fatal error LNK1120: 1 unresolved externals NMAKE : fatal error U1077: 'C:\Program Files\Microsoft Visual Studio 9.0\VC\BIN \link.EXE' : return code '0x460' Stop. NMAKE : fatal error U1077: 'C:\Program Files\Microsoft Visual Studio 9.0\VC\BIN \nmake.exe' : return code '0x2' Stop. *The same output also appears when I'm trying to build the .sln file provided is the sources using VC++ 2008 Express Edition. Can someone point out what the problem is? Thanks in advance. Any help will be deeply appreciated. My building environment specs: OS - Microsoft Windows XP SP3 IDE - Microsoft Visual C++ 2008 Express Edition SVN - TortoiseSVN Wireshark version - 1.1.4.0 (version info was taken from the config.nmake file) ___ Sent via:Wireshark-dev mailing list wireshark-dev@wireshark.org Archives:http://www.wireshark.org/lists/wireshark-dev Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev mailto:wireshark-dev-requ...@wireshark.org?subject=unsubscribe ___ Sent via:Wireshark-dev mailing list wireshark-dev@wireshark.org Archives:http://www.wireshark.org/lists/wireshark-dev Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev mailto:wireshark-dev-requ...@wireshark.org?subject=unsubscribe
Re: [Wireshark-dev] Compilation errors while building the Wireshark sources
Hi, Well, he's building the 1.1.4 development version, so 2008 should be fine. It seems that you've a botched tarball or working copy, since little has changed in this area for a long time. Try downloading a new tarball or revert changes in the working copy and start from the current head of development. Thanx, Jaap Rohan Solanki wrote: hi, I think you should try building wireshark with visual studio 2005. Also Make appropriate changes in the config.nmake file. I also had problems with visual studio 2008. I have successfully build and running wireshark 1.0.5 with visual studio 2005. Rohan. On Tue, Apr 28, 2009 at 7:19 PM, Anonymous Anonymous a.master.blas...@gmail.com mailto:a.master.blas...@gmail.com wrote: Hi everyone, I'm new to the Wireshark development process and I'm having some building issues I hope you will be able to solve. Ok, so here it comes. I've followed the developers manual step-by-step and everything worked out fine until I had to issue the command name Makefile.namke all. For some unknown reason this command seems to fail over and over again. The relevant output lines I managed to extract from the console are as follows: /*dissectors.lib(packet-ncp-sss.obj) : error LNK2001: unresolved external symbol _ ett_nds libwireshark.dll : fatal error LNK1120: 1 unresolved externals NMAKE : fatal error U1077: 'C:\Program Files\Microsoft Visual Studio 9.0\VC\BIN \link.EXE' : return code '0x460' Stop. NMAKE : fatal error U1077: 'C:\Program Files\Microsoft Visual Studio 9.0\VC\BIN \nmake.exe' : return code '0x2' Stop. */The same output also appears when I'm trying to build the .sln file provided is the sources using VC++ 2008 Express Edition. Can someone point out what the problem is? Thanks in advance. Any help will be deeply appreciated. My building environment specs: OS - Microsoft Windows XP SP3 IDE - Microsoft Visual C++ 2008 Express Edition SVN - TortoiseSVN Wireshark version - 1.1.4.0 (version info was taken from the config.nmake file) ___ Sent via:Wireshark-dev mailing list wireshark-dev@wireshark.org Archives:http://www.wireshark.org/lists/wireshark-dev Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev mailto:wireshark-dev-requ...@wireshark.org?subject=unsubscribe
[Wireshark-dev] Compilation errors while building the Wireshark sources
Hi everyone, I'm new to the Wireshark development process and I'm having some building issues I hope you will be able to solve. Ok, so here it comes. I've followed the developers manual step-by-step and everything worked out fine until I had to issue the command name Makefile.namke all. For some unknown reason this command seems to fail over and over again. The relevant output lines I managed to extract from the console are as follows: *dissectors.lib(packet-ncp-sss.obj) : error LNK2001: unresolved external symbol _ ett_nds libwireshark.dll : fatal error LNK1120: 1 unresolved externals NMAKE : fatal error U1077: 'C:\Program Files\Microsoft Visual Studio 9.0\VC\BIN \link.EXE' : return code '0x460' Stop. NMAKE : fatal error U1077: 'C:\Program Files\Microsoft Visual Studio 9.0\VC\BIN \nmake.exe' : return code '0x2' Stop. *The same output also appears when I'm trying to build the .sln file provided is the sources using VC++ 2008 Express Edition. Can someone point out what the problem is? Thanks in advance. Any help will be deeply appreciated. My building environment specs: OS - Microsoft Windows XP SP3 IDE - Microsoft Visual C++ 2008 Express Edition SVN - TortoiseSVN Wireshark version - 1.1.4.0 (version info was taken from the config.nmake file) ___ Sent via:Wireshark-dev mailing list wireshark-dev@wireshark.org Archives:http://www.wireshark.org/lists/wireshark-dev Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev mailto:wireshark-dev-requ...@wireshark.org?subject=unsubscribe