Skip to content

Fails to build with --with-uds --with-ipv6 #112

@jo-so

Description

@jo-so
% git rev-parse @
5cd5df957c9c4aa3b38127317e7910ad6be49d96

% ./configure --with-uds --with-ipv6
…
==============================================================
                      Feature Summary

  Unix domain sockets (--with-uds)       : YES
         TCP wrappers (--with-libwrap)   : NO
              OpenSSL (--with-openssl)   : NO
              GSS-API (--with-gssapi)    : NO
             FreeIPMI (--with-freeipmi)  : NO
              dmalloc (--with-dmalloc)   : NO
          PAM support (--with-pam)       : NO
         IPv6 support (--with-ipv6)      : YES

==============================================================

% make
…
gcc -O  -o convert convert.o cutil.o -lutil -lcrypt  
master.c: In function ‘Master’:
master.c:1056:12: error: ‘master_port’ undeclared (first use in this function)
 1056 |     unlink(master_port.sun_path);
      |            ^~~~~~~~~~~
master.c:1056:12: note: each undeclared identifier is reported only once for each function it appears in
make[1]: *** [Makefile:55: master.o] Fehler 1
make[1]: *** Es wird auf noch nicht beendete Prozesse gewartet....
main.c: In function ‘main’:
main.c:1542:13: error: ‘hints’ undeclared (first use in this function)
 1542 |     memset(&hints, 0, sizeof(hints));
      |             ^~~~~
main.c:1542:13: note: each undeclared identifier is reported only once for each function it appears in
main.c:1548:5: error: ‘s’ undeclared (first use in this function)
 1548 |     s = getaddrinfo(interface, config->primaryport, &hints, &bindAddr);
      |     ^
make[1]: *** [Makefile:55: main.o] Fehler 1
group.c: In function ‘Spawn’:
group.c:5314:42: error: ‘lstn_port’ undeclared (first use in this function)
 5314 |         Error("Spawn(): listen(%s): %s", lstn_port.sun_path,
      |                                          ^~~~~~~~~
group.c:5314:42: note: each undeclared identifier is reported only once for each function it appears in

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions