https://bugs.openldap.org/show_bug.cgi?id=9484

          Issue ID: 9484
           Summary: contrib passwd modules fail to build
           Product: OpenLDAP
           Version: 2.5
          Hardware: All
                OS: All
            Status: UNCONFIRMED
          Severity: normal
          Priority: ---
         Component: contrib
          Assignee: [email protected]
          Reporter: [email protected]
  Target Milestone: ---

../../../libtool --mode=compile gcc -g -O2 -Wall  -I../../../include
-I../../../include -I../../../servers/slapd -c kerberos.c
libtool: compile:  gcc -g -O2 -Wall -I../../../include -I../../../include
-I../../../servers/slapd -c kerberos.c  -fPIC -DPIC -o .libs/kerberos.o
In file included from kerberos.c:20:
../../../include/lutil.h:356:18: error: field ‘sa_addr’ has incomplete type
  356 |  struct sockaddr sa_addr;
      |                  ^~~~~~~
../../../include/lutil.h:357:21: error: field ‘sa_in_addr’ has incomplete type
  357 |  struct sockaddr_in sa_in_addr;
      |                     ^~~~~~~~~~
make: *** [Makefile:34: kerberos.lo] Error 1


../../../libtool --mode=compile gcc -g -O2 -Wall  -I../../../include
-I../../../include -I../../../servers/slapd -c netscape.c
libtool: compile:  gcc -g -O2 -Wall -I../../../include -I../../../include
-I../../../servers/slapd -c netscape.c  -fPIC -DPIC -o .libs/netscape.o
In file included from netscape.c:20:
../../../include/lutil.h:356:18: error: field ‘sa_addr’ has incomplete type
  356 |  struct sockaddr sa_addr;
      |                  ^~~~~~~
../../../include/lutil.h:357:21: error: field ‘sa_in_addr’ has incomplete type
  357 |  struct sockaddr_in sa_in_addr;
      |                     ^~~~~~~~~~
make: *** [Makefile:34: netscape.lo] Error 1



../../../libtool --mode=compile gcc -g -O2 -Wall  -I../../../include
-I../../../include -I../../../servers/slapd -c apr1.c
libtool: compile:  gcc -g -O2 -Wall -I../../../include -I../../../include
-I../../../servers/slapd -c apr1.c  -fPIC -DPIC -o .libs/apr1.o
In file included from ../../../include/lutil.h:21,
                 from apr1.c:23:
../../../include/ac/socket.h:233:46: error: unknown type name ‘uid_t’
  233 | LDAP_LUTIL_F( int ) lutil_getpeereid( int s, uid_t *, gid_t * );
      |                                              ^~~~~
../../../include/ac/socket.h:233:55: error: unknown type name ‘gid_t’
  233 | LDAP_LUTIL_F( int ) lutil_getpeereid( int s, uid_t *, gid_t * );
      |                                                       ^~~~~
In file included from apr1.c:23:
../../../include/lutil.h:356:18: error: field ‘sa_addr’ has incomplete type
  356 |  struct sockaddr sa_addr;
      |                  ^~~~~~~
../../../include/lutil.h:357:21: error: field ‘sa_in_addr’ has incomplete type
  357 |  struct sockaddr_in sa_in_addr;
      |                     ^~~~~~~~~~
make: *** [Makefile:34: apr1.lo] Error 1


Patch is coming.

-- 
You are receiving this mail because:
You are on the CC list for the issue.

Reply via email to