[Spice-devel] Spice Client Installation
Alon Levy
alevy at redhat.com
Mon Jul 19 03:30:43 PDT 2010
----- "Satish Wagh" <satishwagh at gmail.com> wrote:
> Hello,
>
> I am trying to install the spice client on LFS-based machine.
> I resolved all the dependencies as stated by the
> "spice_user_manual.pdf" file.
>
> But while doing make in spice/client directory, an error is occuring
> as:
>
>
> /mnt/hdb1/SPICE/spice-0.5.2/client/x11/./atomic_count.h:32: undefined
> reference to `__sync_sub_and_fetch_4'
> /mnt/hdb1/SPICE/spice-0.5.2/client/x11/./atomic_count.h:32: undefined
> reference to `__sync_sub_and_fetch_4'
> /mnt/hdb1/SPICE/spice-0.5.2/client/x11/./atomic_count.h:32: undefined
> reference to `__sync_sub_and_fetch_4'
> /mnt/hdb1/SPICE/spice-0.5.2/client/x11/./atomic_count.h:32: undefined
> reference to `__sync_sub_and_fetch_4'
> application.o: In function `AtomicCount::operator--()':
> /mnt/hdb1/SPICE/spice-0.5.2/client/x11/./atomic_count.h:32: undefined
> reference to `__sync_sub_and_fetch_4'
> application.o:/mnt/hdb1/SPICE/spice-0.5.2/client/x11/./atomic_count.h:32:
> more undefined references to `__sync_sub_and_fetch_4' follow
> collect2: ld returned 1 exit status
> make[5]: *** [spicec] Error 1
> make[5]: Leaving directory `/mnt/hdb1/SPICE/spice-0.5.2/client/x11'
> make[4]: *** [all-recursive] Error 1
> make[4]: Leaving directory `/mnt/hdb1/SPICE/spice-0.5.2/client/x11'
> make[3]: *** [all-recursive] Error 1
> make[3]: Leaving directory `/mnt/hdb1/SPICE/spice-0.5.2/client'
> make[2]: *** [all] Error 2
>
>
> I do not find any reference to the "__sync_sub_and_fetch_4".
>
>
> I installed the Spice server on Fedora-12, and The installation was
> fine as per the expectation.
>
>
> I tried the version 0.4.0 and 0.5.2, for both I stuck at the same
> place.
>
> Please guide me for further installation process.
>
>
> Thanks and Regards,
> Satish
>
Those are functions that are provided by gcc on architectures that spice is
supported (x86_64 / x86). What architecture are you running on? what does uname -a say? Possibly
you have gcc compiled without support for this. What gcc version are you using?
> _______________________________________________
> Spice-devel mailing list
> Spice-devel at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/spice-devel
More information about the Spice-devel
mailing list