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
