chenxiaolong / Unity-for-Arch-Extra

Extra stuff for the Unity-for-Arch project
25 stars 9 forks source link

Error when building lightdm-unity-greeter #32

Open failable opened 10 years ago

failable commented 10 years ago

make[2]: Leaving directory /home/isolet/Unity-for-Arch-Extra/lightdm-unity-greeter/src/unity-greeter-13.10.2/po' Making all in src make[2]: Entering directory/home/isolet/Unity-for-Arch-Extra/lightdm-unity-greeter/src/unity-greeter-13.10.2/src' VALAC unity_greeter_vala.stamp fixes.vapi:4.5-4.33: error: Posix' already contains a definition forMCL_CURRENT' public const int MCL_CURRENT; ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ posix.vapi:2308.2-2308.30: note: previous definition of MCL_CURRENT' was here public const int MCL_CURRENT; ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ fixes.vapi:6.5-6.32: error:Posix' already contains a definition for MCL_FUTURE' public const int MCL_FUTURE; ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ posix.vapi:2310.2-2310.29: note: previous definition ofMCL_FUTURE' was here public const int MCL_FUTURE; ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ fixes.vapi:8.5-8.23: error: Posix' already contains a definition formlockall' public int mlockall (int flags); ^^^^^^^^^^^^^^^^^^^ posix.vapi:2312.2-2312.20: note: previous definition of mlockall' was here public int mlockall (int flags); ^^^^^^^^^^^^^^^^^^^ fixes.vapi:10.5-10.25: error:Posix' already contains a definition for munlockall' public int munlockall (); ^^^^^^^^^^^^^^^^^^^^^ posix.vapi:2314.2-2314.22: note: previous definition ofmunlockall' was here public int munlockall (); ^^^^^^^^^^^^^^^^^^^^^ Compilation failed: 4 error(s), 0 warning(s) make[2]: * [unity_greeter_vala.stamp] Error 1 make[2]: Leaving directory `/home/isolet/Unity-for-Arch-Extra/lightdm-unity-greeter/src/unity-greeter-13.10.2/src' make[1]: * [all-recursive] Error 1 make[1]: Leaving directory`/home/isolet/Unity-for-Arch-Extra/lightdm-unity-greeter/src/unity-greeter-13.10.2' make: *\ [all] Error 2

This is the first time for me to build such a big "Unity" and after I finished it, I failed in building the lightdm-unity-greeter. Can somebody help me fixed that ? I love unity very much. I'm using Linux Arch 3.11.5-1-ARCH. Your help is greatly appreciated ! :)