- Code: Select all
[root@localhost Desktop]# ppu-gcc ppe_distance.c spe_distance_csf.o -lspe -o cheese
In file included from /usr/include/features.h:352,
from /usr/include/stdio.h:28,
from ppe_distance.c:1:
/usr/include/gnu/stubs.h:9:27: error: gnu/stubs-64.h: No such file or directory
ppe_distance.c:2:20: error: libspe.h: No such file or directory
ppe_distance.c:6: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'calculate_distance_handle'
ppe_distance.c: In function 'main':
ppe_distance.c:27: error: 'speid_t' undeclared (first use in this function)
ppe_distance.c:27: error: (Each undeclared identifier is reported only once
ppe_distance.c:27: error: for each function it appears in.)
ppe_distance.c:27: error: expected ';' before 'spe_id'
ppe_distance.c:30: error: 'spe_id' undeclared (first use in this function)
Am I using the wrong compiler or something?
Thank you! ^_^