Ana Monteiro
2005-06-05 12:11:53 UTC
Hi all!
I'm having a problem compiling sfs 0.7.2. I'm trying to install sfs in
order to use CHORD (http://pdos.csail.mit.edu/chord/howto.html).
# uname -a
Linux linux 2.6.8-24-default #1 Wed Oct 6 09:16:23 UTC 2004 i686 i686
i386 GNU/Linux
I have this installed:
# rpm -qa | grep gcc
gcc-mainline-c++-4.0.1_20050521-1.1
gcc-mainline-4.0.1_20050521-1.1
gcc-mainline-java-4.0.1_20050521-1.1
gcc-mainline-objc-4.0.1_20050521-1.1
gcc-mainline-fortran-4.0.1_20050521-1.1
gcc-mainline-mudflap-4.0.1_20050521-1.1
libgcc-mainline-4.0.1_20050521-1.1
# rpm -qa | grep gmp
gmp-4.1.3-3
I have successfully created the sfs user and group (as in
http://www.fs.net/sfswww/sfs.pdf).
Then I run the following commands:
# tar -zxvf sfs-0.7.2.tar.gz
# CXX=/usr/bin/c++
# CC=/usr/bin/cc
# cd sfs-0.7.2
# mkdir sfs-0.7.2-obj
# cd sfs-0.7.2-obj
# ../configure
# make
and then occurred the following error:
test -z "" || (cd "" && make `echo aux-all | sed -e 's/^aux-//'`)
test -z "" -o "" = "@"DB3_DIR"@" \
|| (cd "/dist" && make `echo aux-all | sed -e 's/^aux-//'`)
make all-recursive
make[1]: Entering directory `/home/amcm/mestrado/sfs-0.7.2/sfs-0.7.2-obj'
Making all in async
make[2]: Entering directory `/home/amcm/mestrado/sfs-0.7.2/sfs-0.7.2-obj/async'
/bin/sh ../libtool --mode=compile g++ -DHAVE_CONFIG_H -I.
-I../../async -I.. -I../.. -I../../async -I../../arpc -I../../crypt
-I../../sfsmisc -I../../sfsrodb -I../../adb -I../svc -I../../svc
-DEXECDIR=\"/usr/local/lib/sfs-0.7.2\" -DETCDIR=\"/etc/sfs\"
-DDATADIR=\"/usr/local/share/sfs\" -DPIDDIR=\"/var/run\"
-DSFSDIR=\"/var/sfs\" -g -O2 -Wall -Werror -c ../../async/aerr.C
g++ -DHAVE_CONFIG_H -I. -I../../async -I.. -I../.. -I../../async
-I../../arpc -I../../crypt -I../../sfsmisc -I../../sfsrodb-I../../adb
-I../svc -I../../svc -DEXECDIR=\"/usr/local/lib/sfs-0.7.2\"
-DETCDIR=\"/etc/sfs\" -DDATADIR=\"/usr/local/share/sfs\"
-DPIDDIR=\"/var/run\" -DSFSDIR=\"/var/sfs\" -g -O2 -Wall -Werror -c
../../async/aerr.C -o aerr.o
../../async/vec.h: In member function 'void vec<T, N>::move(typename
vec_base<T, N>::elm_t*)':
../../async/vec.h:77: error: 'firstp' was not declared in this scope
../../async/vec.h:79: error: 'firstp' was not declared in this scope
../../async/vec.h:79: error: 'lastp' was not declared in this scope
../../async/vec.h:80: error: 'basep' was not declared in this scope
../../async/vec.h: In member function 'void vec<T, N>::init()':
../../async/vec.h:95: error: 'lastp' was not declared in this scope
../../async/vec.h:95: error: 'firstp' was not declared in this scope
../../async/vec.h:95: error: 'basep' was not declared in this scope
../../async/vec.h:95: error: there are no arguments to 'def_basep'
that depend on a template parameter, so a declaration of'def_basep'
must be available
../../async/vec.h:95: error: (if you use '-fpermissive', G++ will
accept your code, but allowing the use of an undeclared name is
deprecated)
../../async/vec.h:95: error: 'limp' was not declared in this scope
../../async/vec.h:95: error: there are no arguments to 'def_limp' that
depend on a template parameter, so a declaration of 'def_limp' must be
available
../../async/vec.h: In member function 'void vec<T, N>::del()':
../../async/vec.h:96: error: 'firstp' was not declared in this scope
../../async/vec.h:96: error: 'lastp' was not declared in this scope
../../async/vec.h:96: error: 'basep' was not declared in this scope
../../async/vec.h:96: error: there are no arguments to 'bfree' that
depend on a template parameter, so a declaration of 'bfree' must be
available
../../async/vec.h: In copy constructor 'vec<T, N>::vec(const vec<T, N>&)':
../../async/vec.h:117: error: 'lastp' was not declared in this scope
../../async/vec.h: In constructor 'vec<T, N>::vec(const vec<T, NN>&)':
../../async/vec.h:118: error: 'lastp' was not declared in this scope
../../async/vec.h: In member function 'vec<T, N>& vec<T,
N>::operator=(const vec<T, N>&)':
../../async/vec.h:123: error: 'lastp' was not declared in this scope
../../async/vec.h: In member function 'vec<T, N>& vec<T,
N>::operator=(const vec<T, NN>&)':
../../async/vec.h:125: error: 'lastp' was not declared in this scope
../../async/vec.h: In member function 'void vec<T, N>::reserve(size_t)':
../../async/vec.h:128: error: 'lastp' was not declared in this scope
../../async/vec.h:128: error: 'limp' was not declared in this scope
../../async/vec.h:130: error: 'limp' was not declared in this scope
../../async/vec.h:130: error: 'basep' was not declared in this scope
../../async/vec.h:131: error: 'lastp' was not declared in this scope
../../async/vec.h:131: error: 'firstp' was not declared in this scope
../../async/vec.h: In member function 'void vec<T, N>::setsize(size_t)':
../../async/vec.h:148: error: 'lastp' was not declared in this scope
../../async/vec.h: In member function 'typename vec_base<T, N>::elm_t*
vec<T, N>::base()':
../../async/vec.h:155: error: 'firstp' was not declared in this scope
../../async/vec.h: In member function 'const typename vec_base<T,
N>::elm_t* vec<T, N>::base() const':
../../async/vec.h:156: error: 'firstp' was not declared in this scope
../../async/vec.h: In member function 'typename vec_base<T, N>::elm_t*
vec<T, N>::lim()':
../../async/vec.h:157: error: 'lastp' was not declared in this scope
../../async/vec.h: In member function 'const typename vec_base<T,
N>::elm_t* vec<T, N>::lim() const':
../../async/vec.h:158: error: 'lastp' was not declared in this scope
../../async/vec.h: In member function 'size_t vec<T, N>::size() const':
../../async/vec.h:159: error: 'lastp' was not declared in this scope
../../async/vec.h:159: error: 'firstp' was not declared in this scope
../../async/vec.h: In member function 'bool vec<T, N>::empty() const':
../../async/vec.h:160: error: 'lastp' was not declared in this scope
../../async/vec.h:160: error: 'firstp' was not declared in this scope
../../async/vec.h: In member function 'typename vec_base<T, N>::elm_t&
vec<T, N>::front()':
../../async/vec.h:162: error: 'firstp' was not declared in this scope
../../async/vec.h: In member function 'const typename vec_base<T,
N>::elm_t& vec<T, N>::front() const':
../../async/vec.h:163: error: 'firstp' was not declared in this scope
../../async/vec.h: In member function 'typename vec_base<T, N>::elm_t&
vec<T, N>::back()':
../../async/vec.h:164: error: 'lastp' was not declared in this scope
../../async/vec.h: In member function 'const typename vec_base<T,
N>::elm_t& vec<T, N>::back() const':
../../async/vec.h:165: error: 'lastp' was not declared in this scope
../../async/vec.h: In member function 'typename vec_base<T, N>::elm_t&
vec<T, N>::operator[](ptrdiff_t)':
../../async/vec.h:167: error: 'firstp' was not declared in this scope
../../async/vec.h: In member function 'const typename vec_base<T,
N>::elm_t& vec<T, N>::operator[](ptrdiff_t) const':
../../async/vec.h:168: error: 'firstp' was not declared in this scope
../../async/vec.h: In member function 'typename vec_base<T, N>::elm_t&
vec<T, N>::push_back()':
../../async/vec.h:170: error: 'lastp' was not declared in this scope
../../async/vec.h: In member function 'typename vec_base<T, N>::elm_t&
vec<T, N>::push_back(const typename vec_base<T, N>::elm_t&)':
../../async/vec.h:172: error: 'lastp' was not declared in this scope
../../async/vec.h: In member function 'typename vec_base<T, N>::elm_t
vec<T, N>::pop_back()':
../../async/vec.h:174: error: 'lastp' was not declared in this scope
../../async/vec.h:174: error: no matching function for call to
'destroy_return(<type error>)'
../../async/vec.h: In member function 'void vec<T, N>::popn_back(size_t)':
../../async/vec.h:177: error: 'lastp' was not declared in this scope
../../async/vec.h: In member function 'typename vec_base<T, N>::elm_t
vec<T, N>::pop_front()':
../../async/vec.h:183: error: 'firstp' was not declared in this scope
../../async/vec.h:183: error: no matching function for call to
'destroy_return(<type error>)'
../../async/vec.h: In member function 'void vec<T, N>::popn_front(size_t)':
../../async/vec.h:186: error: 'firstp' was not declared in this scope
../../async/refcnt.h: In constructor 'ref<T>::ref(T*, refcount*)':
../../async/refcnt.h:412: error: 'p' was not declared in this scope
../../async/refcnt.h: In constructor 'ref<T>::ref(refcounted<U, v>*)':
../../async/refcnt.h:423: error: 'p' was not declared in this scope
../../async/refcnt.h: In copy constructor 'ref<T>::ref(const ref<T>&)':
../../async/refcnt.h:427: error: 'p' was not declared in this scope
../../async/refcnt.h: In constructor 'ref<T>::ref(const ref<U>&)':
../../async/refcnt.h:430: error: 'p' was not declared in this scope
../../async/refcnt.h: In constructor 'ref<T>::ref(const ptr<U>&)':
../../async/refcnt.h:433: error: 'p' was not declared in this scope
../../async/refcnt.h: In member function 'ref<T>&
ref<T>::operator=(refcounted<U, v>*)':
../../async/refcnt.h:438: error: 'p' was not declared in this scope
../../async/refcnt.h: In member function 'ref<T>&
ref<T>::operator=(const ref<T>&)':
../../async/refcnt.h:443: error: 'p' was not declared in this scope
../../async/refcnt.h: In member function 'ref<T>&
ref<T>::operator=(const ref<U>&)':
../../async/refcnt.h:445: error: 'p' was not declared in this scope
../../async/refcnt.h: In member function 'ref<T>&
ref<T>::operator=(const ptr<U>&)':
../../async/refcnt.h:448: error: 'p' was not declared in this scope
../../async/refcnt.h: In member function 'void
ptr<T>::set(refcounted<U, v>*, bool)':
../../async/refcnt.h:467: error: 'p' was not declared in this scope
../../async/refcnt.h:473: error: 'p' was not declared in this scope
../../async/refcnt.h: In constructor 'ptr<T>::ptr()':
../../async/refcnt.h:483: error: 'p' was not declared in this scope
../../async/refcnt.h: In constructor 'ptr<T>::ptr(refpriv::privtype*)':
../../async/refcnt.h:484: error: 'p' was not declared in this scope
../../async/refcnt.h: In copy constructor 'ptr<T>::ptr(const ptr<T>&)':
../../async/refcnt.h:487: error: 'p' was not declared in this scope
../../async/refcnt.h: In constructor 'ptr<T>::ptr(const ptr<U>&)':
../../async/refcnt.h:490: error: 'p' was not declared in this scope
../../async/refcnt.h: In constructor 'ptr<T>::ptr(const ref<U>&)':
../../async/refcnt.h:493: error: 'p' was not declared in this scope
../../async/refcnt.h: In member function 'ptr<T>&
ptr<T>::operator=(refpriv::privtype*)':
../../async/refcnt.h:498: error: 'p' was not declared in this scope
../../async/refcnt.h: In member function 'ptr<T>&
ptr<T>::operator=(const ptr<T>&)':
../../async/refcnt.h:503: error: 'p' was not declared in this scope
../../async/refcnt.h: In member function 'ptr<T>&
ptr<T>::operator=(const ptr<U>&)':
../../async/refcnt.h:505: error: 'p' was not declared in this scope
../../async/refcnt.h: In member function 'ptr<T>&
ptr<T>::operator=(const ref<U>&)':
../../async/refcnt.h:507: error: 'p' was not declared in this scope
../../async/refcnt.h: In destructor 'bssptr<T>::~bssptr()':
../../async/refcnt.h:515: error: there are no arguments to 'Xleak'
that depend on a template parameter, so a declaration of'Xleak' must
be available
cc1plus: warnings being treated as errors
../../async/aerr.C: At global scope:
../../async/aerr.C:136: warning: attributes after parenthesized
initializer ignored
make[2]: *** [aerr.lo] Error 1
make[2]: Leaving directory `/home/amcm/mestrado/sfs-0.7.2/sfs-0.7.2-obj/async'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/amcm/mestrado/sfs-0.7.2/sfs-0.7.2-obj'
make: *** [all-recursive-am] Error 2
Please help me! I don't know what to do....
Thank you in advance!
Best regards,
Ana Monteiro
I'm having a problem compiling sfs 0.7.2. I'm trying to install sfs in
order to use CHORD (http://pdos.csail.mit.edu/chord/howto.html).
# uname -a
Linux linux 2.6.8-24-default #1 Wed Oct 6 09:16:23 UTC 2004 i686 i686
i386 GNU/Linux
I have this installed:
# rpm -qa | grep gcc
gcc-mainline-c++-4.0.1_20050521-1.1
gcc-mainline-4.0.1_20050521-1.1
gcc-mainline-java-4.0.1_20050521-1.1
gcc-mainline-objc-4.0.1_20050521-1.1
gcc-mainline-fortran-4.0.1_20050521-1.1
gcc-mainline-mudflap-4.0.1_20050521-1.1
libgcc-mainline-4.0.1_20050521-1.1
# rpm -qa | grep gmp
gmp-4.1.3-3
I have successfully created the sfs user and group (as in
http://www.fs.net/sfswww/sfs.pdf).
Then I run the following commands:
# tar -zxvf sfs-0.7.2.tar.gz
# CXX=/usr/bin/c++
# CC=/usr/bin/cc
# cd sfs-0.7.2
# mkdir sfs-0.7.2-obj
# cd sfs-0.7.2-obj
# ../configure
# make
and then occurred the following error:
test -z "" || (cd "" && make `echo aux-all | sed -e 's/^aux-//'`)
test -z "" -o "" = "@"DB3_DIR"@" \
|| (cd "/dist" && make `echo aux-all | sed -e 's/^aux-//'`)
make all-recursive
make[1]: Entering directory `/home/amcm/mestrado/sfs-0.7.2/sfs-0.7.2-obj'
Making all in async
make[2]: Entering directory `/home/amcm/mestrado/sfs-0.7.2/sfs-0.7.2-obj/async'
/bin/sh ../libtool --mode=compile g++ -DHAVE_CONFIG_H -I.
-I../../async -I.. -I../.. -I../../async -I../../arpc -I../../crypt
-I../../sfsmisc -I../../sfsrodb -I../../adb -I../svc -I../../svc
-DEXECDIR=\"/usr/local/lib/sfs-0.7.2\" -DETCDIR=\"/etc/sfs\"
-DDATADIR=\"/usr/local/share/sfs\" -DPIDDIR=\"/var/run\"
-DSFSDIR=\"/var/sfs\" -g -O2 -Wall -Werror -c ../../async/aerr.C
g++ -DHAVE_CONFIG_H -I. -I../../async -I.. -I../.. -I../../async
-I../../arpc -I../../crypt -I../../sfsmisc -I../../sfsrodb-I../../adb
-I../svc -I../../svc -DEXECDIR=\"/usr/local/lib/sfs-0.7.2\"
-DETCDIR=\"/etc/sfs\" -DDATADIR=\"/usr/local/share/sfs\"
-DPIDDIR=\"/var/run\" -DSFSDIR=\"/var/sfs\" -g -O2 -Wall -Werror -c
../../async/aerr.C -o aerr.o
../../async/vec.h: In member function 'void vec<T, N>::move(typename
vec_base<T, N>::elm_t*)':
../../async/vec.h:77: error: 'firstp' was not declared in this scope
../../async/vec.h:79: error: 'firstp' was not declared in this scope
../../async/vec.h:79: error: 'lastp' was not declared in this scope
../../async/vec.h:80: error: 'basep' was not declared in this scope
../../async/vec.h: In member function 'void vec<T, N>::init()':
../../async/vec.h:95: error: 'lastp' was not declared in this scope
../../async/vec.h:95: error: 'firstp' was not declared in this scope
../../async/vec.h:95: error: 'basep' was not declared in this scope
../../async/vec.h:95: error: there are no arguments to 'def_basep'
that depend on a template parameter, so a declaration of'def_basep'
must be available
../../async/vec.h:95: error: (if you use '-fpermissive', G++ will
accept your code, but allowing the use of an undeclared name is
deprecated)
../../async/vec.h:95: error: 'limp' was not declared in this scope
../../async/vec.h:95: error: there are no arguments to 'def_limp' that
depend on a template parameter, so a declaration of 'def_limp' must be
available
../../async/vec.h: In member function 'void vec<T, N>::del()':
../../async/vec.h:96: error: 'firstp' was not declared in this scope
../../async/vec.h:96: error: 'lastp' was not declared in this scope
../../async/vec.h:96: error: 'basep' was not declared in this scope
../../async/vec.h:96: error: there are no arguments to 'bfree' that
depend on a template parameter, so a declaration of 'bfree' must be
available
../../async/vec.h: In copy constructor 'vec<T, N>::vec(const vec<T, N>&)':
../../async/vec.h:117: error: 'lastp' was not declared in this scope
../../async/vec.h: In constructor 'vec<T, N>::vec(const vec<T, NN>&)':
../../async/vec.h:118: error: 'lastp' was not declared in this scope
../../async/vec.h: In member function 'vec<T, N>& vec<T,
N>::operator=(const vec<T, N>&)':
../../async/vec.h:123: error: 'lastp' was not declared in this scope
../../async/vec.h: In member function 'vec<T, N>& vec<T,
N>::operator=(const vec<T, NN>&)':
../../async/vec.h:125: error: 'lastp' was not declared in this scope
../../async/vec.h: In member function 'void vec<T, N>::reserve(size_t)':
../../async/vec.h:128: error: 'lastp' was not declared in this scope
../../async/vec.h:128: error: 'limp' was not declared in this scope
../../async/vec.h:130: error: 'limp' was not declared in this scope
../../async/vec.h:130: error: 'basep' was not declared in this scope
../../async/vec.h:131: error: 'lastp' was not declared in this scope
../../async/vec.h:131: error: 'firstp' was not declared in this scope
../../async/vec.h: In member function 'void vec<T, N>::setsize(size_t)':
../../async/vec.h:148: error: 'lastp' was not declared in this scope
../../async/vec.h: In member function 'typename vec_base<T, N>::elm_t*
vec<T, N>::base()':
../../async/vec.h:155: error: 'firstp' was not declared in this scope
../../async/vec.h: In member function 'const typename vec_base<T,
N>::elm_t* vec<T, N>::base() const':
../../async/vec.h:156: error: 'firstp' was not declared in this scope
../../async/vec.h: In member function 'typename vec_base<T, N>::elm_t*
vec<T, N>::lim()':
../../async/vec.h:157: error: 'lastp' was not declared in this scope
../../async/vec.h: In member function 'const typename vec_base<T,
N>::elm_t* vec<T, N>::lim() const':
../../async/vec.h:158: error: 'lastp' was not declared in this scope
../../async/vec.h: In member function 'size_t vec<T, N>::size() const':
../../async/vec.h:159: error: 'lastp' was not declared in this scope
../../async/vec.h:159: error: 'firstp' was not declared in this scope
../../async/vec.h: In member function 'bool vec<T, N>::empty() const':
../../async/vec.h:160: error: 'lastp' was not declared in this scope
../../async/vec.h:160: error: 'firstp' was not declared in this scope
../../async/vec.h: In member function 'typename vec_base<T, N>::elm_t&
vec<T, N>::front()':
../../async/vec.h:162: error: 'firstp' was not declared in this scope
../../async/vec.h: In member function 'const typename vec_base<T,
N>::elm_t& vec<T, N>::front() const':
../../async/vec.h:163: error: 'firstp' was not declared in this scope
../../async/vec.h: In member function 'typename vec_base<T, N>::elm_t&
vec<T, N>::back()':
../../async/vec.h:164: error: 'lastp' was not declared in this scope
../../async/vec.h: In member function 'const typename vec_base<T,
N>::elm_t& vec<T, N>::back() const':
../../async/vec.h:165: error: 'lastp' was not declared in this scope
../../async/vec.h: In member function 'typename vec_base<T, N>::elm_t&
vec<T, N>::operator[](ptrdiff_t)':
../../async/vec.h:167: error: 'firstp' was not declared in this scope
../../async/vec.h: In member function 'const typename vec_base<T,
N>::elm_t& vec<T, N>::operator[](ptrdiff_t) const':
../../async/vec.h:168: error: 'firstp' was not declared in this scope
../../async/vec.h: In member function 'typename vec_base<T, N>::elm_t&
vec<T, N>::push_back()':
../../async/vec.h:170: error: 'lastp' was not declared in this scope
../../async/vec.h: In member function 'typename vec_base<T, N>::elm_t&
vec<T, N>::push_back(const typename vec_base<T, N>::elm_t&)':
../../async/vec.h:172: error: 'lastp' was not declared in this scope
../../async/vec.h: In member function 'typename vec_base<T, N>::elm_t
vec<T, N>::pop_back()':
../../async/vec.h:174: error: 'lastp' was not declared in this scope
../../async/vec.h:174: error: no matching function for call to
'destroy_return(<type error>)'
../../async/vec.h: In member function 'void vec<T, N>::popn_back(size_t)':
../../async/vec.h:177: error: 'lastp' was not declared in this scope
../../async/vec.h: In member function 'typename vec_base<T, N>::elm_t
vec<T, N>::pop_front()':
../../async/vec.h:183: error: 'firstp' was not declared in this scope
../../async/vec.h:183: error: no matching function for call to
'destroy_return(<type error>)'
../../async/vec.h: In member function 'void vec<T, N>::popn_front(size_t)':
../../async/vec.h:186: error: 'firstp' was not declared in this scope
../../async/refcnt.h: In constructor 'ref<T>::ref(T*, refcount*)':
../../async/refcnt.h:412: error: 'p' was not declared in this scope
../../async/refcnt.h: In constructor 'ref<T>::ref(refcounted<U, v>*)':
../../async/refcnt.h:423: error: 'p' was not declared in this scope
../../async/refcnt.h: In copy constructor 'ref<T>::ref(const ref<T>&)':
../../async/refcnt.h:427: error: 'p' was not declared in this scope
../../async/refcnt.h: In constructor 'ref<T>::ref(const ref<U>&)':
../../async/refcnt.h:430: error: 'p' was not declared in this scope
../../async/refcnt.h: In constructor 'ref<T>::ref(const ptr<U>&)':
../../async/refcnt.h:433: error: 'p' was not declared in this scope
../../async/refcnt.h: In member function 'ref<T>&
ref<T>::operator=(refcounted<U, v>*)':
../../async/refcnt.h:438: error: 'p' was not declared in this scope
../../async/refcnt.h: In member function 'ref<T>&
ref<T>::operator=(const ref<T>&)':
../../async/refcnt.h:443: error: 'p' was not declared in this scope
../../async/refcnt.h: In member function 'ref<T>&
ref<T>::operator=(const ref<U>&)':
../../async/refcnt.h:445: error: 'p' was not declared in this scope
../../async/refcnt.h: In member function 'ref<T>&
ref<T>::operator=(const ptr<U>&)':
../../async/refcnt.h:448: error: 'p' was not declared in this scope
../../async/refcnt.h: In member function 'void
ptr<T>::set(refcounted<U, v>*, bool)':
../../async/refcnt.h:467: error: 'p' was not declared in this scope
../../async/refcnt.h:473: error: 'p' was not declared in this scope
../../async/refcnt.h: In constructor 'ptr<T>::ptr()':
../../async/refcnt.h:483: error: 'p' was not declared in this scope
../../async/refcnt.h: In constructor 'ptr<T>::ptr(refpriv::privtype*)':
../../async/refcnt.h:484: error: 'p' was not declared in this scope
../../async/refcnt.h: In copy constructor 'ptr<T>::ptr(const ptr<T>&)':
../../async/refcnt.h:487: error: 'p' was not declared in this scope
../../async/refcnt.h: In constructor 'ptr<T>::ptr(const ptr<U>&)':
../../async/refcnt.h:490: error: 'p' was not declared in this scope
../../async/refcnt.h: In constructor 'ptr<T>::ptr(const ref<U>&)':
../../async/refcnt.h:493: error: 'p' was not declared in this scope
../../async/refcnt.h: In member function 'ptr<T>&
ptr<T>::operator=(refpriv::privtype*)':
../../async/refcnt.h:498: error: 'p' was not declared in this scope
../../async/refcnt.h: In member function 'ptr<T>&
ptr<T>::operator=(const ptr<T>&)':
../../async/refcnt.h:503: error: 'p' was not declared in this scope
../../async/refcnt.h: In member function 'ptr<T>&
ptr<T>::operator=(const ptr<U>&)':
../../async/refcnt.h:505: error: 'p' was not declared in this scope
../../async/refcnt.h: In member function 'ptr<T>&
ptr<T>::operator=(const ref<U>&)':
../../async/refcnt.h:507: error: 'p' was not declared in this scope
../../async/refcnt.h: In destructor 'bssptr<T>::~bssptr()':
../../async/refcnt.h:515: error: there are no arguments to 'Xleak'
that depend on a template parameter, so a declaration of'Xleak' must
be available
cc1plus: warnings being treated as errors
../../async/aerr.C: At global scope:
../../async/aerr.C:136: warning: attributes after parenthesized
initializer ignored
make[2]: *** [aerr.lo] Error 1
make[2]: Leaving directory `/home/amcm/mestrado/sfs-0.7.2/sfs-0.7.2-obj/async'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/amcm/mestrado/sfs-0.7.2/sfs-0.7.2-obj'
make: *** [all-recursive-am] Error 2
Please help me! I don't know what to do....
Thank you in advance!
Best regards,
Ana Monteiro