That sometimes means that you need to do something to rearrange the order of items in the link step, such as placing the reference to /usr/lib/libX11.so.6 before the reference to boinc_client-hostinfo_unix.o . Rearranging the order in which the compiler handles them is often enough.
Robert Miles On 1/26/2012 2:00 PM, [email protected] wrote: > > Message: 1 > Date: Thu, 26 Jan 2012 18:27:40 +0100 > From: Christian Benjamin Ries > <[email protected]> > Subject: [boinc_dev] boinc_client-hostinfo_unix.o: undefined reference > to symbol 'XOpenDisplay' > To: [email protected] > Message-ID: > <29527_1327598860_zzh0m56zbi33_.00_4f218d0c.9080...@fh-bielefeld.de> > Content-Type: text/plain; charset="ISO-8859-1" > > > Hello, do you know how I can solve following problem? I got it during link > process of boinc_client. > /usr/bin/ld: boinc_client-hostinfo_unix.o: undefined reference to symbol > 'XOpenDisplay' > /usr/bin/ld: note: 'XOpenDisplay' is defined in DSO /usr/lib/libX11.so.6 > so > try adding it to the linker command line > /usr/lib/libX11.so.6: could not read symbols: Invalid operation > collect2: ld returned 1 exit status > The file exists: > lrwxrwxrwx 1 root root 15 2010-04-30 00:17 /usr/lib/libX11.so.6 -> > libX11.so.6.3.0 > I did: > ./configure --disable-manager&& make > I use following revision: > URL: [1]http://boinc.berkeley.edu/svn/branches/server_stable > Repository Root: [2]http://boinc.berkeley.edu/svn > Revision: 25153 > -- > Dipl.-Ing. (FH) Christian Benjamin Ries, M.Sc. > University of Applied Sciences Bielefeld > Department of Engineering Sciences and Mathematics > Computational Materials Science& Engineering (CMSE) > > Wilhelm-Bertelsmann-Str. 10, D-33602 Bielefeld > Office: 202 (WBSII) > Phone: +49 521 106-71222 > Fax: +49 521 106-71241 > Web: [3]www.christianbenjaminries.de > Blog: wp.visualgrid.de > > References > > 1. http://boinc.berkeley.edu/svn/branches/server_stable > 2. http://boinc.berkeley.edu/svn > 3. http://www.christianbenjaminries.de/ > _______________________________________________ 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.
