[Barry-devel] Re: trouble compiling
Status: Beta
Brought to you by:
ndprojects
From: Steve Paras-C. <st...@fa...> - 2005-12-30 03:33:50
|
Again, thanks Chris for the pointer and date of the libusb devel tree. I'm now getting what appear to be C++ syntax issues. Perhaps I'm using a different version of g++? g++ -ansi -Wall -I/usr/src/libusb/src -g -c -o btool.o btool.cc parser.h: In member function 'bool Barry::RecordParser<Record, Storage>::CheckHeaderSize(const Data&, unsigned int) [with Record = Barry::Contact, Storage = Contact2Ldif]': btool.cc:232: instantiated from here parser.h:115: error: dependent-name 'Record::ProtocolRecordType' is parsed as a non-type, but instantiation yields a type parser.h:115: note: say 'typename Record::ProtocolRecordType' if a type is meant parser.h:120: error: dependent-name 'Record::OldProtocolRecordType' is parsed as a non-type, but instantiation yields a type parser.h:120: note: say 'typename Record::OldProtocolRecordType' if a type is meant parser.h: In member function 'bool Barry::RecordParser<Record, Storage>::CheckHeaderSize(const Data&, unsigned int) [with Record = Barry::Calendar, Storage = Store<Barry::Calendar>]': This repeats for several places in this file... Here's my g++ info... root@yu:/usr/src/barry-0.0.1/src # g++ --v Using built-in specs. Target: i486-linux-gnu Configured with: ../src/configure -v --enable-languages=c,c++,java,f95,objc,ada,treelang --prefix=/usr --with-gxx-include-dir=/usr/include/c++/4.0.2 --enable-shared --with-system-zlib --libexecdir=/usr/lib --enable-nls --without-included-gettext --enable-threads=posix --program-suffix=-4.0 --enable-__cxa_atexit --enable-libstdcxx-allocator=mt --enable-clocale=gnu --enable-libstdcxx-debug --enable-java-gc=boehm --enable-java-awt=gtk --enable-gtk-cairo --with-java-home=/usr/lib/jvm/java-1.4.2-gcj-4.0-1.4.2.0/jre --enable-mpfr --disable-werror --enable-checking=release i486-linux-gnu Thread model: posix gcc version 4.0.2 20050808 (prerelease) (Ubuntu 4.0.1-4ubuntu9) Steve Quoting Chris Frey <cd...@fo...>: > On Thu, Dec 29, 2005 at 01:02:20PM -0800, Steve Paras-Charlton wrote: > > I'm having issues compiling barry. I've got the DEVEL libusb built (not > > installed) and I'v edited the Makefile.conf to point at the build tree and > > built lib, but I get the following compile errors... (this is the head of > them, > > there's lots more simmilar stuff). It looks kinda like I've got the wrong > > headers or something, any hints? > > Make sure you have the DEVEL tree from 2005/11/26, which you can get with: > > cvs -d :pserver:ano...@cv...:/cvsroot/libusb \ > co -r V1_0_DEVEL -d libusb-1_0_devel libusb > cd libusb-1_0_devel > cvs update -Pd -r V1_0_DEVEL -D 2005/11/26 > > Barry 0.0.1 still uses the old new tree. :-) And libusb DEVEL is going > through > an API change. > > More info here on compiling Barry: > http://sourceforge.net/mailarchive/forum.php?thread_id=9267343&forum_id=47045 > > Please join the Barry mailing list so we don't get too off-topic for the > good libusb folks. > > - Chris > > ---------------------------------------------------------------- This message was sent using IMP, the Internet Messaging Program. |