Ethereal-dev: Re: [Ethereal-dev] Adding Dissector

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

From: "Jasim Tariq" <jasimtariqjt@xxxxxxxxxxx>
Date: Fri, 03 Feb 2006 09:40:08 -0800
To restore your PATH User and System Variable, I can tell you following:
My user variable PATH is:
C:\Program Files\Microsoft Visual Studio\Common\Tools\WinNT;C:\Program Files\Microsoft Visual >Studio\Common\MSDev98\Bin;C:\Program Files\Microsoft Visual Studio\Common\Tools;C:\Program >Files\Microsoft Visual Studio\VC98\bin;C:\cygwin\bin


This contains also the folder for nmake.exe. It is in "C:\Program Files\Microsoft Visual\Studio\VC98
\bin\"
You don't need C:\cygwin\bin in the user variable PATH, its optional.


My system variable PATH is C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem


If this doesn't help you, and building still doesn't work, I recommend a complete new and clean >installation of your build environment.


About your problem with distclean: 'rm' is failing in epan\dissectors . So look for any *.obj files after >a distclean and try to remove them manually if necessary. Perhaps there is a problem with a file >permission. Otherwise restore the original epan\dissectors\Makefile.common and try a distclean. If >that works, your modification of Makefile.common is not correct.


I have tried the suggestion given above. It works fine now. Ethereal is able to build fine now. Even the new dissector that I added, builds. The proto_register and proto_reg_handoff routines relating to the dissector also get added automatically.

But Now Im back to the same story. I get an error similar to the one I got when I installed the dissecgtor as a plugin. Ethereal does not start. On the sratrup it gives me these errors:

1)  A message box appears with box title "error" and the following content:
"unspecified fatal error encountered, aborting."

Pressing OK gives another error:
2) Another message box pops up with title"Microsoft Visual C++ Runtime Library" and the following content:
"Runtime Error!
Program: C:\Program Files\Ethereal\ethereal.exe
This application has requested the runtime to terminate it in an unusual way.
Please contact the application's support team for more information."

The message boxes are also attached with this email.
Please help. Im almost there. I guess...

Thanks,
Jasim

Attachment: Error.JPG
Description: image/pjpeg

Attachment: Microsoft Visual C++ Runtime Library.JPG
Description: image/pjpeg