Comments (4)
You are using 64bit system. So you should install libc 32bit library for your system. It is called libc6-dev-i386 in debian. Perhaps CentOS uses similar name.
from moodle-local_onlinejudge.
yum install libc-client-devel
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
- base: centos.ustc.edu.cn
- extras: centos.ustc.edu.cn
- updates: centos.ustc.edu.cn
Zend | 951 B 00:00
Zend_noarch | 951 B 00:00
base | 1.1 kB 00:00
extras | 2.1 kB 00:00
updates | 1.9 kB 00:00
Setting up Install Process
Resolving Dependencies
There are unfinished transactions remaining. You might consider running yum-comp lete-transaction first to finish them.
The program yum-complete-transaction is found in the yum-utils package.
--> Running transaction check
---> Package libc-client-devel.i386 0:2004g-2.2.1 set to be updated
--> Processing Dependency: libc-client = 2004g-2.2.1 for package: libc-client-de vel
--> Processing Dependency: libc-client.so.1 for package: libc-client-devel
---> Package libc-client-devel.x86_64 0:2004g-2.2.1 set to be updated
--> Running transaction check
---> Package libc-client.i386 0:2004g-2.2.1 set to be updated
---> Package libc-client.x86_64 0:2004g-2.2.1 set to be updated
--> Finished Dependency Resolution
Dependencies Resolved
Package Arch Version Repository Size
Installing:
libc-client-devel i386 2004g-2.2.1 base 696 k
libc-client-devel x86_64 2004g-2.2.1 base 712 k
Installing for dependencies:
libc-client i386 2004g-2.2.1 base 516 k
libc-client x86_64 2004g-2.2.1 base 515 k
Transaction Summary
Install 4 Package(s)
Upgrade 0 Package(s)
Total download size: 2.4 M
Is this ok [y/N]: y
Downloading Packages:
(1/4): libc-client-2004g-2.2.1.x86_64.rpm | 515 kB 00:00
(2/4): libc-client-2004g-2.2.1.i386.rpm | 516 kB 00:00
(3/4): libc-client-devel-2004g-2.2.1.i386.rpm | 696 kB 00:00
(4/4): libc-client-devel-2004g-2.2.1.x86_64.rpm | 712 kB 00:00
Total 2.7 MB/s | 2.4 MB 00:00
Running rpm_check_debug
Running Transaction Test
Finished Transaction Test
Transaction Test Succeeded
Running Transaction
Installing : libc-client 1/4
/sbin/ldconfig: libraries libncurses.so.5.5 and libncurses.so.5.9 in directory / usr/lib have same soname but different type.
/sbin/ldconfig: libraries libpanel.so.5.5 and libpanel.so.5.9 in directory /usr/ lib have same soname but different type.
Installing : libc-client 2/4
/sbin/ldconfig: libraries libncurses.so.5.5 and libncurses.so.5.9 in directory / usr/lib have same soname but different type.
/sbin/ldconfig: libraries libpanel.so.5.5 and libpanel.so.5.9 in directory /usr/ lib have same soname but different type.
Installing : libc-client-devel 3/4
Installing : libc-client-devel 4/4
Installed:
libc-client-devel.i386 0:2004g-2.2.1 libc-client-devel.x86_64 0:2004g-2.2.1
Dependency Installed:
libc-client.i386 0:2004g-2.2.1 libc-client.x86_64 0:2004g-2.2.1
Complete!
[root@localhost sandbox]# cd sand
[root@localhost sand]# make
cc -m32 -Wall -ansi -std=gnu99 -g0 -O3 --static -o stdin_test testcase/stdin.c
在包含自 /usr/include/features.h:352 的文件中,
从 /usr/include/stdio.h:28,
从 testcase/stdin.c:1:
/usr/include/gnu/stubs.h:7:27: 错误:gnu/stubs-32.h:没有那个文件或目录
make: *** [stdin_test] 错误 1
why?
from moodle-local_onlinejudge.
From some search works, the package probably is glibc-devel.i386
Ref: http://www.cyberciti.biz/faq/x86_64-linux-error-gnustub-32h-missing-error-and-solution/
from moodle-local_onlinejudge.
Thank you very much!
from moodle-local_onlinejudge.
Related Issues (20)
- 提交的代码判断报错受限函数
- 判断提交的代码时提示函数受限 HOT 7
- libsandbox compilation error,The plug-in cannot run properly
- Consider adding github actions support - it's free and very useful.
- install.xml not valid.
- Missing Privacy API
- missing thirdpartylibs.xml file.
- Moodle uses sentence case.
- Incorrect location for class and violation of frankenstyle naming rules.
- assign_feedback plugin should be submitted separately to plugins db
- $onlinejudge is no-object in mod/assign/feedback/onlinejudge/locallib.php HOT 3
- 安装问题 HOT 13
- Error when compling C files through sandbox HOT 7
- 安装问题 HOT 2
- Sandbox Compilation Error
- [!] frontend: assignfeedback plugin settings is glitched (cpu and memory range loading) HOT 1
- [!] deprecated usage of implode
- review issues HOT 1
- Core Dumped During Sandbox Compilation[!] HOT 2
- A Question About Its Usage HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from moodle-local_onlinejudge.