#3582 closed defect (fixed)
Tripwire-2.2.4.2 and GCC-4.7.0 make problem
Reported by: | Arthur Radley | Owned by: | |
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | BOOK | Version: | SVN |
Severity: | normal | Keywords: | Tripwire GCC |
Cc: |
Description
At least I think it's a GCC-4.7 issue. There is no shortage of jabber on the Internet about it with Debian, Gentoo, OpenSUSE. Anyway, some help with this in the current book will be appreciated.
make[3]: Entering directory `/sources/tripwire-2.4.2.2-src/src/cryptlib' g++ -DHAVE_CONFIG_H -I.. -I../.. -O -pipe -Wall -Wno-non-virtual-dtor -c -o integer.o integer.cpp integer.cpp: In function 'void MontgomeryReduce(word*, word*, const word*, const word*, const word*, unsigned int)': integer.cpp:743:8: warning: unused variable 'carry' [-Wunused-variable] integer.cpp: In function 'void CorrectQuotientEstimate(word*, word*, word&, word&, const word*, unsigned int)': integer.cpp:903:7: warning: unused variable 'borrow' [-Wunused-variable] integer.cpp: In member function 'Integer& Integer::operator++()': integer.cpp:1617:8: warning: unused variable 'borrow' [-Wunused-variable] In file included from modarith.h:9:0, from integer.cpp:5: algebra.h: In instantiation of 'T AbstractEuclideanDomain<T>::Gcd(const Element&, const Element&) const [with T = Integer; AbstractEuclideanDomain<T>::Element = Integer]': integer.cpp:2111:46: required from here algebra.h:276:2: error: 'Equal' was not declared in this scope, and no declarations were found by argument-dependent lookup at the point of instantiation [-fpermissive] algebra.h:276:2: note: declarations in dependent base 'AbstractGroup<Integer>' are not found by unqualified lookup algebra.h:276:2: note: use 'this->Equal' instead make[3]: *** [integer.o] Error 1 make[3]: Leaving directory `/sources/tripwire-2.4.2.2-src/src/cryptlib' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/sources/tripwire-2.4.2.2-src/src' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/sources/tripwire-2.4.2.2-src' make: *** [all] Error 2
Change History (5)
comment:1 by , 12 years ago
comment:3 by , 12 years ago
Thank you! That fixed the second issue, and tripwire compiled and installed normally.
Note:
See TracTickets
for help on using tickets.
Okay. I got past that algebra.h thing by substituting this->Equal for Equal in line 276. But another thing came up in /src/twadmin/twadmincl.cpp. Now for this one, I'm in over my head.