Ethereal-dev: Re: [ethereal-dev] ethereal-0.7.6 abort on Solaris 7

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

From: Guy Harris <guy@xxxxxxxxxx>
Date: Tue, 26 Oct 1999 11:08:05 -0700 (PDT)
> register.c:
> /* Do not modify this file.  */
> /* It is created automatically by the Makefile.  */
> #include "register.h"
> void register_all_protocols(void) {
>   {extern void proto_register_frame (void); proto_register_frame ();}
>   {extern void proto_register_aarp (void); proto_register_aarp ();}
>   {extern void proto_register_afs (void); proto_register_afs ();}
> }

This is odd, given that the register routine in "packet-aarp.c" is
declared as

void
proto_register_aarp(void)

and the one in "packet-eth.c" is declared as

void
proto_register_eth(void)

so there's no syntactical difference to cause the commands that look for
register routines to find one but not the other.

Could you send us a copy of the Makefile generated for the source
directory build?

> Build directory different from source gives
> register.c:
> /* Do not modify this file.  */
> /* It is created automatically by the Makefile.  */
> #include "register.h"
> void register_all_protocols(void) {
> }

Could you also send us the Makefile generated for that build?