hello, I met a problem while I compiled SIPp.
I want SIPp to support media stream, so I follow the steps of this
page(http://sipp.sourceforge.net/wiki/index.php/Compilation) to install the
Pre-requisites software and compile SIPp.
I try in two different OS, but both have problems.
One is windows XP, I install the cygwin with some packages installed(ex.
gcc-core, gcc-g++, libncurses-devel, libncurses8, openssl-devel and make). Then
I downloaded the cygwin IPv6 extension and installed winpcap_4_0_1. I download
the wpdpack source file, too.
But when I compile SIPp, I try to input the command,"make pcapplay_cygwin",
error messages comes as below.
g++ \
-o sipp.o stat.o actions.o variables.o -lcurses -lpthread -lstdc++ L
/usr/lib/WpdPack/Lib -lwpcap
Info: resolving _stdscr by linking to __imp_stdscr <auto-impact>
make[1]: Leaving directory '/home/ncnu/sipp-2.0.1.src'I compiled with command
"make" also has problem as follow.
g++ \
-o xp_parser.o senario.o screen.o call.o comp.o sipp.o stat.o actions.o
variables.o -lcurses -lpthread -lstdc++ L /usr/lib/WpdPack/Lib -lwpcap
Info: resolving _stdscr by linking to __imp_stdscr <auto-impact>
make[1]: Leaving directory '/home/ncnu/sipp-2.0.1.src'
The other is FreeBSD, I installed ncureses, openssl, libnet and libpcap by
ports. I compiled with command "make" is ok.But when I try to input the
command,"make pcapplay", error messages comes as below.
In file included from send_packets.c:52:
/usr/include/netinet/ip6.h:82: error: field `ip6_src' has
incomplete type
/usr/include/netinet/ip6.h:83: error: field `ip6_dst' has
incomplete type
So, I check the file(/usr/include/netinet/ip6.h) the error
happens in this two lines(line 82 and 83).
struct ip6_hdr {
union {
struct ip6_hdrctl {
u_int32_t ip6_un1_flow; /*20 bits of flow-ID */
u_int16_t ip6_un1_plen; /* payload length */
u_int8_t ip6_un1_nxt; /* next header */
u_int8_t ip6_un1_hlim; /* hop limit */
} ip6_un1;
u_int8_t ip6_un2_vfc;
} ip6_ctlun;
(line 82) struct in6_addr ip6_src; /* source address */
(line 83) struct in6_addr ip6_dst; /* destination address */
} __packed;
Can anybody help me to handle the problems?
beautidays
--==Mailed via NCNU E-Mail==--
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Sipp-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/sipp-users