When I ran the make command, I reported an error. The fcntl.h file could not be found, but my gcc has been installed. Do I need to install anything else?
I tried to install build-essential and still reported an error.
root@pve:~/rom-parser# apt-get install build-essential
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:
The following packages have unmet dependencies:
libc6-dev : Depends: libc6 (= 2.28-10+deb10u2) but 2.31-13+deb11u5 is to be installed
Depends: libc-dev-bin (= 2.28-10+deb10u2) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
system info
root@pve:~/rom-parser# pveversion pve-manager/7.4-3/9002ab8a (running kernel: 5.15.102-1-pve)
root@pve:~/rom-parser# gcc --version gcc (Debian 8.3.0-6) 8.3.0
how
When I ran the make command, I reported an error. The fcntl.h file could not be found, but my gcc has been installed. Do I need to install anything else?
I tried to install build-essential and still reported an error.