Quantcast
Channel: Squeezebox : Community : Forums - Linux / Unix
Viewing all articles
Browse latest Browse all 1518

PicorePlayer - how to compile a socket server ?

$
0
0
What package is missing ?

tc@blue:~/server$ gcc
-sh: gcc: not found

tc@blue:/mnt/mmcblk0p2/tce/optional$ tce-load -i gcc.tcz
liblz4.tcz: OK
zstd.tcz: OK
mpfr.tcz: OK
mpc.tcz: OK
gcc.tcz: OK

tc@blue:~/server$ gcc -o server server.c
server.c:4:10: fatal error: stdio.h: No such file or directory
4 | #include <stdio.h>
| ^~~~~~~~~
compilation terminated.

tc@blue:/mnt/mmcblk0p2/tce/optional$ tce-load -i glibc_add_lib.tcz
glibc_add_lib is already installed!
tc@blue:/mnt/mmcblk0p2/tce/optional$ tce-load -i glibc_apps.tcz
glibc_apps is already installed!
tc@blue:/mnt/mmcblk0p2/tce/optional$ tce-load -i glibc_base-dev.tcz
glibc_base-dev.tcz: OK
tc@blue:/mnt/mmcblk0p2/tce/optional$ tce-load -i libcups.tcz
libcups is already installed!
tc@blue:/mnt/mmcblk0p2/tce/optional$ tce-load -i gcc_libs-dev.tcz
gcc_libs-dev.tcz: OK

tc@blue:~/server$ gcc -o server server.c
In file included from /usr/include/sys/socket.h:33,
from server.c:6:
/usr/include/bits/socket.h:354:11: fatal error: asm/socket.h: No such file or directory
354 | # include <asm/socket.h>
| ^~~~~~~~~~~~~~
compilation terminated.

Viewing all articles
Browse latest Browse all 1518

Trending Articles