[httperf] Problem in compiling in Solaris 7
Ramil Israfilov
httperf@napali.hpl.hp.com
Tue, 21 Aug 2001 09:01:27 +0200
I managed to compile httperf on Solaris 8 with gcc 2.95.3 after removing
from all Makefiles
-D_GNU_SOURCE -D_XOPEN_SOURCE definitions
and adding to main Makefile
-lnsl -lsocket -lresolv
into LIBS variable.
Ramil
-----Original Message-----
From: Chan Chi Hung [mailto:chihung@aspcentre.org]
Sent: Wednesday, August 15, 2001 11:01 AM
To: httperf@napali.hpl.hp.com
Subject: [httperf] Problem in compiling in Solaris 7
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
--
To unsubscribe: echo unsubscribe httperf | mail majordomo@linux.hpl.hp.com