Hi, I'm hoping you can help me resolve this small error i get when compiling pandora. ./configure runs without error however make fails with the errors below:
----------------------------------
../libpandora/map.h:81: error: '_array' was not declared in this scope
../libpandora/map.h:82: error: '_undefined' was not declared in this scope ../libpandora/map.h: In member function 'Val& Map<Key, Val>::atOrNil(const Key&) const': ../libpandora/map.h:90: error: '_array' was not declared in this scope
../libpandora/map.h: In member function 'Val& Map<Key, Val>::at(const Key&) const': ../libpandora/map.h:97: error: '_array' was not declared in this scope ../libpandora/map.h:98: error: '_undefined' was not declared in this scope
../libpandora/map.h: In member function 'void Map<Key, Val>::atPut(const Key&, const Val&)': ../libpandora/map.h:109: error: '_array' was not declared in this scope ../libpandora/map.h:110: error: '_undefined' was not declared in this scope
../libpandora/map.h: In member function 'bool Map<Key, Val>::includesKey(const Key&) const': ../libpandora/map.h:124: error: '_array' was not declared in this scope ../libpandora/map.h:124: error: '_undefined' was not declared in this scope
../libpandora/map.h: In member function 'void Map<Key, Val>::add(const Association<Key, Val>&)': ../libpandora/map.h:133: error: '_array' was not declared in this scope ../libpandora/map.h:134: error: '_undefined' was not declared in this scope
../libpandora/map.h: In member function 'Val Map<Key, Val>::removeKey(const Key&)': ../libpandora/map.h:146: error: '_array' was not declared in this scope ../libpandora/map.h:146: error: '_undefined' was not declared in this scope
../libpandora/map.h:147: error: '_array' was not declared in this scope ../libpandora/map.h:148: error: '_undefined' was not declared in this scope ../libpandora/map.h:149: error: '_tally' was not declared in this scope
../libpandora/map.h:150: error: there are no arguments to 'fixCollisionsFrom' that depend on a template parameter, so a declaration of 'fixCollisionsFrom' must be available ../libpandora/map.h:150: error: (if you use '-fpermissive', G++ will accept your code, but allowing the use of an undeclared name is deprecated)
../libpandora/map.h: In member function 'virtual void Map<Key, Val>::noCheckAdd(const Association<Key, Val>&)': ../libpandora/map.h:166: error: '_array' was not declared in this scope
../libpandora/map.h:167: error: '_tally' was not declared in this scope ../libpandora/map.h: In member function 'void Map<Key, Val>::rehash()': ../libpandora/map.h:173: error: '_array' was not declared in this scope
../libpandora/map.h:174: error: '_capacity' was not declared in this scope ../libpandora/map.h:174: error: there are no arguments to 'newArray' that depend on a template parameter, so a declaration of 'newArray' must be available
../libpandora/map.h:177: error: '_undefined' was not declared in this scope ../libpandora/map.h: In member function 'const long int Map<Key, Val>::scanForKey(const Key&) const': ../libpandora/map.h:191: error: '_capacity' was not declared in this scope
../libpandora/map.h:195: error: '_array' was not declared in this scope ../libpandora/map.h:195: error: '_undefined' was not declared in this scope ../libpandora/map.h:200: error: '_array' was not declared in this scope
../libpandora/map.h:200: error: '_undefined' was not declared in this scope ../libpandora/map.h: In member function 'Key& Map<Key, Val>::iterNextKey(set_iterator_t&)': ../libpandora/map.h:226: error: there are no arguments to 'iterNextElement' that depend on a template parameter, so a declaration of 'iterNextElement' must be available
../libpandora/map.h: In member function 'Val& Map<Key, Val>::iterNextValue(set_iterator_t&)': ../libpandora/map.h:231: error: there are no arguments to 'iterNextElement' that depend on a template parameter, so a declaration of 'iterNextElement' must be available
make[3]: *** [encoding.lo] Error 1 make[3]: Leaving directory `/home/rasiim/tmp/pandora-0.9/libpandora' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/home/rasiim/tmp/pandora-0.9/libpandora'
make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/home/rasiim/tmp/pandora-0.9' make: *** [all] Error 2
I have attached the config.log that was generated, in case it's any help.
I'm not conversant with C++ though i have some knowledge of C. If it's any help, i'm using OpenSuSE 10.2.
Hope you can point me in the right direction. Thanks, Richard.
--
Richard Asiimwe. Future Link Technologies Mob: +256 78 2 486 198 +256 75 2 486 198 Office: +256 41 531 274 url:
http://www.fl-t.com Life is not a rehearsal...
-- Richard Asiimwe. Future Link Technologies Mob: +256 78 2 486 198 +256 75 2 486 198 Office: +256 41 531 274 url: http://www.fl-t.com
Life is not a rehearsal...