[GRASS5] Problem with new socket code

Hi Eric

Sorry to be the one causing you headaches. This time, most of the
display commands failed with a link error as follows:

ld32: ERROR 33: Unresolved text symbol "SUN_LEN" -- 1st referenced by
/usr/people/jhickey/temp/grass/src/libes/LIB.mips-sgi-irix6.5/libgis.a(unix_socks.o).

I'm not sure if this symbol is supposed to be part of the standard
socket interface or not.

--
Sincerely,

Jazzman (a.k.a. Justin Hickey) e-mail: jhickey@hpcc.nectec.or.th
High Performance Computing Center
National Electronics and Computer Technology Center (NECTEC)
Bangkok, Thailand

People who think they know everything are very irritating to those
of us who do. ---Anonymous

Jazz and Trek Rule!!!

----------------------------------------
If you want to unsubscribe from GRASS Development Team mailing list write to:
minordomo@geog.uni-hannover.de with
subject 'unsubscribe grass5'

On Mon, Feb 12, 2001 at 04:44:43PM +0700, Justin Hickey wrote:

Hi Eric

Sorry to be the one causing you headaches. This time, most of the
display commands failed with a link error as follows:

ld32: ERROR 33: Unresolved text symbol "SUN_LEN" -- 1st referenced by
/usr/people/jhickey/temp/grass/src/libes/LIB.mips-sgi-irix6.5/libgis.a(unix_socks.o).

I'm not sure if this symbol is supposed to be part of the standard
socket interface or not.

I understood it was, but apparently not on IRIX. I can use an
alternate method:

substitute for SUN_LEN:

offsetof (struct sockaddr_un, sun_path) + strlen (name.sun_path) + 1

where 'name' is the name of the 'struct sockaddr_un' in unix_socks.c
This would be in G_sock_bind().

--
Eric G. Miller <egm2@jps.net>

----------------------------------------
If you want to unsubscribe from GRASS Development Team mailing list write to:
minordomo@geog.uni-hannover.de with
subject 'unsubscribe grass5'