[httperf] HTTPERF - compile problem

Martin Arlitt arlitt at granite.hpl.hp.com
Thu Jan 22 11:08:21 PST 2004


Mieke

what OS (and version) are you trying to compile this on?

thanks

Martin


On Wed, 21 Jan 2004, Mieke Prajugo wrote:

> 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=======================================
> _______________________________________________
> httperf mailing list
> httperf at linux.hpl.hp.com
> http://www.hpl.hp.com/hosted/linux/mail-archives/httperf/
>


More information about the httperf mailing list