Problem compiling IPERF 1.1.1 on Red Hat 9.0
Hi Mark,
I just checked that the binary present in
http://dast.nlanr.net/Projects/Iperf1.1.1/release.html for Linux glibc 2.1
itself works for Redhat 9.
-Ajay.
>Date: Wed, 28 May 2003 09:13:00 -0700 (PDT)
>From: Mark Storch <mstorch --at-- sd.us.am.ericsson.se>
>To: dast --at-- nlanr.net, mstorch --at-- sd.us.am.ericsson.se
>Subject: Problem compiling IPERF 1.1.1 on Red Hat 9.0
>
>Hi,
>I get the following error when trying to compile (make) IPERF v. 1.1.1 on
Red Hat 9.0 version of Linux. IPERF 1.7.0 compiles and installs ok but I
need to use
>version 1.1.1. Thank you for your help with this!!! Here is the error:
>
>c++ -I../lib -I../cfg -Wall -O2 -DHAVE_CONFIG_H -c PerfSocket_UDP.cpp
>PerfSocket_UDP.cpp: In member function `void
> PerfSocket::Multicast_remove_client(sockaddr_in)':
>PerfSocket_UDP.cpp:404: no matching function for call to `
> std::vector<sockaddr_in, std::allocator<sockaddr_in>
>::erase(sockaddr_in*)'
>/usr/include/c++/3.2.2/bits/stl_vector.h:647: candidates are:
> __gnu_cxx::__normal_iterator<_Tp*, std::vector<_Tp, _Alloc> >
> std::vector<_Tp, _Alloc>::erase(__gnu_cxx::__normal_iterator<_Tp*,
> std::vector<_Tp, _Alloc> >) [with _Tp = sockaddr_in, _Alloc =
> std::allocator<sockaddr_in>]
>/usr/include/c++/3.2.2/bits/stl_vector.h:670:
> __gnu_cxx::__normal_iterator<_Tp*, std::vector<_Tp, _Alloc> >
> std::vector<_Tp, _Alloc>::erase(__gnu_cxx::__normal_iterator<_Tp*,
> std::vector<_Tp, _Alloc> >, __gnu_cxx::__normal_iterator<_Tp*,
> std::vector<_Tp, _Alloc> >) [with _Tp = sockaddr_in, _Alloc =
> std::allocator<sockaddr_in>]
>make[1]: *** [PerfSocket_UDP.o] Error 1
>make[1]: Leaving directory `/home/dlt/pkg/iperf-1.2/src'
>make: *** [iperf] Error 2
>
>Thanks again for the help!
>Mark
>
>
--
Mitch Kutzko | mitch --at-- dast.nlanr.net | mitch --at-- ncsa.uiuc.edu | 217-333-1199
http://hobbes.ncsa.uiuc.edu/