[httperf] build httperf on solaris 9

Ted Bullock tbullock at canada.com
Mon Sep 17 08:13:24 PDT 2007


I have sporadically experienced similar problems on solaris.  Try using
the Sun Studio solaris compiler and linker rather than GNU tools.  I am
not certain what is causing the problem but I do suspect it has
something to do with the binutils. Did you install the gnu binutils or
are you using the vendor ones (Sun as and Sun ld)?  If so what version
are they.


-Ted

resu at freesurf.ch wrote:
> Hello,
> I tried to compile httperf on a solaris 9 sparc system, and got an error
> "255". I searched goolge and the mailling list for a solution, without success.
> Following the output of "make", anybody out there who knows how to help me.
> Thanks and Regards,
> Res
> 
> PS: I had some troubles with the registration on the list, hope you didn't
> get the mail twice, otherwise sorry.
> 
> $ make
> make all-recursive
> Making all in src
> Making all in gen
> if gcc -DHAVE_CONFIG_H -I. -I../../../src/gen -I../.. -I/usr/local/ssl/include
> -I../../../src/gen/.. -g -O2 -DHAVE_SSL -MT call_seq.o -MD -MP -MF ".deps/call_seq.Tpo"
> -c -o call_seq.o ../../../src/gen/call_seq.c; \
> then mv -f ".deps/call_seq.Tpo" ".deps/call_seq.Po"; else rm -f ".deps/call_seq.Tpo";
> exit 1; fi
> if gcc -DHAVE_CONFIG_H -I. -I../../../src/gen -I../.. -I/usr/local/ssl/include
> -I../../../src/gen/.. -g -O2 -DHAVE_SSL -MT conn_rate.o -MD -MP -MF ".deps/conn_rate.Tpo"
> -c -o conn_rate.o ../../../src/gen/conn_rate.c; \
> then mv -f ".deps/conn_rate.Tpo" ".deps/conn_rate.Po"; else rm -f ".deps/conn_rate.Tpo";
> exit 1; fi
> if gcc -DHAVE_CONFIG_H -I. -I../../../src/gen -I../.. -I/usr/local/ssl/include
> -I../../../src/gen/.. -g -O2 -DHAVE_SSL -MT misc.o -MD -MP -MF ".deps/misc.Tpo"
> -c -o misc.o ../../../src/gen/misc.c; \
> then mv -f ".deps/misc.Tpo" ".deps/misc.Po"; else rm -f ".deps/misc.Tpo";
> exit 1; fi
> if gcc -DHAVE_CONFIG_H -I. -I../../../src/gen -I../.. -I/usr/local/ssl/include
> -I../../../src/gen/.. -g -O2 -DHAVE_SSL -MT rate.o -MD -MP -MF ".deps/rate.Tpo"
> -c -o rate.o ../../../src/gen/rate.c; \
> then mv -f ".deps/rate.Tpo" ".deps/rate.Po"; else rm -f ".deps/rate.Tpo";
> exit 1; fi
> if gcc -DHAVE_CONFIG_H -I. -I../../../src/gen -I../.. -I/usr/local/ssl/include
> -I../../../src/gen/.. -g -O2 -DHAVE_SSL -MT session.o -MD -MP -MF ".deps/session.Tpo"
> -c -o session.o ../../../src/gen/session.c; \
> then mv -f ".deps/session.Tpo" ".deps/session.Po"; else rm -f ".deps/session.Tpo";
> exit 1; fi
> if gcc -DHAVE_CONFIG_H -I. -I../../../src/gen -I../.. -I/usr/local/ssl/include
> -I../../../src/gen/.. -g -O2 -DHAVE_SSL -MT uri_fixed.o -MD -MP -MF ".deps/uri_fixed.Tpo"
> -c -o uri_fixed.o ../../../src/gen/uri_fixed.c; \
> then mv -f ".deps/uri_fixed.Tpo" ".deps/uri_fixed.Po"; else rm -f ".deps/uri_fixed.Tpo";
> exit 1; fi
> if gcc -DHAVE_CONFIG_H -I. -I../../../src/gen -I../.. -I/usr/local/ssl/include
> -I../../../src/gen/.. -g -O2 -DHAVE_SSL -MT uri_wlog.o -MD -MP -MF ".deps/uri_wlog.Tpo"
> -c -o uri_wlog.o ../../../src/gen/uri_wlog.c; \
> then mv -f ".deps/uri_wlog.Tpo" ".deps/uri_wlog.Po"; else rm -f ".deps/uri_wlog.Tpo";
> exit 1; fi
> if gcc -DHAVE_CONFIG_H -I. -I../../../src/gen -I../.. -I/usr/local/ssl/include
> -I../../../src/gen/.. -g -O2 -DHAVE_SSL -MT uri_wset.o -MD -MP -MF ".deps/uri_wset.Tpo"
> -c -o uri_wset.o ../../../src/gen/uri_wset.c; \
> then mv -f ".deps/uri_wset.Tpo" ".deps/uri_wset.Po"; else rm -f ".deps/uri_wset.Tpo";
> exit 1; fi
> if gcc -DHAVE_CONFIG_H -I. -I../../../src/gen -I../.. -I/usr/local/ssl/include
> -I../../../src/gen/.. -g -O2 -DHAVE_SSL -MT wsess.o -MD -MP -MF ".deps/wsess.Tpo"
> -c -o wsess.o ../../../src/gen/wsess.c; \
> then mv -f ".deps/wsess.Tpo" ".deps/wsess.Po"; else rm -f ".deps/wsess.Tpo";
> exit 1; fi
> if gcc -DHAVE_CONFIG_H -I. -I../../../src/gen -I../.. -I/usr/local/ssl/include
> -I../../../src/gen/.. -g -O2 -DHAVE_SSL -MT wsesslog.o -MD -MP -MF ".deps/wsesslog.Tpo"
> -c -o wsesslog.o ../../../src/gen/wsesslog.c; \
> then mv -f ".deps/wsesslog.Tpo" ".deps/wsesslog.Po"; else rm -f ".deps/wsesslog.Tpo";
> exit 1; fi
> if gcc -DHAVE_CONFIG_H -I. -I../../../src/gen -I../.. -I/usr/local/ssl/include
> -I../../../src/gen/.. -g -O2 -DHAVE_SSL -MT wsesspage.o -MD -MP -MF ".deps/wsesspage.Tpo"
> -c -o wsesspage.o ../../../src/gen/wsesspage.c; \
> then mv -f ".deps/wsesspage.Tpo" ".deps/wsesspage.Po"; else rm -f ".deps/wsesspage.Tpo";
> exit 1; fi
> .../../../src/gen/wsesspage.c: In function `fetch_uri':
> .../../../src/gen/wsesspage.c:197: warning: assignment makes pointer from
> integer without a cast
> if gcc -DHAVE_CONFIG_H -I. -I../../../src/gen -I../.. -I/usr/local/ssl/include
> -I../../../src/gen/.. -g -O2 -DHAVE_SSL -MT sess_cookie.o -MD -MP -MF ".deps/sess_cookie.Tpo"
> -c -o sess_cookie.o ../../../src/gen/sess_cookie.c; \
> then mv -f ".deps/sess_cookie.Tpo" ".deps/sess_cookie.Po"; else rm -f ".deps/sess_cookie.Tpo";
> exit 1; fi
> rm -f libgen.a
> false cru libgen.a call_seq.o conn_rate.o misc.o rate.o session.o uri_fixed.o
> uri_wlog.o uri_wset.o wsess.o wsesslog.o wsesspage.o sess_cookie.o
> *** Error code 255
> make: Fatal error: Command failed for target `libgen.a'
> Current working directory /home/secappspf/httperf-0.9.0/build/src/gen
> *** Error code 1
> make: Fatal error: Command failed for target `all-recursive'
> Current working directory /home/secappspf/httperf-0.9.0/build/src
> *** Error code 1
> make: Fatal error: Command failed for target `all-recursive'
> Current working directory /home/secappspf/httperf-0.9.0/build
> *** Error code 1
> make: Fatal error: Command failed for target `all'
> 


-- 
Theodore Bullock, <tbullock at canada.com, tedbullock at gmail.com>
B.Sc Software Engineering
Bike Across Canada Adventure http://www.comlore.com/bike


More information about the httperf mailing list