I am sorry if this doesn't work and I have no way to test it myself. But if you get it to work, I will be happy to integrate the patch for SIPp sources.
Thanks,
Olivier.
I am wondering if SIPp still compiles under Solaris 2.8 with support for PCAPPLAY.
I have installed both libnet1.1.2.1 and libpcap0.9.4 as advised by < http://sipp.sourceforge.net/wiki/index.php/Compilation>Although the URL does say that Solaris can be compiled with support for RTP feature, I get the following errors when I try to compile sipp.2006-07-07;
I am stuck at the last error.
Thanks in advance,
Diarmuid
make pcapplay
gcc -g -D__3PCC__ -DPCAPPLAY -I. -I ../libpcap-0.8.3 -I/usr/local/ssl/include/ -c -o send_packets.o send_packets.c
In file included from send_packets.c:47:
/usr/include/netinet/udp.h:28: syntax error before "in_port_t"
/usr/include/netinet/udp.h:32: syntax error before '}' tokenWorkaround: add two lines to send_packets.c before calling udp.h
---- #include <stdlib.h>
ADD #include <netinet/in.h> // added to define in_port_t
ADD #include <netinet/in_systm.h> // added to define n_long
---- #include <netinet/udp.h>===============================================================================
The next compile error is;In file included from send_packets.h:44,
from send_packets.c:54:
prepare_pcap.h:65: syntax error before "u_int16_t"
prepare_pcap.h:65: warning: no semicolon at end of struct or unionWorkaround: move line 25 in send_packets.h
DEL #ifdef __HPUX
---- #define u_int8_t uint8_t
---- #define u_int16_t uint16_t
---- #define u_int32_t uint32_t
ADD #ifdef __HPUX
----
---- struct iphdr
===============================================================================
The next compile error is;In file included from prepare_pcap.c:25:
/usr/include/netinet/ip.h:130: syntax error before "n_long"
/usr/include/netinet/ip.h:133: syntax error before "n_long"Workaround: from prepare_pcap.c:22
DEL #ifdef __HPUX
---- #include <netinet/in_systm.h>
DEL #endif===============================================================================
The next compile error is;gcc -g -D__3PCC__ -DPCAPPLAY -I. -I/usr/local/ssl/include/ -c -o prepare_pc
ap.o prepare_pcap.c
prepare_pcap.c:32:26: net/ethernet.h: No such file or directory
prepare_pcap.c: In function `prepare_pkts':
prepare_pcap.c:110: dereferencing pointer to incomplete type
prepare_pcap.c:111: `ETHERTYPE_IP' undeclared (first use in this function)Workaround: prepare_pcap.c:27
DEL #ifdef __HPUX
---- #include <sys/socket.h>
---- #include <net/if_arp.h>
---- #include <netinet/if_ether.h>
DEL #else
DEL #include <net/ethernet.h>
DEL #endif
===============================================================================
The next compile error is;In file included from prepare_pcap.c:30:
/usr/local/lib/gcc-lib/sparc-sun-solaris2.8/3.2.3/include/netinet/if_ether.h:126
: field `ac_if' has incomplete type
/usr/local/lib/gcc-lib/sparc-sun-solaris2.8/3.2.3/include/netinet/if_ether.h:133Analysis: missing definition of struct ifnet
struct arpcom {
struct ifnet ac_if; /* network-visible interface */Google searches suggest that'struct ifnet' is usually defined in <net/if_var.h>
but I cannot find this file. Any suggestions ?
===============================================================================
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Sipp-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/sipp-users
--
HP OpenCall Software
http://www.hp.com/go/opencall/
------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________ Sipp-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/sipp-users
