[httperf] Compile error with httperf on Solaris

Martin Arlitt arlitt at hpl.hp.com
Tue Mar 21 11:08:06 PST 2006


hi Kuntal

the problem is you need to update the configure script, which is what the
autoconf step does.  autoconf is not part of the httperf package, it is a
tool that will either be on your system or can be installed on your
system.

$ autoconf -h
Usage: autoconf [OPTION] ... [TEMPLATE-FILE]

Generate a configuration script from a TEMPLATE-FILE if given, or
`configure.ac' if present, or else `configure.in'.  Output is sent
to the standard output if TEMPLATE-FILE is given, else into
`configure'.

if I do all of the steps in the thread except for the autoconf I get the
same errors you did.  When I go back and recreate the configure script
using autoconf, then rerun the configure and make steps (be sure to do a
make clean), then it compiles for me.

Martin


On Tue, 21 Mar 2006, Das, Kuntal wrote:

> This email is in response to the following thread :
>
>
> [httperf] Compiling httperf on Solaris 8 02/02
>
> Martin Arlitt arlitt at granite.hpl.hp.com
> <mailto:arlitt%40granite.hpl.hp.com>
> Mon, 3 Jun 2002 12:36:06 -0700 (PDT)
>
> *	Previous message: [httperf] Compiling httperf on Solaris 8 02/02
> <http://www.hpl.hp.com/hosted/linux/mail-archives/httperf/2002-June/0000
> 74.html>
>
> --------
>
> I've tried what Mr Martin suggested(edited core.h and idleconn.h'
> although I couldn't run "autoconf", since there was no such file). But
> unfortunately, those changes didn't fix my problem. Although I'm not
> getting the exact same problem, as discussed in this issue, but I'm
> getting a similar issue, which is preventing me to compile httpref. My
> OS is :
>
> /tmp/httperf-0.8/build >uname -a
> SunOS s1322dev 5.8 Generic_117350-15 sun4u sparc SUNW,Ultra-60
>
> Stack Trace : after running make :
>
>
> making all in lib
> cc -c -DHAVE_CONFIG_H -I.. -I../.. -I../../lib
> -I/usr/local/ssl/include -DDEBUG -D_GNU_SOURCE -D_XOPEN_SOURCE -g
> ./../lib/getopt.c
> cc -c -DHAVE_CONFIG_H -I.. -I../.. -I../../lib
> -I/usr/local/ssl/include -DDEBUG -D_GNU_SOURCE -D_XOPEN_SOURCE -g
> ./../lib/getopt1.c
> cc -c -DHAVE_CONFIG_H -I.. -I../.. -I../../lib
> -I/usr/local/ssl/include -DDEBUG -D_GNU_SOURCE -D_XOPEN_SOURCE -g
> ./../lib/ssl_writev.c
> ar r libutil.a getopt.o getopt1.o ssl_writev.o
> ar: creating libutil.a
> ranlib libutil.a
> making all in gen
> cc -c -DHAVE_CONFIG_H -I.. -I../../gen -I../.. -I../../lib
> -I/usr/local/ssl/include -DDEBUG -D_GNU_SOURCE -D_XOPEN_SOURCE -g
> ./../gen/call_seq.c
> "/usr/include/sys/resource.h", line 144: incomplete struct/union/enum
> timeval: ru_utime
> "/usr/include/sys/vnode.h", line 168: syntax error before or at:
> timestruc_t
> "/usr/include/sys/vnode.h", line 168: cannot recover from previous
> errors
> cc: acomp failed for ../../gen/call_seq.c
> *** Error code 2
> make: Fatal error: Command failed for target `call_seq.o'
> Current working directory /tmp/httperf-0.8/build/gen
> *** Error code 1
> make: Fatal error: Command failed for target `all-recursive'
>
>
> Any help is appreciated .
>
> Thanks,
> Kuntal
>


More information about the httperf mailing list