i compile weston and while the compile process the error in weston-compositor.o appears
Code: Select all
make all-am
make[1]: Entering directory '/home/pi/weston'
CC src/weston-compositor.o
src/compositor.c: In function ‘clock_name’:
src/compositor.c:4744:4: error: ‘CLOCK_BOOTTIME’ undeclared (first use in this function)
src/compositor.c:4744:4: note: each undeclared identifier is reported only once for each function it appears in
src/compositor.c:4744:3: error: array index in initializer not of integer type
src/compositor.c:4744:3: error: (near initialization for ‘names’)
Makefile:4739: recipe for target 'src/weston-compositor.o' failed
make[1]: *** [src/weston-compositor.o] Error 1
make[1]: Leaving directory '/home/pi/weston'
Makefile:2524: recipe for target 'all' failed
make: *** [all] Error 2
Code: Select all
/usr/bin/ld: src/weston-compositor.o: undefined reference to symbol 'clock_gettime@@GLIBC_2.4'
//lib/arm-linux-gnueabihf/librt.so.1: error adding symbols: DSO missing from command line
collect2: error: ld returned 1 exit status
with best regards