guerrerolor / android-x86

Automatically exported from code.google.com/p/android-x86
2 stars 1 forks source link

Cannot compile (GCC 4.4.6) #909

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
I have GCC 4.4.6 running on ArchLinux x86_64.

And:

[...]
external/srec/tools/thirdparty/OpenFst/fst/lib/factor-weight.h:364:68:   
required from 'size_t fst::FactorWeightFst<A, 
F>::NumArcs(fst::FactorWeightFst<A, F>::StateId) const [with A = 
fst::GallicArc<fst::StdArc, (fst::StringType)2u>; F = fst::GallicFactor<int, 
fst::TropicalWeight, (fst::StringType)2u>; size_t = unsigned int; 
fst::FactorWeightFst<A, F>::StateId = int]'
external/srec/tools/grxmlcompile/grxmlcompile.cpp:938:1:   required from here
external/srec/tools/thirdparty/OpenFst/fst/lib/factor-weight.h:266:11: error: 
'AddArc' was not declared in this scope, and no declarations were found by 
argument-dependent lookup at the point of instantiation [-fpermissive]
external/srec/tools/thirdparty/OpenFst/fst/lib/factor-weight.h:266:11: note: 
declarations in dependent base 
'fst::CacheBaseImpl<fst::CacheState<fst::GallicArc<fst::StdArc, 
(fst::StringType)2u> > >' are not found by unqualified lookup
external/srec/tools/thirdparty/OpenFst/fst/lib/factor-weight.h:266:11: note: 
use 'this->AddArc' instead
external/srec/tools/thirdparty/OpenFst/fst/lib/factor-weight.h:272:13: error: 
'AddArc' was not declared in this scope, and no declarations were found by 
argument-dependent lookup at the point of instantiation [-fpermissive]
external/srec/tools/thirdparty/OpenFst/fst/lib/factor-weight.h:272:13: note: 
declarations in dependent base 
'fst::CacheBaseImpl<fst::CacheState<fst::GallicArc<fst::StdArc, 
(fst::StringType)2u> > >' are not found by unqualified lookup
external/srec/tools/thirdparty/OpenFst/fst/lib/factor-weight.h:272:13: note: 
use 'this->AddArc' instead
external/srec/tools/thirdparty/OpenFst/fst/lib/factor-weight.h:288:9: error: 
'AddArc' was not declared in this scope, and no declarations were found by 
argument-dependent lookup at the point of instantiation [-fpermissive]
external/srec/tools/thirdparty/OpenFst/fst/lib/factor-weight.h:288:9: note: 
declarations in dependent base 
'fst::CacheBaseImpl<fst::CacheState<fst::GallicArc<fst::StdArc, 
(fst::StringType)2u> > >' are not found by unqualified lookup
external/srec/tools/thirdparty/OpenFst/fst/lib/factor-weight.h:288:9: note: use 
'this->AddArc' instead
external/srec/tools/thirdparty/OpenFst/fst/lib/factor-weight.h:291:5: error: 
'SetArcs' was not declared in this scope, and no declarations were found by 
argument-dependent lookup at the point of instantiation [-fpermissive]
external/srec/tools/thirdparty/OpenFst/fst/lib/factor-weight.h:291:5: note: 
declarations in dependent base 
'fst::CacheBaseImpl<fst::CacheState<fst::GallicArc<fst::StdArc, 
(fst::StringType)2u> > >' are not found by unqualified lookup
external/srec/tools/thirdparty/OpenFst/fst/lib/factor-weight.h:291:5: note: use 
'this->SetArcs' instead
In file included from 
external/srec/tools/thirdparty/OpenFst/fst/lib/rational.h:23:0,
                 from external/srec/tools/thirdparty/OpenFst/fst/lib/closure.h:23,
                 from external/srec/tools/thirdparty/OpenFst/fst/lib/fstlib.h:55,
                 from external/srec/tools/grxmlcompile/grxmlcompile.cpp:25:
external/srec/tools/thirdparty/OpenFst/fst/lib/map.h: In instantiation of 'void 
fst::MapFstImpl<A, B, C>::Expand(fst::MapFstImpl<A, B, C>::StateId) [with A = 
fst::StdArc; B = fst::GallicArc<fst::StdArc, (fst::StringType)2u>; C = 
fst::ToGallicMapper<fst::StdArc, (fst::StringType)2u>; fst::MapFstImpl<A, B, 
C>::StateId = int]':
external/srec/tools/thirdparty/OpenFst/fst/lib/map.h:336:7:   required from 
'size_t fst::MapFstImpl<A, B, C>::NumArcs(fst::MapFstImpl<A, B, C>::StateId) 
[with A = fst::StdArc; B = fst::GallicArc<fst::StdArc, (fst::StringType)2u>; C 
= fst::ToGallicMapper<fst::StdArc, (fst::StringType)2u>; size_t = unsigned int; 
fst::MapFstImpl<A, B, C>::StateId = int]'
external/srec/tools/thirdparty/OpenFst/fst/lib/map.h:492:60:   required from 
'size_t fst::MapFst<A, B, C>::NumArcs(fst::MapFst<A, B, C>::StateId) const 
[with A = fst::StdArc; B = fst::GallicArc<fst::StdArc, (fst::StringType)2u>; C 
= fst::ToGallicMapper<fst::StdArc, (fst::StringType)2u>; size_t = unsigned int; 
fst::MapFst<A, B, C>::StateId = int]'
external/srec/tools/grxmlcompile/grxmlcompile.cpp:938:1:   required from here
external/srec/tools/thirdparty/OpenFst/fst/lib/map.h:360:29: error: 'SetArcs' 
was not declared in this scope, and no declarations were found by 
argument-dependent lookup at the point of instantiation [-fpermissive]
external/srec/tools/thirdparty/OpenFst/fst/lib/map.h:360:29: note: declarations 
in dependent base 
'fst::CacheBaseImpl<fst::CacheState<fst::GallicArc<fst::StdArc, 
(fst::StringType)2u> > >' are not found by unqualified lookup
external/srec/tools/thirdparty/OpenFst/fst/lib/map.h:360:29: note: use 
'this->SetArcs' instead
external/srec/tools/thirdparty/OpenFst/fst/lib/map.h:367:7: error: 'AddArc' was 
not declared in this scope, and no declarations were found by 
argument-dependent lookup at the point of instantiation [-fpermissive]
external/srec/tools/thirdparty/OpenFst/fst/lib/map.h:367:7: note: declarations 
in dependent base 
'fst::CacheBaseImpl<fst::CacheState<fst::GallicArc<fst::StdArc, 
(fst::StringType)2u> > >' are not found by unqualified lookup
external/srec/tools/thirdparty/OpenFst/fst/lib/map.h:367:7: note: use 
'this->AddArc' instead
external/srec/tools/thirdparty/OpenFst/fst/lib/map.h:383:13: error: 'AddArc' 
was not declared in this scope, and no declarations were found by 
argument-dependent lookup at the point of instantiation [-fpermissive]
external/srec/tools/thirdparty/OpenFst/fst/lib/map.h:383:13: note: declarations 
in dependent base 
'fst::CacheBaseImpl<fst::CacheState<fst::GallicArc<fst::StdArc, 
(fst::StringType)2u> > >' are not found by unqualified lookup
external/srec/tools/thirdparty/OpenFst/fst/lib/map.h:383:13: note: use 
'this->AddArc' instead
external/srec/tools/thirdparty/OpenFst/fst/lib/map.h:392:11: error: 'AddArc' 
was not declared in this scope, and no declarations were found by 
argument-dependent lookup at the point of instantiation [-fpermissive]
external/srec/tools/thirdparty/OpenFst/fst/lib/map.h:392:11: note: declarations 
in dependent base 
'fst::CacheBaseImpl<fst::CacheState<fst::GallicArc<fst::StdArc, 
(fst::StringType)2u> > >' are not found by unqualified lookup
external/srec/tools/thirdparty/OpenFst/fst/lib/map.h:392:11: note: use 
'this->AddArc' instead
external/srec/tools/thirdparty/OpenFst/fst/lib/map.h:397:5: error: 'SetArcs' 
was not declared in this scope, and no declarations were found by 
argument-dependent lookup at the point of instantiation [-fpermissive]
external/srec/tools/thirdparty/OpenFst/fst/lib/map.h:397:5: note: declarations 
in dependent base 
'fst::CacheBaseImpl<fst::CacheState<fst::GallicArc<fst::StdArc, 
(fst::StringType)2u> > >' are not found by unqualified lookup
external/srec/tools/thirdparty/OpenFst/fst/lib/map.h:397:5: note: use 
'this->SetArcs' instead
In file included from 
external/srec/tools/thirdparty/OpenFst/fst/lib/arcsort.h:24:0,
                 from external/srec/tools/thirdparty/OpenFst/fst/lib/fstlib.h:54,
                 from external/srec/tools/grxmlcompile/grxmlcompile.cpp:25:
external/srec/tools/thirdparty/OpenFst/fst/lib/cache.h: In instantiation of 'S* 
fst::CacheBaseImpl<S>::ExtendState(fst::CacheBaseImpl<S>::StateId) [with S = 
fst::CacheState<fst::StdArc>; fst::CacheBaseImpl<S>::StateId = int]':
external/srec/tools/thirdparty/OpenFst/fst/lib/cache.h:171:29:   required from 
'void fst::CacheBaseImpl<S>::AddArc(fst::CacheBaseImpl<S>::StateId, const Arc&) 
[with S = fst::CacheState<fst::StdArc>; fst::CacheBaseImpl<S>::StateId = int; 
fst::CacheBaseImpl<S>::Arc = fst::StdArc]'
external/srec/tools/thirdparty/OpenFst/fst/lib/determinize.h:502:7:   required 
from 'void fst::DeterminizeFstImpl<A, S>::Expand(fst::DeterminizeFstImpl<A, 
S>::StateId) [with A = fst::StdArc; fst::StringType S = (fst::StringType)2u; 
fst::DeterminizeFstImpl<A, S>::StateId = int]'
external/srec/tools/grxmlcompile/grxmlcompile.cpp:938:1:   required from here
external/srec/tools/thirdparty/OpenFst/fst/lib/cache.h:132:9: error: 'SetState' 
was not declared in this scope, and no declarations were found by 
argument-dependent lookup at the point of instantiation [-fpermissive]
external/srec/tools/thirdparty/OpenFst/fst/lib/cache.h:132:9: note: 
declarations in dependent base 
'fst::VectorFstBaseImpl<fst::CacheState<fst::StdArc> >' are not found by 
unqualified lookup
external/srec/tools/thirdparty/OpenFst/fst/lib/cache.h:132:9: note: use 
'this->SetState' instead
external/srec/tools/thirdparty/OpenFst/fst/lib/cache.h:136:11: error: 
'SetState' was not declared in this scope, and no declarations were found by 
argument-dependent lookup at the point of instantiation [-fpermissive]
external/srec/tools/thirdparty/OpenFst/fst/lib/cache.h:136:11: note: 
declarations in dependent base 
'fst::VectorFstBaseImpl<fst::CacheState<fst::StdArc> >' are not found by 
unqualified lookup
external/srec/tools/thirdparty/OpenFst/fst/lib/cache.h:136:11: note: use 
'this->SetState' instead
external/srec/tools/thirdparty/OpenFst/fst/lib/cache.h: In instantiation of 
'void fst::CacheBaseImpl<S>::GC(fst::CacheBaseImpl<S>::StateId, bool) [with S = 
fst::CacheState<fst::StdArc>; fst::CacheBaseImpl<S>::StateId = int]':
external/srec/tools/thirdparty/OpenFst/fst/lib/cache.h:194:9:   required from 
'void fst::CacheBaseImpl<S>::SetArcs(fst::CacheBaseImpl<S>::StateId) [with S = 
fst::CacheState<fst::StdArc>; fst::CacheBaseImpl<S>::StateId = int]'
external/srec/tools/thirdparty/OpenFst/fst/lib/determinize.h:503:5:   required 
from 'void fst::DeterminizeFstImpl<A, S>::Expand(fst::DeterminizeFstImpl<A, 
S>::StateId) [with A = fst::StdArc; fst::StringType S = (fst::StringType)2u; 
fst::DeterminizeFstImpl<A, S>::StateId = int]'
external/srec/tools/grxmlcompile/grxmlcompile.cpp:938:1:   required from here
external/srec/tools/thirdparty/OpenFst/fst/lib/cache.h:290:9: error: 'SetState' 
was not declared in this scope, and no declarations were found by 
argument-dependent lookup at the point of instantiation [-fpermissive]
external/srec/tools/thirdparty/OpenFst/fst/lib/cache.h:290:9: note: 
declarations in dependent base 
'fst::VectorFstBaseImpl<fst::CacheState<fst::StdArc> >' are not found by 
unqualified lookup
external/srec/tools/thirdparty/OpenFst/fst/lib/cache.h:290:9: note: use 
'this->SetState' instead
In file included from 
external/srec/tools/thirdparty/OpenFst/fst/lib/determinize.h:32:0,
                 from external/srec/tools/thirdparty/OpenFst/fst/lib/fstlib.h:59,
                 from external/srec/tools/grxmlcompile/grxmlcompile.cpp:25:
external/srec/tools/thirdparty/OpenFst/fst/lib/factor-weight.h: In 
instantiation of 'void fst::FactorWeightFstImpl<A, 
F>::Expand(fst::FactorWeightFstImpl<A, F>::StateId) [with A = 
fst::GallicArc<fst::StdArc, (fst::StringType)0u>; F = fst::GallicFactor<int, 
fst::TropicalWeight, (fst::StringType)0u>; fst::FactorWeightFstImpl<A, 
F>::StateId = int]':
external/srec/tools/thirdparty/OpenFst/fst/lib/factor-weight.h:206:7:   
required from 'size_t fst::FactorWeightFstImpl<A, 
F>::NumArcs(fst::FactorWeightFstImpl<A, F>::StateId) [with A = 
fst::GallicArc<fst::StdArc, (fst::StringType)0u>; F = fst::GallicFactor<int, 
fst::TropicalWeight, (fst::StringType)0u>; size_t = unsigned int; 
fst::FactorWeightFstImpl<A, F>::StateId = int]'
external/srec/tools/thirdparty/OpenFst/fst/lib/factor-weight.h:364:68:   
required from 'size_t fst::FactorWeightFst<A, 
F>::NumArcs(fst::FactorWeightFst<A, F>::StateId) const [with A = 
fst::GallicArc<fst::StdArc, (fst::StringType)0u>; F = fst::GallicFactor<int, 
fst::TropicalWeight, (fst::StringType)0u>; size_t = unsigned int; 
fst::FactorWeightFst<A, F>::StateId = int]'
external/srec/tools/grxmlcompile/grxmlcompile.cpp:938:1:   required from here
external/srec/tools/thirdparty/OpenFst/fst/lib/factor-weight.h:266:11: error: 
'AddArc' was not declared in this scope, and no declarations were found by 
argument-dependent lookup at the point of instantiation [-fpermissive]
external/srec/tools/thirdparty/OpenFst/fst/lib/factor-weight.h:266:11: note: 
declarations in dependent base 
'fst::CacheBaseImpl<fst::CacheState<fst::GallicArc<fst::StdArc, 
(fst::StringType)0u> > >' are not found by unqualified lookup
external/srec/tools/thirdparty/OpenFst/fst/lib/factor-weight.h:266:11: note: 
use 'this->AddArc' instead
external/srec/tools/thirdparty/OpenFst/fst/lib/factor-weight.h:272:13: error: 
'AddArc' was not declared in this scope, and no declarations were found by 
argument-dependent lookup at the point of instantiation [-fpermissive]
external/srec/tools/thirdparty/OpenFst/fst/lib/factor-weight.h:272:13: note: 
declarations in dependent base 
'fst::CacheBaseImpl<fst::CacheState<fst::GallicArc<fst::StdArc, 
(fst::StringType)0u> > >' are not found by unqualified lookup
external/srec/tools/thirdparty/OpenFst/fst/lib/factor-weight.h:272:13: note: 
use 'this->AddArc' instead
external/srec/tools/thirdparty/OpenFst/fst/lib/factor-weight.h:288:9: error: 
'AddArc' was not declared in this scope, and no declarations were found by 
argument-dependent lookup at the point of instantiation [-fpermissive]
external/srec/tools/thirdparty/OpenFst/fst/lib/factor-weight.h:288:9: note: 
declarations in dependent base 
'fst::CacheBaseImpl<fst::CacheState<fst::GallicArc<fst::StdArc, 
(fst::StringType)0u> > >' are not found by unqualified lookup
external/srec/tools/thirdparty/OpenFst/fst/lib/factor-weight.h:288:9: note: use 
'this->AddArc' instead
external/srec/tools/thirdparty/OpenFst/fst/lib/factor-weight.h:291:5: error: 
'SetArcs' was not declared in this scope, and no declarations were found by 
argument-dependent lookup at the point of instantiation [-fpermissive]
external/srec/tools/thirdparty/OpenFst/fst/lib/factor-weight.h:291:5: note: 
declarations in dependent base 
'fst::CacheBaseImpl<fst::CacheState<fst::GallicArc<fst::StdArc, 
(fst::StringType)0u> > >' are not found by unqualified lookup
external/srec/tools/thirdparty/OpenFst/fst/lib/factor-weight.h:291:5: note: use 
'this->SetArcs' instead
In file included from 
external/srec/tools/thirdparty/OpenFst/fst/lib/arcsort.h:24:0,
                 from external/srec/tools/thirdparty/OpenFst/fst/lib/fstlib.h:54,
                 from external/srec/tools/grxmlcompile/grxmlcompile.cpp:25:
external/srec/tools/thirdparty/OpenFst/fst/lib/cache.h: In instantiation of 'S* 
fst::CacheBaseImpl<S>::ExtendState(fst::CacheBaseImpl<S>::StateId) [with S = 
fst::CacheState<fst::GallicArc<fst::StdArc, (fst::StringType)0u> >; 
fst::CacheBaseImpl<S>::StateId = int]':
external/srec/tools/thirdparty/OpenFst/fst/lib/cache.h:165:29:   required from 
'void fst::CacheBaseImpl<S>::SetFinal(fst::CacheBaseImpl<S>::StateId, 
fst::CacheBaseImpl<S>::Weight) [with S = 
fst::CacheState<fst::GallicArc<fst::StdArc, (fst::StringType)0u> >; 
fst::CacheBaseImpl<S>::StateId = int; fst::CacheBaseImpl<S>::Weight = 
fst::GallicWeight<int, fst::TropicalWeight, (fst::StringType)0u>]'
external/srec/tools/thirdparty/OpenFst/fst/lib/factor-weight.h:197:9:   
required from 'fst::FactorWeightFstImpl<A, F>::Weight 
fst::FactorWeightFstImpl<A, F>::Final(fst::FactorWeightFstImpl<A, F>::StateId) 
[with A = fst::GallicArc<fst::StdArc, (fst::StringType)0u>; F = 
fst::GallicFactor<int, fst::TropicalWeight, (fst::StringType)0u>; 
fst::FactorWeightFstImpl<A, F>::Weight = fst::GallicWeight<int, 
fst::TropicalWeight, (fst::StringType)0u>; fst::FactorWeightFstImpl<A, 
F>::StateId = int]'
external/srec/tools/thirdparty/OpenFst/fst/lib/factor-weight.h:362:64:   
required from 'fst::FactorWeightFst<A, F>::Weight fst::FactorWeightFst<A, 
F>::Final(fst::FactorWeightFst<A, F>::StateId) const [with A = 
fst::GallicArc<fst::StdArc, (fst::StringType)0u>; F = fst::GallicFactor<int, 
fst::TropicalWeight, (fst::StringType)0u>; fst::FactorWeightFst<A, F>::Weight = 
fst::GallicWeight<int, fst::TropicalWeight, (fst::StringType)0u>; 
fst::FactorWeightFst<A, F>::StateId = int]'
external/srec/tools/grxmlcompile/grxmlcompile.cpp:938:1:   required from here
external/srec/tools/thirdparty/OpenFst/fst/lib/cache.h:132:9: error: 'SetState' 
was not declared in this scope, and no declarations were found by 
argument-dependent lookup at the point of instantiation [-fpermissive]
external/srec/tools/thirdparty/OpenFst/fst/lib/cache.h:132:9: note: 
declarations in dependent base 
'fst::VectorFstBaseImpl<fst::CacheState<fst::GallicArc<fst::StdArc, 
(fst::StringType)0u> > >' are not found by unqualified lookup
external/srec/tools/thirdparty/OpenFst/fst/lib/cache.h:132:9: note: use 
'this->SetState' instead
external/srec/tools/thirdparty/OpenFst/fst/lib/cache.h:136:11: error: 
'SetState' was not declared in this scope, and no declarations were found by 
argument-dependent lookup at the point of instantiation [-fpermissive]
external/srec/tools/thirdparty/OpenFst/fst/lib/cache.h:136:11: note: 
declarations in dependent base 
'fst::VectorFstBaseImpl<fst::CacheState<fst::GallicArc<fst::StdArc, 
(fst::StringType)0u> > >' are not found by unqualified lookup
external/srec/tools/thirdparty/OpenFst/fst/lib/cache.h:136:11: note: use 
'this->SetState' instead
make: *** 
[out/host/linux-x86/obj/EXECUTABLES/grxmlcompile_intermediates/grxmlcompile.o] 
Błąd 1

Original issue reported on code.google.com by nwx...@gmail.com on 7 Jul 2012 at 2:00

GoogleCodeExporter commented 8 years ago
Linux localhost 3.4.4-2-ARCH #1 SMP PREEMPT Sun Jun 24 18:59:47 CEST 2012 
x86_64 GNU/Linux

Original comment by nwx...@gmail.com on 7 Jul 2012 at 2:05

GoogleCodeExporter commented 8 years ago
I have the same issue on debian sid x64

Original comment by map...@gmail.com on 12 Jul 2012 at 12:50

GoogleCodeExporter commented 8 years ago
You can check these patches for gcc 4.7 

http://code.google.com/p/aospx/issues/detail?id=24#c8

Original comment by map...@gmail.com on 21 Jul 2012 at 2:22

GoogleCodeExporter commented 8 years ago
I'll try them after I'll download the source again.

Original comment by nwx...@gmail.com on 29 Jul 2012 at 8:44