You are not logged in.

#1 2013-10-16 03:08:35

isolet
Member
Registered: 2013-10-15
Posts: 4

Error when building lightdm-unity-greeter

Hi,

I built Unity from git last night, and today I've failed to make lightdm-unity-greeter with this error:

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 for `MCL_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 of `MCL_FUTURE' was here
	public const int MCL_FUTURE;
	^^^^^^^^^^^^^^^^^^^^^^^^^^^^
fixes.vapi:8.5-8.23: error: `Posix' already contains a definition for `mlockall'
    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 of `munlockall' 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

The configure log seems nothing goes wrong:

checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /usr/bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking for style of include used by make... GNU
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables... 
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking whether gcc understands -c and -o together... yes
checking dependency style of gcc... gcc3
checking for valac... /usr/bin/valac
checking whether /usr/bin/valac is at least version 0.20.0... yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking whether make supports nested variables... (cached) yes
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.16... yes
checking for UNITY_GREETER... yes
checking whether NLS is requested... yes
checking for intltool >= 0.35.0... 0.50.2 found
checking for intltool-update... /usr/bin/intltool-update
checking for intltool-merge... /usr/bin/intltool-merge
checking for intltool-extract... /usr/bin/intltool-extract
checking for xgettext... /usr/bin/xgettext
checking for msgmerge... /usr/bin/msgmerge
checking for msgfmt... /usr/bin/msgfmt
checking for gmsgfmt... /usr/bin/msgfmt
checking for perl... /usr/bin/perl
checking for perl >= 5.8.1... 5.18.1
checking for XML::Parser... ok
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
config.status: creating data/Makefile
config.status: creating po/Makefile.in
config.status: creating src/Makefile
config.status: creating tests/Makefile
config.status: creating config.h
config.status: config.h is unchanged
config.status: executing depfiles commands
config.status: executing po/stamp-it commands

Since I'm new to Arch and not that familiar with C/C++ compiling, can somebody help take a look at this and give me some ideas ?
Your help will be greatly appreciated! smile

Last edited by isolet (2013-10-16 03:09:02)

Offline

Board footer

Powered by FluxBB