我试图在我的Debian 10上安装Inferno。
$ git clone https://github.com/doublec/inferno
$ cd inferno
$ sh Mkdirs
$ nano mkconfig
ROOT=/root/of/the/inferno/git/clone
SYSHOST=Linux
OBJTYPE=386
$ export PATH=$PATH:`pwd`/Linux/386/bin
$ ./makemk.sh删除旧库和二进制文件gcc -m32 -c -i/home/user1 1/inferno/Plan9 9/386/include-i/home/user1 1/inferno/include-i/home/user1 1/inferno/utils/include regaux.c .c regerror.c regexec.c regexec.c rregexec.c rregsub.c rregexec.c rregsub.c
上一次手术后我拿到了输出
所有lib.c都有致命错误:
...fatal错误:/386/include/U.H.
发布于 2020-06-25 22:41:21
SYSHOST=Plan9的值在mkconfig中没有正确地更改为SYSHOST=Linux。
使用默认值,我得到相同的错误:
$ ./makemk.sh
removing old libraries and binaries
gcc -m32 -c -I/tmp/testdir/inferno/Plan9/386/include -I/tmp/testdir/inferno/include -I/tmp/testdir/inferno/utils/include regaux.c regcomp.c regerror.c regexec.c regsub.c rregexec.c rregsub.c
In file included from /tmp/testdir/inferno/Plan9/386/include/../../include/lib9.h:1,
from /tmp/testdir/inferno/Plan9/386/include/lib9.h:1,
from regaux.c:1:
/tmp/testdir/inferno/Plan9/386/include/u.h:1:10: fatal error: /386/include/u.h: No such file or directory
#include "/386/include/u.h"
^~~~~~~~~~~~~~~~~~
compilation terminated.用SYSHOST=Linux编译..。
$ ./makemk.sh
removing old libraries and binaries
gcc -m32 -c -I/tmp/testdir/inferno/Linux/386/include -I/tmp/testdir/inferno/include -I/tmp/testdir/inferno/utils/include regaux.c regcomp.c regerror.c regexec.c regsub.c rregexec.c rregsub.c
ar crvs /tmp/testdir/inferno/Linux/386/lib/libregexp.a regaux.o regcomp.o regerror.o regexec.o regsub.o rregexec.o rregsub.o
a - regaux.o
a - regcomp.o
a - regerror.o
a - regexec.o
a - regsub.o
a - rregexec.o
a - rregsub.o
...https://unix.stackexchange.com/questions/595115
复制相似问题