[Barry-devel] Problems compiling Barry Alpha on SuSe
Status: Beta
Brought to you by:
ndprojects
From: ViVeRANT <pe...@vi...> - 2006-07-02 23:42:49
|
Hello, I have followed the installation notes and installed the libusb-dev 20051126, but when editing Makefile.conf and replacing the following: LIBUSBINC = /usr/local/lib LDFLAGS = /usr/local/lib/libusb.a -lpthread $(LDDEBUG) with the location of the libusb files I run into an error when running make: g++ -ansi -Wall -I/usr/local/lib -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>]’: 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::Message, Storage = Store<Barry::Message>]’: 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::Contact, Storage = Store<Barry::Contact>]’: 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 make: *** [btool.o] Error 1 I looked in parser.h on lines 115 and 120 and they reference the following: recordsize = sizeof(Record::ProtocolRecordType); recordsize = sizeof(Record::OldProtocolRecordType); I honestly don't have much of a development background so I don't know what this means but I am really interested in helping out the project in any way possible. I do have a good understanding of the Bypass communication that I see you eventually plan to implement in the Controller code so if I could help with that eventually I will. If you need me to run make with any specific switches or need anything from my machine to understand why I am getting these errors please let me know. Thanks! |