Ethereal-users: Re: [Ethereal-users] Can't build tethereal on Mac OS X

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

From: Guy Harris <gharris@xxxxxxxxx>
Date: Fri, 12 Nov 2004 11:11:10 -0800
Paul Hoffman / VPNC wrote:
I'm re-building Ethereal 0.10.5 with a modified module. That module builds fine, but the end of the build fails with:

	...

ld: Undefined symbols:
_port_to_str
_proto_to_str

If your modifications call routines named "port_to_str()" or "proto_to_str()", you'll either have to write those routines or call routines that actually exist in Ethereal.

If, when you're calling "port_to_str()", you're trying to convert a TCP or UDP port number to a string, call "get_tcp_port()" or "get_udp_port()".

If, when you're calling "proto_to_str()", you're trying to convert an IP protocol number to a string, call "ipprotostr()".