Compile error question- AM_PROG_CC_C_O & XML_PARSER

Message boards : API : Compile error question- AM_PROG_CC_C_O & XML_PARSER
Message board moderation

To post messages, you must log in.

AuthorMessage
ohiomike
Avatar

Send message
Joined: 26 Dec 06
Posts: 26
United States
Message 12697 - Posted: 23 Sep 2007, 1:07:31 UTC
Last modified: 23 Sep 2007, 1:10:59 UTC

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

ID: 12697 · Report as offensive
Nicolas

Send message
Joined: 19 Jan 07
Posts: 1174
Argentina
Message 12699 - Posted: 23 Sep 2007, 3:09:54 UTC

How did you download the code? What are the commands you used to compile? (especially the ./configure line)
ID: 12699 · Report as offensive
ohiomike
Avatar

Send message
Joined: 26 Dec 06
Posts: 26
United States
Message 12702 - Posted: 23 Sep 2007, 9:23:48 UTC - in response to Message 12699.  

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



ID: 12702 · Report as offensive
Profile Trog Dog
Avatar

Send message
Joined: 6 May 06
Posts: 287
Australia
Message 12707 - Posted: 23 Sep 2007, 14:42:52 UTC - in response to Message 12697.  
Last modified: 23 Sep 2007, 14:44:34 UTC

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


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
ID: 12707 · Report as offensive
Nicolas

Send message
Joined: 19 Jan 07
Posts: 1174
Argentina
Message 12710 - Posted: 23 Sep 2007, 20:15:40 UTC - in response to Message 12707.  

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.
ID: 12710 · Report as offensive
Profile Trog Dog
Avatar

Send message
Joined: 6 May 06
Posts: 287
Australia
Message 12711 - Posted: 23 Sep 2007, 22:27:21 UTC - in response to Message 12710.  

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.


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
ID: 12711 · Report as offensive

Message boards : API : Compile error question- AM_PROG_CC_C_O & XML_PARSER

Copyright © 2021 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.