Message boards : API : Compile error question- AM_PROG_CC_C_O & XML_PARSER
Message board moderation
Author | Message |
---|---|
Send message Joined: 26 Dec 06 Posts: 26 |
Trying to compile boinc client/client_gui for linux x86_64. I think I must be missing something, but don't know what. Happens on v 5.10.8 (my initial target), 5.10.20, and current. Any help would be appreciated. Q1) ./autosetup returns: sched/Makefile.am:177: compiling `md5.c' with per-target flags requires `AM_PROG_CC_C_O' in `configure.ac' Q2) make returns: boinc_client-acct_mgr.o: In function `ACCT_MGR_INFO::parse_login_file(_IO_FILE*)': /MC/src/boinc/client/acct_mgr.C:611: undefined reference to `XML_PARSER::skip_unexpected(char const*, bool, char const*)' boinc_client-acct_mgr.o: In function `ACCT_MGR_INFO::init()': /MC/src/boinc/client/acct_mgr.C:649: undefined reference to `XML_PARSER::skip_unexpected(char const*, bool, char const*)' boinc_client-acct_mgr.o: In function `AM_ACCOUNT::parse(XML_PARSER&)': /MC/src/boinc/client/acct_mgr.C:246: undefined reference to `XML_PARSER::skip_unexpected(char const*, bool, char const*)' boinc_client-acct_mgr.o: In function `ACCT_MGR_OP::parse(_IO_FILE*)': /MC/src/boinc/client/acct_mgr.C:323: undefined reference to `XML_PARSER::skip_unexpected(char const*, bool, char const*)' boinc_client-acct_setup.o: In function `CREATE_ACCOUNT_OP::handle_reply(int)': .. then errors out |
Send message Joined: 19 Jan 07 Posts: 1179 |
How did you download the code? What are the commands you used to compile? (especially the ./configure line) |
Send message Joined: 26 Dec 06 Posts: 26 |
How did you download the code? What are the commands you used to compile? (especially the ./configure line) a) Tried code from: $ svn co http://boinc.berkeley.edu/svn/tags/boinc_core_release_5_10_8 $ svn co http://boinc.berkeley.edu/svn/tags/boinc_core_release_5_10_20 $ svn co http://boinc.berkeley.edu/svn/trunk/boinc all 3 failed the same. b) After $ ./_autosetup, config was run with: $ ./configure --disable-server --enable-client $ ./configure --disable-server --enable-client --enable-maintainer-mode both caused errors by $ make. rather than make a ridiculously long post, I placed the config & make outputs on the web: config.log : config.log make.log : make.log |
Send message Joined: 6 May 06 Posts: 287 |
Trying to compile boinc client/client_gui for linux x86_64. I think I must be missing something, but don't know what. Q1 is normal - nothing to worry about Q2 - I just checked out revision 13637 (trunk) on one of my 64bit gentoo boxes and compiled it with no problems using ./_autosetup ./configure --disable-server --enable-client CXXFLAGS="-O3 -funroll-loops -fforce-addr -ffast-math" make If this is on your Arch linux box the problem may be due to the recent problems we had in gentoo where a change in the ABI of libexpat broke a few things - one of them was XML-Parser - as Arch is a derivative of gentoo your errors may be related to this. Check for an update of XML-Parser and expat. Sorry I'm not familiar with Arch, just know that it's a gentoo spinoff, but I can point you to relevant threads on the gentoo boards that deal with the libexpat problems if you think that may help. CIC1=CC=C(C2=N[C@@H](CC(OC(C)(C)C)=O)C3=NN=C(C)N3C4=C2C(C)=C(C)S4)C=C1 |
Send message Joined: 19 Jan 07 Posts: 1179 |
If this is on your Arch linux box the problem may be due to the recent problems we had in gentoo where a change in the ABI of libexpat broke a few things - one of them was XML-Parser - as Arch is a derivative of gentoo your errors may be related to this. Check for an update of XML-Parser and expat. Sorry I'm not familiar with Arch, just know that it's a gentoo spinoff, but I can point you to relevant threads on the gentoo boards that deal with the libexpat problems if you think that may help. BOINC doesn't use expat as far as I know. |
Send message Joined: 6 May 06 Posts: 287 |
If this is on your Arch linux box the problem may be due to the recent problems we had in gentoo where a change in the ABI of libexpat broke a few things - one of them was XML-Parser - as Arch is a derivative of gentoo your errors may be related to this. Check for an update of XML-Parser and expat. Sorry I'm not familiar with Arch, just know that it's a gentoo spinoff, but I can point you to relevant threads on the gentoo boards that deal with the libexpat problems if you think that may help. XML-Parser does though, and when we had this problem in gentoo the solution was to recompile XML-Parser against the upgraded expat. The symptoms of the problem showed when compiling a package and XML-Parser was required as part of the build process - the build would fail - referring to problems with XML-Parser - similar to the errors that ohiomike posted - which at first glance would lead you to believe that the problem was with the source being compiled, when it was actually XML-Parser was broken (due to the change in expat). I'm not saying that this is definitely ohiomike's problem, but it certainly looks reminiscent. CIC1=CC=C(C2=N[C@@H](CC(OC(C)(C)C)=O)C3=NN=C(C)N3C4=C2C(C)=C(C)S4)C=C1 |
Copyright © 2024 University of California.
Permission is granted to copy, distribute and/or modify this document
under the terms of the GNU Free Documentation License,
Version 1.2 or any later version published by the Free Software Foundation.