building make complains about missing definition of GLOB_ALTDIRFUNC

Asked by ari niemelä on 2020-07-28

I am trying to build make-3.75 in ubuntu 18.04. gcc complains
read.c: In function ‘multi_glob’:
read.c:2135:45: error: ‘GLOB_ALTDIRFUNC’ undeclared (first use in this function)
       switch (glob (old->name, GLOB_NOCHECK|GLOB_ALTDIRFUNC, NULL, &gl))
My compiler is /usr/bin/x86_64-linux-gnu-gcc-7 dated 2019-12-4

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Solved by:
ari niemelä
Solved:
2020-07-28
Last query:
2020-07-28
Last reply:

This is old version of make, sorry

Kai Kasurinen (kai-kasurinen) said : #2

Why make-3.75?