Hi
I am trying to compile dualserverd.cpp on a RPi 2 Model B but I am receiving an error (below).
The latest version 7.40 of dualservd is 64bit and I require a 32bit compilation to run on my RPi.
Any help with this would be greatly appreciated.
Details:
Platform: Raspberry Pi 2 Model B 32bit
GCC version: 9.1.0
Error: No such file or directory 39 | #include <features.h></features.h>
root@DietPi:/opt/dualserver# g++-9.1 dualserverd.cpp -odualserverd -lpthread
In file included from /opt/gcc-9.1.0/include/c++/9.1.0/arm-linux-gnueabihf/bits/c++config.h:524,
from /opt/gcc-9.1.0/include/c++/9.1.0/string:38,
from dualserverd.cpp:21:
/opt/gcc-9.1.0/include/c++/9.1.0/arm-linux-gnueabihf/bits/os_defines.h:39:10: fatal error: features.h: No such file or directory
39 | #include <features.h>
| ^~~~~~~~~~~~
compilation terminated.</features.h>
root@DietPi:/opt/dualserver# g++-9.1 dualserverd.cpp -odualserverd -lpthread -lgcc_s
In file included from /opt/gcc-9.1.0/include/c++/9.1.0/arm-linux-gnueabihf/bits/c++config.h:524,
from /opt/gcc-9.1.0/include/c++/9.1.0/string:38,
from dualserverd.cpp:21:
/opt/gcc-9.1.0/include/c++/9.1.0/arm-linux-gnueabihf/bits/os_defines.h:39:10: fatal error: features.h: No such file or directory
39 | #include <features.h>
| ^~~~~~~~~~~~
compilation terminated.</features.h>
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi
I am trying to compile dualserverd.cpp on a RPi 2 Model B but I am receiving an error (below).
The latest version 7.40 of dualservd is 64bit and I require a 32bit compilation to run on my RPi.
Any help with this would be greatly appreciated.
Details:
Platform: Raspberry Pi 2 Model B 32bit
GCC version: 9.1.0
Error: No such file or directory 39 | #include <features.h></features.h>
root@DietPi:/opt/dualserver# g++-9.1 dualserverd.cpp -odualserverd -lpthread
In file included from /opt/gcc-9.1.0/include/c++/9.1.0/arm-linux-gnueabihf/bits/c++config.h:524,
from /opt/gcc-9.1.0/include/c++/9.1.0/string:38,
from dualserverd.cpp:21:
/opt/gcc-9.1.0/include/c++/9.1.0/arm-linux-gnueabihf/bits/os_defines.h:39:10: fatal error: features.h: No such file or directory
39 | #include <features.h>
| ^~~~~~~~~~~~
compilation terminated.</features.h>
root@DietPi:/opt/dualserver# g++-9.1 dualserverd.cpp -odualserverd -lpthread -lgcc_s
In file included from /opt/gcc-9.1.0/include/c++/9.1.0/arm-linux-gnueabihf/bits/c++config.h:524,
from /opt/gcc-9.1.0/include/c++/9.1.0/string:38,
from dualserverd.cpp:21:
/opt/gcc-9.1.0/include/c++/9.1.0/arm-linux-gnueabihf/bits/os_defines.h:39:10: fatal error: features.h: No such file or directory
39 | #include <features.h>
| ^~~~~~~~~~~~
compilation terminated.</features.h>