Ethereal-dev: RE: [Ethereal-dev] New Dissector: Dumb Question
Note: This archive is from the project's previous web site, ethereal.com. This list is no longer active.
From: "Maynard, Chris" <Christopher.Maynard@xxxxxxxxx>
Date: Tue, 25 Jan 2005 00:38:20 -0500
Judging by your prompts below, it seems you are building on a Unix system, not a Windows system. If that's the case, then you probably also need to modify epan/dissectors/Makefile.in. After that, you'll likely need to re-run autogen.sh, then configure & make again. There may be an easier way, but that's what I've done. - Chris -----Original Message----- From: ethereal-dev-bounces@xxxxxxxxxxxx [mailto:ethereal-dev-bounces@xxxxxxxxxxxx] On Behalf Of Alex Kirk Sent: Monday, January 24, 2005 11:12 PM To: millerb@xxxxxxx; 'Ethereal development' Subject: RE: [Ethereal-dev] New Dissector: Dumb Question Under ideal circumstances, yes. However: alex@sf: ~/downloads/ethereal-0.10.9$ grep wins epan/dissectors/register.c alex@sf: ~/downloads/ethereal-0.10.9$ ls -l epan/dissectors/packet-wins.c -rw-r--r-- 1 akirk research 5487 Jan 24 14:52 epan/dissectors/packet-wins.c alex@sf: ~/downloads/ethereal-0.10.9$ sudo make install <Much verbosity of make install snipped> alex@sf: ~/downloads/ethereal-0.10.9$ grep wins epan/dissectors/register.c alex@sf: ~/downloads/ethereal-0.10.9$ Obviously, *something* is not working properly here. Especially since: alex@sf: ~/downloads/ethereal-0.10.9$ grep wins epan/dissectors/Makefile.common packet-wins.c \ alex@sf: ~/downloads/ethereal-0.10.9$ I've tried make clean, make distclean, and even working with a freshly unpacked tarball -- nada. Any ideas? Alex Kirk > When you run make, a nifty Python script should generate a new > register.c containing your dissector. > > Cheers > > > -----Original Message----- > > From: ethereal-dev-bounces@xxxxxxxxxxxx > > [mailto:ethereal-dev-bounces@xxxxxxxxxxxx] On Behalf Of Alex Kirk > > Sent: Monday, January 24, 2005 2:15 PM > > To: Ethereal development; Ulf Lamping > > Subject: Re: [Ethereal-dev] New Dissector: Dumb Question > > > > > > > > > That not sounds to bad for a first try, you've looked at the usual > > > suspects ;-) > > > > > > So your question isn't too dumb at all... > > > > Glad to hear it... :-) > > > > > If the register.c file doesn't contain your dissector, that's the > > > place > > > to look at first. Unless you build a plugin, it has to > > appear in that file. > > > > > > Did you place your dissector file in epan/dissectors? It won't be > > > searched somewhere else. > > > > Yes, I sure did. In fact, I was basing my dissector file > > partially on packet-msn-messenger.c, which I've made some > > improvements to (I'll be submitting them once I have the last > > bugs worked out there). The only difference is, that file was > > already all registered, so I didn't have that problem there. > > > > > Does it get (re-)compiled when you change your packet-wins.c (or > > > whatever name you'd chosen) file? So your makefile is ok. > > > > No, there's no re-compiliation when I make changes to this file. > > > > > Did you tried simply deleting the register.c file, as it's possibly > > > (re-)generated? > > > > I just did this (for the second time, just to make sure), and > > I'm still getting no results -- while packet-wins.c is in > > Makefile.common in epan/dissectors, my registration function > > is not added to register.c. > > > > I can attach Makefiles, the source file, whatever if it would > > be helpful; for now I'll not spam the list. :-) > > > > Alex Kirk > > > > _______________________________________________ > > Ethereal-dev mailing list > > Ethereal-dev@xxxxxxxxxxxx > > http://www.ethereal.com/mailman/listinfo/ether> eal-dev > > > > _______________________________________________ Ethereal-dev mailing list Ethereal-dev@xxxxxxxxxxxx http://www.ethereal.com/mailman/listinfo/ethereal-dev ----------------------------------------- This email may contain confidential and privileged material for the sole use of the intended recipient(s). Any review, use, retention, distribution or disclosure by others is strictly prohibited. If you are not the intended recipient (or authorized to receive for the recipient), please contact the sender by reply email and delete all copies of this message. Also, email is susceptible to data corruption, interception, tampering, unauthorized amendment and viruses. We only send and receive emails on the basis that we are not liable for any such corruption, interception, tampering, amendment or viruses or any consequence thereof.
- Follow-Ups:
- Re: [Ethereal-dev] New Dissector: Dumb Question
- From: Guy Harris
- Re: [Ethereal-dev] New Dissector: Dumb Question
- Prev by Date: Re: [Ethereal-dev] New Dissector: Dumb Question
- Next by Date: Re: [Ethereal-dev] New Dissector: Dumb Question
- Previous by thread: Re: [Ethereal-dev] New Dissector: Dumb Question
- Next by thread: Re: [Ethereal-dev] New Dissector: Dumb Question
- Index(es):