小编Ras*_*lyn的帖子

在Ubuntu 18.04中安装旧版本的gnu-make

我想在Ubuntu 18.04上安装make 3.81。

因此,我下载了此版本的make并运行./configure,然后运行make。但是当编译它给我这个错误:

./glob/glob.c: In function ‘glob’:
./glob/glob.c:581:23: warning: implicit declaration of function ‘__alloca’; did you mean ‘alloca’? [-Wimplicit-function-declaration]
       newp = (char *) __alloca (dirlen + 1);
                       ^~~~~~~~
                       alloca
./glob/glob.c:581:14: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
       newp = (char *) __alloca (dirlen + 1);
              ^
./glob/glob.c:709:15: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
        newp = (char *) __alloca (home_len + dirlen);
               ^
./glob/glob.c:732:15: warning: cast to pointer from …
Run Code Online (Sandbox Code Playgroud)

linux ubuntu gnu-make

3
推荐指数
1
解决办法
1955
查看次数

标签 统计

gnu-make ×1

linux ×1

ubuntu ×1