[chord] query regarding compilation error while installing chord

Ahmad wakeel abdulwakeel_2000 at yahoo.com
Tue Oct 10 05:42:37 EDT 2006


Hello!
 
 I am installnig chord. For that I have to compile sfs.
 I am getting compilation errors while compiling sfs. Could you please guide me with following info. Thanks
 
 OS: Linux Suse 10.0
 gcc: 4.0.2
 g++: 4.0.2
 
 ------------------
       
/bin/sh ../libtool --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I..   -I../gmp-4.I../svc -I../svc -DEXECDIR=\"/usr/local/lib/sfs-0.7.2\" -DETCDIR=\"/etc/sfs\" -D"  -g -Wall -Werror  -c aerr.C g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../gmp-4.2 -I.. -I../async -I../arpc -I../crycal/lib/sfs-0.7.2\" -DETCDIR=\"/etc/sfs\" -DDATADIR=\"/usr/local/share/sfs\" -DP.o vec.h: In member function 'void vec<T, N>::move(typename vec_base<T, N>::elm_t*) vec.h:77: error: 'firstp' was not declared in this scope vec.h:79: error: 'firstp' was not declared in this scope vec.h:79: error: 'lastp' was not declared in this scope vec.h:80: error: 'basep' was not declared in this scope vec.h: In member function 'void vec<T, N>::init()': vec.h:95: error: 'lastp' was not declared in this scope vec.h:95: error: 'firstp' was not declared in this scope vec.h:95: error: 'basep' was not declared in this scope vec.h:95: error: there are no arguments to 'def_basep' that depend on a template vec.h:95: error: (if you
 use '-fpermissive', G++ will accept your code, but allo vec.h:95: error: 'limp' was not declared in this scope vec.h:95: error: there are no arguments to 'def_limp' that depend on a template vec.h: In member function 'void vec<T, N>::del()': vec.h:96: error: 'firstp' was not declared in this scope vec.h:96: error: 'lastp' was not declared in this scope vec.h:96: error: 'basep' was not declared in this scope vec.h:96: error: there are no arguments to 'bfree' that depend on a template par vec.h: In copy constructor 'vec<T, N>::vec(const vec<T, N>&)': vec.h:117: error: 'lastp' was not declared in this scope vec.h: In constructor 'vec<T, N>::vec(const vec<T, NN>&)': vec.h:118: error: 'lastp' was not declared in this scope vec.h: In member function 'vec<T, N>& vec<T, N>::operator=(const vec<T, N>&)': vec.h:123: error: 'lastp' was not declared in this scope vec.h: In member function 'vec<T, N>& vec<T, N>::operator=(const vec<T, NN>&)': vec.h:125: error: 'lastp' was not declared
 in this scope vec.h: In member function 'void vec<T, N>::reserve(size_t)': vec.h:128: error: 'lastp' was not declared in this scope vec.h:128: error: 'limp' was not declared in this scope vec.h:130: error: 'limp' was not declared in this scope vec.h:130: error: 'basep' was not declared in this scope vec.h:131: error: 'lastp' was not declared in this scope vec.h:131: error: 'firstp' was not declared in this scope vec.h: In member function 'void vec<T, N>::setsize(size_t)': vec.h:148: error: 'lastp' was not declared in this scope vec.h: In member function 'typename vec_base<T, N>::elm_t* vec<T, N>::base()': vec.h:155: error: 'firstp' was not declared in this scope vec.h: In member function 'const typename vec_base<T, N>::elm_t* vec<T, N>::base vec.h:156: error: 'firstp' was not declared in this scope vec.h: In member function 'typename vec_base<T, N>::elm_t* vec<T, N>::lim()': vec.h:157: error: 'lastp' was not declared in this scope vec.h: In member function 'const typename
 vec_base<T, N>::elm_t* vec<T, N>::lim( vec.h:158: error: 'lastp' was not declared in this scope vec.h: In member function 'size_t vec<T, N>::size() const': vec.h:159: error: 'lastp' was not declared in this scope vec.h:159: error: 'firstp' was not declared in this scope vec.h: In member function 'bool vec<T, N>::empty() const': vec.h:160: error: 'lastp' was not declared in this scope vec.h:160: error: 'firstp' was not declared in this scope vec.h: In member function 'typename vec_base<T, N>::elm_t& vec<T, N>::front()': vec.h:162: error: 'firstp' was not declared in this scope vec.h: In member function 'const typename vec_base<T, N>::elm_t& vec<T, N>::fron vec.h:163: error: 'firstp' was not declared in this scope vec.h: In member function 'typename vec_base<T, N>::elm_t& vec<T, N>::back()': vec.h:164: error: 'lastp' was not declared in this scope vec.h: In member function 'const typename vec_base<T, N>::elm_t& vec<T, N>::back vec.h:165: error: 'lastp' was not declared in
 this scope vec.h: In member function 'typename vec_base<T, N>::elm_t& vec<T, N>::operator[] vec.h:167: error: 'firstp' was not declared in this scope vec.h: In member function 'const typename vec_base<T, N>::elm_t& vec<T, N>::oper vec.h:168: error: 'firstp' was not declared in this scope vec.h: In member function 'typename vec_base<T, N>::elm_t& vec<T, N>::push_back( vec.h:170: error: 'lastp' was not declared in this scope vec.h: In member function 'typename vec_base<T, N>::elm_t& vec<T, N>::push_back( vec.h:172: error: 'lastp' was not declared in this scope vec.h: In member function 'typename vec_base<T, N>::elm_t vec<T, N>::pop_back()' vec.h:174: error: 'lastp' was not declared in this scope vec.h:174: error: no matching function for call to 'destroy_return(<type error>) vec.h: In member function 'void vec<T, N>::popn_back(size_t)': vec.h:177: error: 'lastp' was not declared in this scope vec.h: In member function 'typename vec_base<T, N>::elm_t vec<T, N>::pop_front()
 vec.h:183: error: 'firstp' was not declared in this scope vec.h:183: error: no matching function for call to 'destroy_return(<type error>) vec.h: In member function 'void vec<T, N>::popn_front(size_t)': vec.h:186: error: 'firstp' was not declared in this scope refcnt.h: In constructor 'ref<T>::ref(T*, refcount*)': refcnt.h:412: error: 'p' was not declared in this scope refcnt.h: In constructor 'ref<T>::ref(refcounted<U, v>*)': refcnt.h:423: error: 'p' was not declared in this scope refcnt.h: In copy constructor 'ref<T>::ref(const ref<T>&)': refcnt.h:427: error: 'p' was not declared in this scope refcnt.h: In constructor 'ref<T>::ref(const ref<U>&)': refcnt.h:430: error: 'p' was not declared in this scope refcnt.h: In constructor 'ref<T>::ref(const ptr<U>&)': refcnt.h:433: error: 'p' was not declared in this scope refcnt.h: In member function 'ref<T>& ref<T>::operator=(refcounted<U, v>*)': refcnt.h:438: error: 'p' was not declared in this scope refcnt.h: In member function
 'ref<T>& ref<T>::operator=(const ref<T>&)': refcnt.h:443: error: 'p' was not declared in this scope refcnt.h: In member function 'ref<T>& ref<T>::operator=(const ref<U>&)': refcnt.h:445: error: 'p' was not declared in this scope refcnt.h: In member function 'ref<T>& ref<T>::operator=(const ptr<U>&)': refcnt.h:448: error: 'p' was not declared in this scope refcnt.h: In member function 'void ptr<T>::set(refcounted<U, v>*, bool)': refcnt.h:467: error: 'p' was not declared in this scope refcnt.h:473: error: 'p' was not declared in this scope refcnt.h: In constructor 'ptr<T>::ptr()': refcnt.h:483: error: 'p' was not declared in this scope refcnt.h: In constructor 'ptr<T>::ptr(refpriv::privtype*)': refcnt.h:484: error: 'p' was not declared in this scope refcnt.h: In copy constructor 'ptr<T>::ptr(const ptr<T>&)': refcnt.h:487: error: 'p' was not declared in this scope refcnt.h: In constructor 'ptr<T>::ptr(const ptr<U>&)': refcnt.h:490: error: 'p' was not declared in this scope
 refcnt.h: In constructor 'ptr<T>::ptr(const ref<U>&)': refcnt.h:493: error: 'p' was not declared in this scope refcnt.h: In member function 'ptr<T>& ptr<T>::operator=(refpriv::privtype*)': refcnt.h:498: error: 'p' was not declared in this scope refcnt.h: In member function 'ptr<T>& ptr<T>::operator=(const ptr<T>&)': refcnt.h:503: error: 'p' was not declared in this scope refcnt.h: In member function 'ptr<T>& ptr<T>::operator=(const ptr<U>&)': refcnt.h:505: error: 'p' was not declared in this scope refcnt.h: In member function 'ptr<T>& ptr<T>::operator=(const ref<U>&)': refcnt.h:507: error: 'p' was not declared in this scope refcnt.h: In destructor 'bssptr<T>::~bssptr()': refcnt.h:515: error: there are no arguments to 'Xleak' that depend on a template cc1plus: warnings being treated as errors aerr.C: At global scope: aerr.C:136: warning: attributes after parenthesized initializer ignored make: *** [aerr.lo] Error 1
thanks!
 
 
 
 		
---------------------------------
Yahoo! Messenger with Voice. Make PC-to-Phone Calls to the US (and 30+ countries) for 2¢/min or less.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://amsterdam.lcs.mit.edu/pipermail/chord/attachments/20061010/75299772/attachment.htm


More information about the chord mailing list