[httperf] HTTPERF - compile problem

Mieke Prajugo mprajugo at cs.tamu.edu
Wed Jan 21 11:40:55 PST 2004


Hi,

I am trying to use HTTPERF for my research project. I downloaded version
0.8, followed the README very closely. However, I have problem compiling
the code, thus I cannot even invoke the tool using the following command:

> httperf --server www.yahoo.com --port 80

Your help would be greatly appreciated.

Below is the output:

============================ START ==================================
> make install
making install in lib
make[1]: Entering directory `/user/mprajugo/MS/httperf-0.8/build/lib'
make[1]: Nothing to be done for `install'.
make[1]: Leaving directory `/user/mprajugo/MS/httperf-0.8/build/lib'
making install in gen
make[1]: Entering directory `/user/mprajugo/MS/httperf-0.8/build/gen'
make[1]: Nothing to be done for `install'.
make[1]: Leaving directory `/user/mprajugo/MS/httperf-0.8/build/gen'
making install in stat
make[1]: Entering directory `/user/mprajugo/MS/httperf-0.8/build/stat'
make[1]: Nothing to be done for `install'.
make[1]: Leaving directory `/user/mprajugo/MS/httperf-0.8/build/stat'
gcc -c -DHAVE_CONFIG_H -I. -I/user/mprajugo/MS/httperf-0.8
-I/user/mprajugo/MS/httperf-0.8/lib -DNDEBUG -D_GNU_SOURCE -D_XOPEN_SOURCE
-g -O2 -Wall /user/mprajugo/MS/httperf-0.8/httperf.c
In file included from /user/mprajugo/MS/httperf-0.8/httperf.c:63:
/usr/include/sys/resource.h:144: error: field `ru_utime' has incomplete
type
/usr/include/sys/resource.h:145: error: field `ru_stime' has incomplete
type
In file included from /usr/include/sys/stream.h:22,
                 from /usr/include/netinet/in.h:41,
                 from /user/mprajugo/MS/httperf-0.8/core.h:27,
                 from /user/mprajugo/MS/httperf-0.8/httperf.c:65:
/usr/include/sys/vnode.h:168: error: parse error before "timestruc_t"
/usr/include/sys/vnode.h:170: error: parse error before "va_ctime"
/usr/include/sys/vnode.h:175: error: parse error before '}' token
/usr/include/sys/vnode.h:202: error: parse error before "vattr32_t"
/user/mprajugo/MS/httperf-0.8/httperf.c: In function `main':
/user/mprajugo/MS/httperf-0.8/httperf.c:396: warning: subscript has type
`char'
make: *** [httperf.o] Error 1
===============================END=======================================


More information about the httperf mailing list