Skip to content

src/job.c:2373:19: error: too few arguments to function ‘find_in_given_path’ #5

Description

@25th-engineer

When I tried to compile the repository, there occured the error:
src/job.c: In function ‘child_execute_job’:
src/job.c:2373:19: error: too few arguments to function ‘find_in_given_path’
cmd = (char *)find_in_given_path (argv[0], p, 0);
^~~~~~~~~~~~~~~~~~
In file included from src/job.c:141:0:
lib/findprog.h:68:20: note: declared here
extern const char *find_in_given_path (const char *progname, const char *path,
^~~~~~~~~~~~~~~~~~
Makefile:1410: recipe for target 'src/job.o' failed
make[1]: *** [src/job.o] Error 1
make[1]: Leaving directory '/home/river/Downloads/Ubuntu_installation_essential_components/make-4.2.92'
Makefile:1496: recipe for target 'all-recursive' failed
make: *** [all-recursive] Error 1

what should I do to solve the problem?

OS: Ubuntu 18.04 LTS(Desktop, 64-bits)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions