Skip to content

-current build fails with scandir error #5

@sysfu

Description

@sysfu

httpd-plus-install.log
Just tried building against latest cvs sync of current (7.5) source tree using the script as per the readme instructions

Craps out with this error:

/usr/src/usr.sbin/httpd/server_file.c:549:18: error: call to undeclared function 'scandirat'; ISO C99 and later do not support implicit function declarations [-Werror,-Wimplicit-function-declaration]
        if ((namesize = scandirat(fd, ".", &namelist, select_visible,
                        ^
/usr/src/usr.sbin/httpd/server_file.c:549:18: note: did you mean 'scandir'?
/usr/include/dirent.h:91:5: note: 'scandir' declared here
int scandir(const char *, struct dirent ***, int (*)(const struct dirent *),
    ^
1 error generated.
*** Error 1 in /usr/src/usr.sbin/httpd (<sys.mk>:87 'server_file.o')
Restoring original sources ... Done.

Installing httpd-plus failed (exitcode: 2).

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