Hello,
My name is Chris and I'm want to use xloops/ginac/cln to perform a QCD two-loop fermion self-energy calculation.
I'm having trouble building ginac/cln on a linux platform. Based on the on-screen indications and my perusal of the config.log's I'm guessing I'm not correctly linking to a library required for conftest.c or confdefs.h... an uneducated guess. I've attached the config.log files for cln and ginac. I've also attached a .txt file with the on-screen error messages.
Any assitance would be appreciated. Thanks in advance.
-Chris Bouchard
[cbouchrd@lx6 ~/GiNaC]$ make
make all-recursive
make[1]: Entering directory `/home/theorist/cbouchrd/GiNaC'
Making all in ginac
make[2]: Entering directory `/home/theorist/cbouchrd/GiNaC/ginac'
if /bin/sh ../libtool --mode=compile --tag=CXX g++ -DHAVE_CONFIG_H -I. -I. -I.. -I/home/theorist/cbouchrd/local/include -g -O2 -MT numeric.lo -MD -MP -MF ".deps/numeric.Tpo" -c -o numeric.lo numeric.cpp; \
then mv -f ".deps/numeric.Tpo" ".deps/numeric.Plo"; else rm -f ".deps/numeric.Tpo"; exit 1; fi
g++ -DHAVE_CONFIG_H -I. -I. -I.. -I/home/theorist/cbouchrd/local/include -g -O2 -MT numeric.lo -MD -MP -MF .deps/numeric.Tpo -c numeric.cpp -fPIC -DPIC -o .libs/numeric.o
In file included from numeric.cpp:48:
/home/theorist/cbouchrd/local/include/cln/output.h:18: error: `cl_boolean' does not name a type
/home/theorist/cbouchrd/local/include/cln/output.h: In constructor `cln::cl_print_rational_flags::cl_print_rational_flags()':
/home/theorist/cbouchrd/local/include/cln/output.h:22: error: class `cln::cl_print_rational_flags' does not have any field named `rational_readably'
/home/theorist/cbouchrd/local/include/cln/output.h:22: error: `cl_false' was not declared in this scope
/home/theorist/cbouchrd/local/include/cln/output.h: At global scope:
/home/theorist/cbouchrd/local/include/cln/output.h:27: error: `cl_boolean' does not name a type
/home/theorist/cbouchrd/local/include/cln/output.h: In constructor `cln::cl_print_float_flags::cl_print_float_flags()':
/home/theorist/cbouchrd/local/include/cln/output.h:32: error: class `cln::cl_print_float_flags' does not have any field named `float_readably'
/home/theorist/cbouchrd/local/include/cln/output.h:32: error: `cl_false' was not declared in this scope
/home/theorist/cbouchrd/local/include/cln/output.h: At global scope:
/home/theorist/cbouchrd/local/include/cln/output.h:40: error: `cl_boolean' does not name a type
/home/theorist/cbouchrd/local/include/cln/output.h: In constructor `cln::cl_print_complex_flags::cl_print_complex_flags()':
/home/theorist/cbouchrd/local/include/cln/output.h:43: error: class `cln::cl_print_complex_flags' does not have any field named `complex_readably'
/home/theorist/cbouchrd/local/include/cln/output.h:43: error: `cl_false' was not declared in this scope
In file included from /home/theorist/cbouchrd/local/include/cln/integer_ring.h:6,
from numeric.cpp:50:
/home/theorist/cbouchrd/local/include/cln/ring.h: At global scope:
/home/theorist/cbouchrd/local/include/cln/ring.h:160: error: expected identifier before '*' token
/home/theorist/cbouchrd/local/include/cln/ring.h:160: error: ISO C++ forbids declaration of `cl_boolean' with no type
/home/theorist/cbouchrd/local/include/cln/ring.h:160: error: `cl_boolean' declared as function returning a function
/home/theorist/cbouchrd/local/include/cln/ring.h:160: error: ISO C++ forbids declaration of `equal' with no type
/home/theorist/cbouchrd/local/include/cln/ring.h:166: error: expected identifier before '*' token
/home/theorist/cbouchrd/local/include/cln/ring.h:166: error: ISO C++ forbids declaration of `cl_boolean' with no type
/home/theorist/cbouchrd/local/include/cln/ring.h:166: error: `cl_boolean' declared as function returning a function
/home/theorist/cbouchrd/local/include/cln/ring.h:166: error: ISO C++ forbids declaration of `zerop' with no type
/home/theorist/cbouchrd/local/include/cln/ring.h:213: error: `cl_boolean' does not name a type
/home/theorist/cbouchrd/local/include/cln/ring.h:217: error: `cl_boolean' does not name a type
/home/theorist/cbouchrd/local/include/cln/ring.h:241: error: `cl_boolean' does not name a type
/home/theorist/cbouchrd/local/include/cln/ring.h:251: error: `cl_boolean' does not name a type
/home/theorist/cbouchrd/local/include/cln/ring.h: In function `bool cln::operator==(const cln::cl_ring_element&, const cln::cl_ring_element&)':
/home/theorist/cbouchrd/local/include/cln/ring.h:335: error: 'class cln::cl_heap_ring' has no member named 'equal'
/home/theorist/cbouchrd/local/include/cln/ring.h: In function `bool cln::operator!=(const cln::cl_ring_element&, const cln::cl_ring_element&)':
/home/theorist/cbouchrd/local/include/cln/ring.h:337: error: 'class cln::cl_heap_ring' has no member named 'equal'
/home/theorist/cbouchrd/local/include/cln/ring.h: At global scope:
/home/theorist/cbouchrd/local/include/cln/ring.h:340: error: `cl_boolean' does not name a type
/home/theorist/cbouchrd/local/include/cln/ring.h:385: error: expected identifier before '*' token
/home/theorist/cbouchrd/local/include/cln/ring.h:385: error: ISO C++ forbids declaration of `cl_boolean' with no type
/home/theorist/cbouchrd/local/include/cln/ring.h:385: error: `cl_boolean' declared as function returning a function
/home/theorist/cbouchrd/local/include/cln/ring.h:385: error: ISO C++ forbids declaration of `contains' with no type
/home/theorist/cbouchrd/local/include/cln/ring.h:386: error: expected identifier before '*' token
/home/theorist/cbouchrd/local/include/cln/ring.h:386: error: ISO C++ forbids declaration of `cl_boolean' with no type
/home/theorist/cbouchrd/local/include/cln/ring.h:386: error: `cl_boolean' declared as function returning a function
/home/theorist/cbouchrd/local/include/cln/ring.h:386: error: ISO C++ forbids declaration of `equal' with no type
/home/theorist/cbouchrd/local/include/cln/ring.h:387: error: expected identifier before '*' token
/home/theorist/cbouchrd/local/include/cln/ring.h:387: error: ISO C++ forbids declaration of `cl_boolean' with no type
/home/theorist/cbouchrd/local/include/cln/ring.h:387: error: `cl_boolean' declared as function returning a function
/home/theorist/cbouchrd/local/include/cln/ring.h:387: error: ISO C++ forbids declaration of `zerop' with no type
/home/theorist/cbouchrd/local/include/cln/ring.h:416: error: `cl_boolean' does not name a type
In file included from /home/theorist/cbouchrd/local/include/cln/rational_io.h:7,
from numeric.cpp:51:
/home/theorist/cbouchrd/local/include/cln/rational.h:75: error: `cl_boolean' does not name a type
/home/theorist/cbouchrd/local/include/cln/rational.h:97: error: `cl_boolean' does not name a type
/home/theorist/cbouchrd/local/include/cln/rational.h:100: error: `cl_boolean' does not name a type
/home/theorist/cbouchrd/local/include/cln/rational.h:103: error: `cl_boolean' does not name a type
/home/theorist/cbouchrd/local/include/cln/rational.h:232: error: `cl_boolean' does not name a type
/home/theorist/cbouchrd/local/include/cln/rational.h:241: error: `cl_boolean' does not name a type
/home/theorist/cbouchrd/local/include/cln/rational.h:242: error: `cl_boolean' does not name a type
/home/theorist/cbouchrd/local/include/cln/rational.h:251: error: `cl_boolean' does not name a type
/home/theorist/cbouchrd/local/include/cln/rational.h:260: error: `cl_boolean' does not name a type
In file included from numeric.cpp:53:
/home/theorist/cbouchrd/local/include/cln/lfloat_class.h:18: error: `cl_boolean' does not name a type
In file included from /home/theorist/cbouchrd/local/include/cln/float.h:11,
from /home/theorist/cbouchrd/local/include/cln/lfloat.h:9,
from /home/theorist/cbouchrd/local/include/cln/lfloat_io.h:7,
from numeric.cpp:54:
/home/theorist/cbouchrd/local/include/cln/sfloat_class.h:18: error: `cl_boolean' does not name a type
In file included from /home/theorist/cbouchrd/local/include/cln/float.h:12,
from /home/theorist/cbouchrd/local/include/cln/lfloat.h:9,
from /home/theorist/cbouchrd/local/include/cln/lfloat_io.h:7,
from numeric.cpp:54:
/home/theorist/cbouchrd/local/include/cln/ffloat_class.h:18: error: `cl_boolean' does not name a type
In file included from /home/theorist/cbouchrd/local/include/cln/float.h:13,
from /home/theorist/cbouchrd/local/include/cln/lfloat.h:9,
from /home/theorist/cbouchrd/local/include/cln/lfloat_io.h:7,
from numeric.cpp:54:
/home/theorist/cbouchrd/local/include/cln/dfloat_class.h:18: error: `cl_boolean' does not name a type
In file included from /home/theorist/cbouchrd/local/include/cln/lfloat.h:9,
from /home/theorist/cbouchrd/local/include/cln/lfloat_io.h:7,
from numeric.cpp:54:
/home/theorist/cbouchrd/local/include/cln/float.h:33: error: `cl_boolean' does not name a type
/home/theorist/cbouchrd/local/include/cln/float.h:36: error: `cl_boolean' does not name a type
/home/theorist/cbouchrd/local/include/cln/float.h:39: error: `cl_boolean' does not name a type
/home/theorist/cbouchrd/local/include/cln/float.h:693: error: `cl_boolean' does not name a type
In file included from /home/theorist/cbouchrd/local/include/cln/lfloat_io.h:7,
from numeric.cpp:54:
/home/theorist/cbouchrd/local/include/cln/lfloat.h:40: error: `cl_boolean' does not name a type
/home/theorist/cbouchrd/local/include/cln/lfloat.h:43: error: `cl_boolean' does not name a type
/home/theorist/cbouchrd/local/include/cln/lfloat.h:46: error: `cl_boolean' does not name a type
In file included from /home/theorist/cbouchrd/local/include/cln/real_io.h:7,
from numeric.cpp:55:
/home/theorist/cbouchrd/local/include/cln/real.h:20: error: `cl_boolean' does not name a type
/home/theorist/cbouchrd/local/include/cln/real.h:23: error: `cl_boolean' does not name a type
/home/theorist/cbouchrd/local/include/cln/real.h:26: error: `cl_boolean' does not name a type
/home/theorist/cbouchrd/local/include/cln/real.h:316: error: `cl_boolean' does not name a type
In file included from /home/theorist/cbouchrd/local/include/cln/numtheory.h:7,
from numeric.cpp:59:
/home/theorist/cbouchrd/local/include/cln/integer.h:126: error: `cl_boolean' does not name a type
/home/theorist/cbouchrd/local/include/cln/integer.h:130: error: `cl_boolean' does not name a type
/home/theorist/cbouchrd/local/include/cln/integer.h:131: error: `cl_boolean' does not name a type
/home/theorist/cbouchrd/local/include/cln/integer.h:135: error: `cl_boolean' does not name a type
/home/theorist/cbouchrd/local/include/cln/integer.h:139: error: `cl_boolean' does not name a type
/home/theorist/cbouchrd/local/include/cln/integer.h:243: error: `cl_boolean' does not name a type
/home/theorist/cbouchrd/local/include/cln/integer.h:265: error: `cl_boolean' does not name a type
/home/theorist/cbouchrd/local/include/cln/integer.h:268: error: `cl_boolean' does not name a type
/home/theorist/cbouchrd/local/include/cln/integer.h:271: error: `cl_boolean' does not name a type
/home/theorist/cbouchrd/local/include/cln/integer.h:288: error: `cl_boolean' does not name a type
/home/theorist/cbouchrd/local/include/cln/integer.h:462: error: `cl_boolean' does not name a type
/home/theorist/cbouchrd/local/include/cln/integer.h: In function `const cln::cl_I cln::isqrt(const cln::cl_I&)':
/home/theorist/cbouchrd/local/include/cln/integer.h:464: error: too many arguments to function `const cln::cl_I cln::isqrt(const cln::cl_I&)'
/home/theorist/cbouchrd/local/include/cln/integer.h:464: error: at this point in file
/home/theorist/cbouchrd/local/include/cln/integer.h: At global scope:
/home/theorist/cbouchrd/local/include/cln/integer.h:471: error: `cl_boolean' does not name a type
/home/theorist/cbouchrd/local/include/cln/integer.h:479: error: `cl_boolean' does not name a type
/home/theorist/cbouchrd/local/include/cln/integer.h:480: error: `cl_boolean' does not name a type
In file included from /home/theorist/cbouchrd/local/include/cln/numtheory.h:8,
from numeric.cpp:59:
/home/theorist/cbouchrd/local/include/cln/modinteger.h:156: error: expected identifier before '*' token
/home/theorist/cbouchrd/local/include/cln/modinteger.h:156: error: ISO C++ forbids declaration of `cl_boolean' with no type
/home/theorist/cbouchrd/local/include/cln/modinteger.h:156: error: `cl_boolean' declared as function returning a function
/home/theorist/cbouchrd/local/include/cln/modinteger.h:156: error: ISO C++ forbids declaration of `equal' with no type
/home/theorist/cbouchrd/local/include/cln/modinteger.h:163: error: expected identifier before '*' token
/home/theorist/cbouchrd/local/include/cln/modinteger.h:163: error: ISO C++ forbids declaration of `cl_boolean' with no type
/home/theorist/cbouchrd/local/include/cln/modinteger.h:163: error: `cl_boolean' declared as function returning a function
/home/theorist/cbouchrd/local/include/cln/modinteger.h:163: error: ISO C++ forbids declaration of `zerop' with no type
/home/theorist/cbouchrd/local/include/cln/modinteger.h:219: error: `cl_boolean' does not name a type
/home/theorist/cbouchrd/local/include/cln/modinteger.h:225: error: `cl_boolean' does not name a type
/home/theorist/cbouchrd/local/include/cln/modinteger.h:259: error: `cl_boolean' does not name a type
/home/theorist/cbouchrd/local/include/cln/modinteger.h:273: error: `cl_boolean' does not name a type
/home/theorist/cbouchrd/local/include/cln/modinteger.h: In function `bool cln::operator==(const cln::cl_MI&, const cln::cl_MI&)':
/home/theorist/cbouchrd/local/include/cln/modinteger.h:397: error: 'class cln::cl_heap_modint_ring' has no member named 'equal'
/home/theorist/cbouchrd/local/include/cln/modinteger.h: In function `bool cln::operator!=(const cln::cl_MI&, const cln::cl_MI&)':
/home/theorist/cbouchrd/local/include/cln/modinteger.h:399: error: 'class cln::cl_heap_modint_ring' has no member named 'equal'
/home/theorist/cbouchrd/local/include/cln/modinteger.h: In function `bool cln::operator==(const cln::cl_MI&, const cln::cl_I&)':
/home/theorist/cbouchrd/local/include/cln/modinteger.h:401: error: 'class cln::cl_heap_modint_ring' has no member named 'equal'
/home/theorist/cbouchrd/local/include/cln/modinteger.h: In function `bool cln::operator!=(const cln::cl_MI&, const cln::cl_I&)':
/home/theorist/cbouchrd/local/include/cln/modinteger.h:403: error: 'class cln::cl_heap_modint_ring' has no member named 'equal'
/home/theorist/cbouchrd/local/include/cln/modinteger.h: In function `bool cln::operator==(const cln::cl_I&, const cln::cl_MI&)':
/home/theorist/cbouchrd/local/include/cln/modinteger.h:405: error: 'class cln::cl_heap_modint_ring' has no member named 'equal'
/home/theorist/cbouchrd/local/include/cln/modinteger.h: In function `bool cln::operator!=(const cln::cl_I&, const cln::cl_MI&)':
/home/theorist/cbouchrd/local/include/cln/modinteger.h:407: error: 'class cln::cl_heap_modint_ring' has no member named 'equal'
/home/theorist/cbouchrd/local/include/cln/modinteger.h: At global scope:
/home/theorist/cbouchrd/local/include/cln/modinteger.h:410: error: `cl_boolean' does not name a type
In file included from numeric.cpp:59:
/home/theorist/cbouchrd/local/include/cln/numtheory.h:24: error: `cl_boolean' does not name a type
numeric.cpp: In function `void GiNaC::print_real_number(const GiNaC::print_context&, const cln::cl_R&)':
numeric.cpp:332: error: `instanceof' is not a member of `cln'
numeric.cpp:334: error: `instanceof' is not a member of `cln'
numeric.cpp: In function `void GiNaC::print_real_csrc(const GiNaC::print_context&, const cln::cl_R&)':
numeric.cpp:374: error: `instanceof' is not a member of `cln'
numeric.cpp:379: error: `instanceof' is not a member of `cln'
numeric.cpp:384: error: `plusp' is not a member of `cln'
numeric.cpp: In function `bool GiNaC::coerce(T1&, const T2&) [with T1 = unsigned int, T2 = cln::cl_I]':
numeric.cpp:429: error: `minusp' was not declared in this scope
numeric.cpp: In function `void GiNaC::print_real_cl_N(const GiNaC::print_context&, const cln::cl_R&)':
numeric.cpp:441: error: `instanceof' is not a member of `cln'
numeric.cpp:457: error: `instanceof' is not a member of `cln'
numeric.cpp: In member function `const GiNaC::numeric GiNaC::numeric::power(const GiNaC::numeric&) const':
numeric.cpp:850: error: `minusp' is not a member of `cln'
numeric.cpp: In member function `const GiNaC::numeric& GiNaC::numeric::power_dyn(const GiNaC::numeric&) const':
numeric.cpp:947: error: `minusp' is not a member of `cln'
numeric.cpp: In member function `GiNaC::numeric GiNaC::numeric::step() const':
numeric.cpp:1009: error: `plusp' is not a member of `cln'
numeric.cpp: In member function `int GiNaC::numeric::csgn() const':
numeric.cpp:1025: error: `plusp' is not a member of `cln'
numeric.cpp:1030: error: `plusp' is not a member of `cln'
numeric.cpp: In member function `int GiNaC::numeric::compare(const GiNaC::numeric&) const':
numeric.cpp:1048: error: `instanceof' is not a member of `cln'
numeric.cpp:1049: error: `instanceof' is not a member of `cln'
numeric.cpp: In member function `bool GiNaC::numeric::is_positive() const':
numeric.cpp:1079: error: `instanceof' is not a member of `cln'
numeric.cpp:1080: error: `plusp' is not a member of `cln'
numeric.cpp: In member function `bool GiNaC::numeric::is_negative() const':
numeric.cpp:1088: error: `instanceof' is not a member of `cln'
numeric.cpp:1089: error: `minusp' is not a member of `cln'
numeric.cpp: In member function `bool GiNaC::numeric::is_integer() const':
numeric.cpp:1097: error: `instanceof' is not a member of `cln'
numeric.cpp: In member function `bool GiNaC::numeric::is_pos_integer() const':
numeric.cpp:1104: error: `instanceof' is not a member of `cln'
numeric.cpp:1104: error: `plusp' is not a member of `cln'
numeric.cpp: In member function `bool GiNaC::numeric::is_nonneg_integer() const':
numeric.cpp:1111: error: `instanceof' is not a member of `cln'
numeric.cpp:1111: error: `minusp' is not a member of `cln'
numeric.cpp: In member function `bool GiNaC::numeric::is_even() const':
numeric.cpp:1118: error: `instanceof' is not a member of `cln'
numeric.cpp:1118: error: `evenp' is not a member of `cln'
numeric.cpp: In member function `bool GiNaC::numeric::is_odd() const':
numeric.cpp:1125: error: `instanceof' is not a member of `cln'
numeric.cpp:1125: error: `oddp' is not a member of `cln'
numeric.cpp: In member function `bool GiNaC::numeric::is_prime() const':
numeric.cpp:1134: error: `instanceof' is not a member of `cln'
numeric.cpp:1135: error: `plusp' is not a member of `cln'
numeric.cpp:1136: error: `isprobprime' is not a member of `cln'
numeric.cpp: In member function `bool GiNaC::numeric::is_rational() const':
numeric.cpp:1144: error: `instanceof' is not a member of `cln'
numeric.cpp: In member function `bool GiNaC::numeric::is_real() const':
numeric.cpp:1151: error: `instanceof' is not a member of `cln'
numeric.cpp: In member function `bool GiNaC::numeric::is_cinteger() const':
numeric.cpp:1171: error: `instanceof' is not a member of `cln'
numeric.cpp:1174: error: `instanceof' is not a member of `cln'
numeric.cpp:1175: error: `instanceof' is not a member of `cln'
numeric.cpp: In member function `bool GiNaC::numeric::is_crational() const':
numeric.cpp:1186: error: `instanceof' is not a member of `cln'
numeric.cpp:1189: error: `instanceof' is not a member of `cln'
numeric.cpp:1190: error: `instanceof' is not a member of `cln'
numeric.cpp: In member function `const GiNaC::numeric GiNaC::numeric::numer() const':
numeric.cpp:1299: error: `instanceof' is not a member of `cln'
numeric.cpp:1302: error: `instanceof' is not a member of `cln'
numeric.cpp:1308: error: `instanceof' is not a member of `cln'
numeric.cpp:1308: error: `instanceof' is not a member of `cln'
numeric.cpp:1310: error: `instanceof' is not a member of `cln'
numeric.cpp:1310: error: `instanceof' is not a member of `cln'
numeric.cpp:1312: error: `instanceof' is not a member of `cln'
numeric.cpp:1312: error: `instanceof' is not a member of `cln'
numeric.cpp:1314: error: `instanceof' is not a member of `cln'
numeric.cpp:1314: error: `instanceof' is not a member of `cln'
numeric.cpp: In member function `const GiNaC::numeric GiNaC::numeric::denom() const':
numeric.cpp:1330: error: `instanceof' is not a member of `cln'
numeric.cpp:1333: error: `instanceof' is not a member of `cln'
numeric.cpp:1339: error: `instanceof' is not a member of `cln'
numeric.cpp:1339: error: `instanceof' is not a member of `cln'
numeric.cpp:1341: error: `instanceof' is not a member of `cln'
numeric.cpp:1341: error: `instanceof' is not a member of `cln'
numeric.cpp:1343: error: `instanceof' is not a member of `cln'
numeric.cpp:1343: error: `instanceof' is not a member of `cln'
numeric.cpp:1345: error: `instanceof' is not a member of `cln'
numeric.cpp:1345: error: `instanceof' is not a member of `cln'
numeric.cpp: In member function `int GiNaC::numeric::int_length() const':
numeric.cpp:1361: error: `instanceof' is not a member of `cln'
numeric.cpp: In function `const GiNaC::numeric GiNaC::fibonacci(const GiNaC::numeric&)':
numeric.cpp:2202: error: `logbitp' is not a member of `cln'
numeric.cpp: In function `const GiNaC::numeric GiNaC::isqrt(const GiNaC::numeric&)':
/home/theorist/cbouchrd/local/include/cln/integer.h:464: error: too many arguments to function `const cln::cl_I cln::isqrt(const cln::cl_I&)'
numeric.cpp:2388: error: at this point in file
make[2]: *** [numeric.lo] Error 1
make[2]: Leaving directory `/home/theorist/cbouchrd/GiNaC/ginac'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/theorist/cbouchrd/GiNaC'
make: *** [all] Error 2
[cbouchrd@lx6 ~/GiNaC]$