Problem: writing a hello.c file in Linux has reported an error
The possible reason is that the GCC source
input was not installed
rpm -q gcc
how to install GCC source in Linux
to write the simplest c program hello.c can refer to the blog below
to create c program hello.c
under root would be considered for normal users, or su-.
Read More:
- Failed to commit changes to dconf: the connection is closed
- Edit the file to be edited by GEDIT. After saving, the warning set document metadata failed: setting attribute metadata:: GEDIT position no appears
- Edit the file to be edited by gedit. After saving, a warning of Set document metadata failed: Setting attribute metadata::gedit-position no appears
- How to cancel the commit, how to cancel the commit after git commit, and how to change the submitted content
- [Solved] Rabbitmq Warning: java.net.SocketException: socket closed
- Solve “error: failed to commit transaction” in arch Linux
- Spring failed to commit the transaction
- The remote host closed the connection. The error code is 0x80072746.
- Remote sshd prompt: server unexpectedly closed network connection
- How to solve the problem of “please enter a commit message to explain why this merge is necessary” when git merges branches?
- gvim: GConf-WARNING **: Client failed to connect to the D-BUS daemon
- How to solve problems like curl: (7) failed to connect to raw.githubusercontent.com Port 443: problem with connection used
- warning failed to connect to lvmetad,falling back to device scanning.
- Warning: failed to get default registry endpoint from daemon
- Failed to connect to remote VM. Connection reused. Connection reused: Connect
- An idea to solve Warning move_uploaded_file, failed to open stream in the process of php uploading files
- failed to lazily initialize a collection of role: ……, no session or session was closed
- curl: (7) Failed to connect to raw.githubusercontent.com port 443: Connection refused
- Failed to connect to 17.0.0.1 port 1080: Connection refused
- 【MongoDB】 Failed to connect to 127.0.0.1:27017, reason: Connection refused