-
Notifications
You must be signed in to change notification settings - Fork 27
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error compiling on Pi4 #36
Comments
That seems a missing library, try running the following commands to fix this: |
With that library installed, it's still not possible to compile on Raspberry Pi 4: ~/chiaharvestgraph$ make
cc -D_POSIX_C_SOURCE=200809L -std=c99 -Wall -Wno-missing-braces -g -O -c chiaharvestgraph.c -o chiaharvestgraph.o
make: cc: No such file or directory
make: *** [Makefile:17: chiaharvestgraph.o] Error 127 |
Check which c compiler is installed.
$ CC=clang make
Could work, or else:
$ CC=gcc make
Provided that either clang or gcc is installed. If not, try:
$ sudo apt install gcc
On Tue, Aug 9, 2022 at 10:26 AM Pablo García de los Salmones < ***@***.***> wrote:
With that library installed, it's still not possible to compile on
Raspberry Pi 4:
~/chiaharvestgraph$ make
cc -D_POSIX_C_SOURCE=200809L -std=c99 -Wall -Wno-missing-braces -g -O -c chiaharvestgraph.c -o chiaharvestgraph.o
make: cc: No such file or directory
make: *** [Makefile:17: chiaharvestgraph.o] Error 127
—
Reply to this email directly, view it on GitHub
<#36 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AADPE4CL7SXWETOS6ICZWKDVYKIGFANCNFSM46YQMGWA>
.
You are receiving this because you are subscribed to this thread.Message
ID: ***@***.***>
--
Owner/Director of Game Studio Abraham Stolk Inc.
Vancouver BC, Canada
***@***.***
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Mine is Pi4 running on Raspberry Pi OS (Debian based, x64, gcc (Debian 8.3.0-6) 8.3.0).
Output of the compile:
cc -D_POSIX_C_SOURCE=200809L -std=c99 -Wall -Wno-missing-braces -g -c chiaharvestgraph.c -o chiaharvestgraph.o
/usr/lib/gcc/aarch64-linux-gnu/8/cc1: /lib/aarch64-linux-gnu/libdl.so.2: version
' not found (required by /usr/lib/gcc/aarch64-linux-gnu/8/cc1) /usr/lib/gcc/aarch64-linux-gnu/8/cc1: /lib/aarch64-linux-gnu/libm.so.6: version
' not found (required by /usr/lib/gcc/aarch64-linux-gnu/8/cc1)/usr/lib/gcc/aarch64-linux-gnu/8/cc1: /lib/aarch64-linux-gnu/libc.so.6: version `' not found (required by /usr/lib/gcc/aarch64-linux-gnu/8/cc1)
make: *** [Makefile:15: chiaharvestgraph.o] Error 1
How can this be fixed?
The text was updated successfully, but these errors were encountered: