codesnake / OpenELEC.tv

Port of the OpenELEC for Amlogic-based TV boxes
http://openelec.tv
62 stars 70 forks source link

Compile error #39

Open BTopbas opened 9 years ago

BTopbas commented 9 years ago

make[1]: Entering directory '/home/batuhan/Desktop/OpenELEC.tv/build.OpenELEC-Amlogic.M8.arm-devel/systemd-218/.armv7a-openelec-linux-gnueabi' GEN test-libsystemd-sym.c make --no-print-directory all-recursive Making all in . CC src/cgroups-agent/cgroups-agent.o CC src/tmpfiles/tmpfiles.o In file included from /home/batuhan/Desktop/OpenELEC.tv/build.OpenELEC-Amlogic.M8.arm-devel/systemd-218/src/tmpfiles/tmpfiles.c:42:0: /home/batuhan/Desktop/OpenELEC.tv/build.OpenELEC-Amlogic.M8.arm-devel/toolchain/armv7a-openelec-linux-gnueabi/sysroot/usr/include/sys/xattr.h:32:3: error: expected identifier before numeric constant XATTRCREATE = 1, /* set value, fail if attr already exists. / ^ Makefile:13513: recipe for target 'src/tmpfiles/tmpfiles.o' failed make[3]: _\ [src/tmpfiles/tmpfiles.o] Error 1 make[3]: * Waiting for unfinished jobs.... Makefile:17852: recipe for target 'all-recursive' failed make[2]: * [all-recursive] Error 1 Makefile:9071: recipe for target 'all' failed make[1]: * [all] Error 2 make[1]: Leaving directory '/home/batuhan/Desktop/OpenELEC.tv/build.OpenELEC-Amlogic.M8.arm-devel/systemd-218/.armv7a-openelec-linux-gnueabi' make: * [release] Error 2

I trying compile source for Amlogic M8 device. But this error happened.

BTopbas commented 9 years ago

I cloned OpenELEC-5.0 branch and resolves my problem. Master branch systemd gives compile error.

stefansaraev commented 9 years ago

(removed): oh boy, that solves a complete different issue. I posted wrong patch :( nevermind