[Help-gnutls] compilation issues of gnutls-1.4.1 in HPUX

Haidar Habib h.habib at gmail.com
Mon Feb 18 08:30:47 CET 2008


Hi,

Following errors occurred when I compiled gnutls-1.4.1. Befor this I
successfully built libgcrypt-1.2.3 and libgcrypt-1.2.3.
Pls give some suggestions in this regard.

Error 359: "serv.c", line 646 # The expression on the left side of the
'->' (arrow member access operator) must be a pointer to completed
struct object type; the type of the left side is 'const
sockaddr_storage *' and 'struct sockaddr_storage' has not been defined
yet.
      switch (addr->ss_family)
              ^^^^
Error 628: "serv.c", line 673 # "sockaddr_storage#5 client_address"
["serv.c", line 673] cannot be defined to have an incomplete type.
      struct sockaddr_storage client_address;
                              ^^^^^^^^^^^^^^
Warning 942: "serv.c", line 916 # Types 'int *' and 'fd_set *' are not
assignment-compatible.
          n = select (n + 1, &rd, &wr, NULL, NULL);
                             ^
Warning 942: "serv.c", line 916 # Types 'int *' and 'fd_set *' are not
assignment-compatible.
          n = select (n + 1, &rd, &wr, NULL, NULL);
                                  ^
Error 244: "serv.c", line 932 # sizeof may not be applied to an
undefined struct.
              calen = sizeof (client_address);

-- 
With regards,
Haidar Habib





More information about the Gnutls-help mailing list