Ethereal-dev: Re: [Ethereal-dev] Re: make errors

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

From: Ulf Lamping <ulf.lamping@xxxxxx>
Date: Wed, 27 Oct 2004 18:49:19 +0200
alok wrote:

just cross checked with 9.x
it works there :(
Sorry if I missed emails in the middle but please let me know if someone has an idea, I would ned to document it anyways and can submit the changed readme back to the list

Yes, if we missed some thing in the Readme.developer, this should be added there.


alok wrote:

Hi,

I had a custom made dissector which I used to upto the last 2 builds of ethereal

Somehow, cant seem to get it working on 10.6
The dissector has no ".h" dependencies and is placed in the dissector folder.

The readme says that we need to add make the entry in Makefile.common (there is no makefile.common in epan so i assume it means the one in epan/dissectors)

Well, there *is* a Makefile.common in epan. However, you're correct to assume the changes have to be done in epan/dissectors/Makefile.common.


However I always end up with
pan/.libs/libethereal.so: undefined reference to `proto_reg_handoff_myproto' epan/.libs/libethereal.so: undefined reference to `proto_register_myproto'

has anythign changed since the 9.x series?

Yes, for example the dissectors where in the root dir at that time.

I assume you are using some sort of unix (not Win32), as you telling about libethereal.so.

Do you get the object files from your sources? So if you have epan/dissectors/myproto.c do you get a epan/dissectors/myproto.o?

Is myproto included somewhere in the file epan/dissectors/register.c?

There also might be some old files lying around, try to do a "make clean".

Regards, ULFL