Subject: compiling netatalk-1.4b2 under Solaris7 sparc

From: Kirill Mikhailov <[email-masked]>
Date: Mon, 17 Jan 2000 14:09:52 -0500

When subj I got an error:

gcc -p -D__svr4__ -DSOLARIS -O -I../../include -c nbp_util.c

nbp_util.c: In function `nbp_parse':

nbp_util.c:62: structure has no member named `S_un'

make[3]: *** [nbp_util.o] Error 1

nbp_util.c:62:     nn->nn_sat.sat_addr.s_net = nt.nt_net;

The problem was in system include file /usr/include/netinet/in.h :

#define s_net   _S_un._S_un_b.s_b1
/* OBSOLETE: network */

--
Kirill Mikhailov, system engineer
Schlumberger GeoQuest