Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 05 Oct 2016 06:34:34 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   [Bug 213221] emulators/qemu: rdma.c:935:35: error: incomplete definition of type 'struct rdma_addrinfo'
Message-ID:  <bug-213221-13@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D213221

            Bug ID: 213221
           Summary: emulators/qemu: rdma.c:935:35: error: incomplete
                    definition of type 'struct rdma_addrinfo'
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: Individual Port(s)
          Assignee: bofh@freebsd.org
          Reporter: ohartman@zedat.fu-berlin.de
             Flags: maintainer-feedback?(bofh@freebsd.org)
          Assignee: bofh@freebsd.org

I get haunted by an error on 12-CURRENT, which prevents me from installing =
or
building (poudriere) QEMU on 12-CURRENT:

[...]
  CC    net/util.o
migration/rdma.c:805:26: warning: unused variable 'port_attr'
[-Wunused-variable]
    struct ibv_port_attr port_attr;
                         ^
migration/rdma.c:929:11: warning: implicit declaration of function
'rdma_getaddrinfo' is invalid in C99 [-Wimplicit-function-declaration]
    ret =3D rdma_getaddrinfo(rdma->host, port_str, NULL, &res);
          ^
migration/rdma.c:935:35: error: incomplete definition of type 'struct
rdma_addrinfo'
    for (e =3D res; e !=3D NULL; e =3D e->ai_next) {
                                 ~^
migration/rdma.c:901:12: note: forward declaration of 'struct rdma_addrinfo'
    struct rdma_addrinfo *res;
           ^
migration/rdma.c:936:20: error: incomplete definition of type 'struct
rdma_addrinfo'
        inet_ntop(e->ai_family,
                  ~^
migration/rdma.c:901:12: note: forward declaration of 'struct rdma_addrinfo'
    struct rdma_addrinfo *res;
           ^
migration/rdma.c:937:39: error: incomplete definition of type 'struct
rdma_addrinfo'
            &((struct sockaddr_in *) e->ai_dst_addr)->sin_addr, ip, sizeof =
ip);
                                     ~^
migration/rdma.c:901:12: note: forward declaration of 'struct rdma_addrinfo'
    struct rdma_addrinfo *res;
           ^
migration/rdma.c:940:53: error: incomplete definition of type 'struct
rdma_addrinfo'
        ret =3D rdma_resolve_addr(rdma->cm_id, NULL, e->ai_dst_addr,
[...]


I have this error on several boxes - all showing the same error on very
different building environments.

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-213221-13>