I'll see if I can add libtool version detection to the config. I thought that -static-libtool-libs worked with the ltmain.sh that was checked into the svn.
Eric On Thu, Oct 1, 2009 at 1:49 PM, Gabor Gombas <[email protected]> wrote: > On Thu, Oct 01, 2009 at 10:48:17AM -0700, David Anderson wrote: > >> In the server VM (with current source code) >> the build in boinc/apps fails with the following error: >> >> g++: unrecognized option '-static-libtool-libs' > > Try to use "-static" instead of "-static-libtool-libs" as a workaround. > Or, even better, if you do not want shared libraries at all, just add > the "--disable-shared" option when calling ./configure. > > The meaning of "-static" changed between libtool 1.5 and libtool 2.x, > and libtool 2.x introduced "-static-libtool-libs" to provide the old > behavior. I _think_ we need the old behavior, so we may need to detect > the libtool version in configure and decide which flag to use. > >> ../lib/.libs/libboinc.so: undefined reference to 'dlopen' >> ../lib/.libs/libboinc.so: undefined reference to 'dlsym' >> collect2: ld returned 1 exit status > > In lib/Makefile.am, "-ldl" is missing from libboinc_la_LIBADD. It's part > of the patch titled "Fix the library dependencies" I've sent earlier. > > Gabor > > -- > --------------------------------------------------------- > MTA SZTAKI Computer and Automation Research Institute > Hungarian Academy of Sciences > --------------------------------------------------------- > _______________________________________________ > 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. > _______________________________________________ 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.
