[httperf] Problem in compiling in Solaris 7

Chan Chi Hung httperf@napali.hpl.hp.com
Wed, 15 Aug 2001 17:01:29 +0800


Hi httperf-experts,

I posted this problem a week ago without any reply

.....
making all in gen
gcc -c -DHAVE_CONFIG_H -I.. -I../../gen -I../.. -I../../lib   -DNDEBUG
-D_GNU_SOURCE -D_XOPEN_SOURCE -g -O2 -Wall ../../gen/call_seq.c
In file included from ../../httperf.h:32,
                 from ../../gen/call_seq.c:29:
/usr/include/sys/resource.h:144: field `ru_utime' has incomplete type
/usr/include/sys/resource.h:145: field `ru_stime' has incomplete type
In file included from /usr/include/sys/stream.h:22,
                 from
/usr/local/lib/gcc-lib/sparc-sun-solaris2.7/2.95.3/include/sys/stream.h:5,

                 from /usr/include/netinet/in.h:38,
                 from ../../core.h:27,
                 from ../../gen/call_seq.c:31:
/usr/include/sys/vnode.h:167: parse error before `timestruc_t'
/usr/include/sys/vnode.h:167: warning: no semicolon at end of struct or
union
/usr/include/sys/vnode.h:168: warning: data definition has no type or
storage class
....

However, I managed to compile most of the C source files by removing the
-g -O2 -Wall flags. However, I cannot locate the inet_aton function on
my Solaris 7 system which the core.c and idelconn.c called this
function. I can find the inet_ntoa, but not inet_aton. Appreciate if
anyone can let me know how I resolve this issue. Many thanks.
--Chi Hung


--
To unsubscribe: echo unsubscribe httperf | mail majordomo@linux.hpl.hp.com