Re: svn_client_cat2' was not declared in this scope

Alexander Mueller <[email protected]>
Newsgroups gmane.comp.version-control.subversion.rapidsvn.user
Message-ID <[email protected]>
This looks a lot like you dont have the development package of 
subversion installed, so the subversion headers are not in place.

Alex


joey blow schrieb:
> Hi,
> 
> I'm get the above error when trying to compile on centos 4.7.
> 
> libtool: compile:  g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"rapidsvn\" -DVERSION=\"0.9.8\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -I. -I/downloads/rapidsvn-0.9.8/include -Wall -fexceptions -DLINUX=2 -D_REENTRANT -D_GNU_SOURCE -I/usr/include/apr-0 -I/usr/include/apr-0 -I/usr/include/subversion-1 -I/usr/local/lib/wx/include/gtk2-ansi-release-2.8 -I/usr/local/include/wx-2.8 -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -D_LARGEFILE_SOURCE=1 -D__WXGTK__ -g -O2 -Wall -fexceptions -I/usr/local/lib/wx/include/gtk2-ansi-release-2.8 
 -I/usr/local/include/wx-2.8 -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -D_LARGEFILE_SOURCE=1 -D__WXGTK__ -pthread -MT client_cat.lo -MD -MP -MF .deps/client_cat.Tpo -c client_cat.cpp  -fPIC -DPIC
 -o .libs/client_cat.o
> In file included from client_cat.cpp:38:
> /downloads/rapidsvn-0.9.8/include/svncpp/status.hpp:50: error: expected `,' or `...' before '*' token
> /downloads/rapidsvn-0.9.8/include/svncpp/status.hpp:50: error: ISO C++ forbids declaration of `svn_wc_status2_t' with no type
> /downloads/rapidsvn-0.9.8/include/svncpp/status.hpp:50: error: default argument missing for parameter 2 of `svn::Status::Status(const char*, int)'
> client_cat.cpp: In member function `std::string svn::Client::cat(const svn::Path&, const svn::Revision&, const svn::Revision&)':
> client_cat.cpp:59: error: `svn_client_cat2' was not declared in this scope
> client_cat.cpp:59: warning: unused variable 'svn_client_cat2'
> client_cat.cpp: In member function `void svn::Client::get(svn::Path&, const svn::Path&, const svn::Revision&, const svn::Revision&)':
> client_cat.cpp:161: error: `svn_client_cat2' was not declared in this scope
> client_cat.cpp:161: warning: unused variable 'svn_client_cat2'
> make[2]: *** [client_cat.lo] Error 1
> 
> ------------------------------------------------------
> http://rapidsvn.tigris.org/ds/viewMessage.do?dsForumId=671&dsMessageId=1824918
> 
> To unsubscribe from this discussion, e-mail: [[email protected]].

------------------------------------------------------
http://rapidsvn.tigris.org/ds/viewMessage.do?dsForumId=671&dsMessageId=1831323

To unsubscribe from this discussion, e-mail: [[email protected]].
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.