Thanks; I committed this.
- David
On 16-Jan-2013 6:18 AM, GUO Yixuan wrote:
> Hi,
>
> BOINC client fails to build with ld.gold as default linker. The reason
> is that gold doesn't resolve symbols in indirect dependent shared
> libraries, while client/hostinfo_unix.cpp calls XOpenDisplay() if
> HAVE_XSS is true.
>
> Thus, "-lX11" is needed for linking. This can be fixed by patching
> configure.ac:
>
> Index: boinc/configure.ac
> ===================================================================
> --- boinc.orig/configure.ac
> +++ boinc/configure.ac
> @@ -851,6 +851,9 @@
> SAH_CHECK_LIB([Xss],[XScreenSaverAllocInfo],[
> AC_DEFINE([HAVE_XSS],[1],[Define to 1 if you have xss library])
> CLIENTLIBS="${sah_lib_last} ${CLIENTLIBS}"])
> + SAH_CHECK_LIB([X11],[XOpenDisplay],[
> + AC_DEFINE([HAVE_X11],[1],[Define to 1 if you have X11 library])
> + CLIENTLIBS="${sah_lib_last} ${CLIENTLIBS}"])
> echo DEBUG: CLIENTLIBS=${CLIENTLIBS} >&5
> fi
>
>
> Regards,
>
> GUO Yixuan
>
_______________________________________________
boinc_dev mailing list
[email protected]
http://lists.ssl.berkeley.edu/mailman/listinfo/boinc_dev
To unsubscribe, visit the above URL and
(near bottom of page) enter your email address.