I am preparing a new xorp package with a updated source. The latest changes are already on svn repository. The updated sources fix the current issue. But fails with another g++ error:


fea/data_plane/io/io_ip_socket.cc: In member function 'virtual int IoIpSocket::send_packet(const string&, const string&, const IPvX&, const IPvX&, int32_t, int32_t, bool, bool, const std::vector<unsigned char>&, const std::vector<std::vector<unsigned char> >&, const std::vector<unsigned char>&, std::__cxx11::string&)': fea/data_plane/io/io_ip_socket.cc:2374:3: error: no match for 'operator<' (operand types are 'std::_Bind_helper<false, XorpFd&, sockaddr*, long unsigned int>::type {aka std::_Bind<XorpFd(sockaddr*, long unsigned int)>}' and 'int')
      if (bind(_proto_socket_out,
          ~~~~~~~~~~~~~~~~~~~~~~~
        reinterpret_cast<struct sockaddr*>(&sin),
        ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
        sizeof(sin))
        ~~~~~~~~~~~~
   < 0) {
   ^~~


Kind regards
Jose M Calhariz

Reply via email to