building make complains about missing definition of GLOB_ALTDIRFUNC

Asked by ari niemelä

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:
Last query:
Last reply:
Revision history for this message
ari niemelä (ari5protonmailcom) said :
#1

This is old version of make, sorry

Revision history for this message
Kai Kasurinen (kai-kasurinen) said :
#2

Why make-3.75?