Skip to content
This repository has been archived by the owner on Nov 21, 2022. It is now read-only.

在CentOS7上一键安装bbrplus(内核版本4.14.91)后,编译UnixBench时出现奇怪的错误 #11

Open
gaorui84 opened this issue Jun 2, 2019 · 2 comments

Comments

@gaorui84
Copy link

gaorui84 commented Jun 2, 2019

UnixBench/
UnixBench/README
UnixBench/src/
UnixBench/src/looper.c
UnixBench/src/time-polling.c
UnixBench/src/arith.c
UnixBench/src/hanoi.c
UnixBench/src/timeit.c
UnixBench/src/dhry_1.c
UnixBench/src/dhry.h
UnixBench/src/dhry_2.c
UnixBench/src/fstime.c
UnixBench/src/syscall.c
UnixBench/src/execl.c
UnixBench/src/context1.c
UnixBench/src/whets.c
UnixBench/src/dummy.c
UnixBench/src/big.c
UnixBench/src/spawn.c
UnixBench/src/pipe.c
UnixBench/src/ubgears.c
UnixBench/pgms/
UnixBench/pgms/index.base
UnixBench/pgms/gfx-x11
UnixBench/pgms/multi.sh
UnixBench/pgms/unixbench.logo
UnixBench/pgms/tst.sh
UnixBench/WRITING_TESTS
UnixBench/.project
UnixBench/Run
UnixBench/testdir/
UnixBench/testdir/sort.src
UnixBench/testdir/cctest.c
UnixBench/testdir/dc.dat
UnixBench/testdir/large.txt
UnixBench/.cproject
UnixBench/results/
UnixBench/Makefile
UnixBench/USAGE
Checking distribution of files
./pgms exists
./src exists
./testdir exists
./tmp exists
./results exists
gcc -o ./pgms/context1 -DTIME -Wall -pedantic -ansi -O2 -fomit-frame-pointer -fforce-addr -ffast-math -Wall ./src/context1.c
In file included from /usr/include/errno.h:35:0,
from ./src/context1.c:29:
/usr/include/bits/errno.h:24:26: fatal error: linux/errno.h: No such file or directory

@cx9208
Copy link
Owner

cx9208 commented Jul 14, 2019

centos少个kernel-devel,我编译出来太大,没传,可以先用别的内核

@gaorui84
Copy link
Author

这么说是不是yum install kernel-devel之后就可以解决了呢?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants