GNOME Bugzilla – Bug 781657
mutter master fails to compile with a linker error
Last modified: 2017-05-24 17:17:35 UTC
Hi I am compiling mutter with ./autogen.sh --prefix=$INSTALLDIR --libdir=$INSTALLDIR/lib/$(dpkg-architecture -qDEB_HOST_MULTIARCH) --enable-compile-warnings=yes --with-xwayland-path=$INSTALLDIR/bin/Xwayland --disable-Werror --enable-egl-device It seems I get this output ---------------------------------------------------------------------- make install-exec-hook make[5]: Entering directory '/srcbuild/mutter/src/compositor/plugins' rm -f /opt/lib/i386-linux-gnu/mutter/plugins/*.a rm -f /opt/lib/i386-linux-gnu/mutter/plugins/*.la make[5]: Leaving directory '/srcbuild/mutter/src/compositor/plugins' make[4]: Leaving directory '/srcbuild/mutter/src/compositor/plugins' make[3]: Leaving directory '/srcbuild/mutter/src/compositor/plugins' make[3]: Entering directory '/srcbuild/mutter/src' GEN backends/native/meta-default-modes.h CC backends/native/meta-monitor-manager-kms.lo backends/native/meta-monitor-manager-kms.c: In function ‘init_output’: backends/native/meta-monitor-manager-kms.c:812:41: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (manager->crtcs[i].crtc_id == output_kms->current_encoder->crtc_id) ^~ CCLD libmutter-0.la CCLD mutter CCLD mutter-test-client CCLD mutter-test-runner CCLD testboxes CCLD mutter-test-unit-tests GISCAN Meta-0.gir /usr/bin/ld: tests/monitor-unit-tests.o: undefined reference to symbol 'clutter_stage_view_get_layout' //srcbuild/mutter/clutter/clutter/.libs/libmutter-clutter-0.so: error adding symbols: DSO missing from command line collect2: error: ld returned 1 exit status Makefile:1954: recipe for target 'mutter-test-unit-tests' failed make[3]: *** [mutter-test-unit-tests] Error 1 make[3]: *** Waiting for unfinished jobs.... make[3]: Leaving directory '/srcbuild/mutter/src' Makefile:2352: recipe for target 'install-recursive' failed make[2]: *** [install-recursive] Error 1 make[2]: Leaving directory '/srcbuild/mutter/src' Makefile:2511: recipe for target 'install' failed make[1]: *** [install] Error 2 make[1]: Leaving directory '/srcbuild/mutter/src' Makefile:484: recipe for target 'install-recursive' failed make: *** [install-recursive] Error 1 PackageInstallSource finished in 7 seconds 3.24 compiles successfully Let me know if I need more info Thanks
Thanks for taking the time to report this. This particular bug has already been reported into our bug tracking system, but please feel free to report any further bugs you find. *** This bug has been marked as a duplicate of bug 782821 ***