Hi Everyone, I'm trying to get a new build of Barry up for Fedora today, but it's not looking too promising. I'm getting the following error when I'm trying to build from the latest git:
In file included from cod.cc:24: cod.h:83: error: ISO C++ forbids declaration of ‘uint8_t’ with no type cod.h:83: error: expected ‘,’ or ‘...’ before ‘*’ token cod.cc:118: error: prototype for ‘void Barry::CodFileBuilder::WriteNextHeader(std::ostream&, const uint8_t*, uint32_t)’ does not match any in class ‘Barry::CodFileBuilder’ cod.h:83: error: candidate is: void Barry::CodFileBuilder::WriteNextHeader(std::ostream&, int) make[2]: *** [cod.lo] Error 1 make[2]: *** Waiting for unfinished jobs.... mv -f .deps/bmp.Tpo .deps/bmp.Plo libtool: compile: g++ -DHAVE_CONFIG_H -I.. -ansi -Wall -fno-strict-aliasing -g -D__BARRY_LIBRARY_BUILD__ -D__BARRY_HAVE_GCCVISIBILITY__ -fvisibility=hidden -O2 -g -march=i386 -mtune=i686 -MT data.lo -MD -MP -MF .deps/data.Tpo -c data.cc -o data.o >/dev/null 2>&1 mv -f .deps/data.Tpo .deps/data.Plo make[2]: Leaving directory `/home/Chris/rpmbuild/BUILD/barry-0.15/src' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/home/Chris/rpmbuild/BUILD/barry-0.15' make: *** [all] Error 2 error: Bad exit status from /var/tmp/rpm-tmp.089V27 (%build) Also, I had someone in Fedora submit the attached patch because upon trying to build without the patch, I get the following: base64.cc: In member function ‘int base64_input::operator()()’: base64.cc:41: error: ‘EOF’ was not declared in this scope base64.cc: In function ‘bool encode(base64_input&, base64_output&)’: base64.cc:99: error: ‘EOF’ was not declared in this scope base64.cc: In function ‘int insig(base64_input&)’: base64.cc:138: error: ‘EOF’ was not declared in this scope base64.cc: In function ‘bool decode(base64_input&, base64_output&)’: base64.cc:174: error: ‘EOF’ was not declared in this scope make[2]: *** [base64.lo] Error 1 make[2]: *** Waiting for unfinished jobs.... In file included from usbwrap.h:30, from controller.h:26, from m_mode_base.h:26, from m_javaloader.h:29, from bmp.h:27, from bmp.cc:23: error.h:153: error: ‘uint8_t’ does not name a type error.h:156: error: expected ‘)’ before ‘format’ error.h:161: error: ‘uint8_t’ does not name a type libtool: compile: g++ -DHAVE_CONFIG_H -I.. -ansi -Wall -fno-strict-aliasing -g -D__BARRY_LIBRARY_BUILD__ -D__BARRY_HAVE_GCCVISIBILITY__ -fvisibility=hidden -O2 -g -march=i386 -mtune=i686 -MT time.lo -MD -MP -MF .deps/time.Tpo -c time.cc -o time.o >/dev/null 2>&1 make[2]: *** [bmp.lo] Error 1 mv -f .deps/time.Tpo .deps/time.Plo make[2]: Leaving directory `/home/Chris/rpmbuild/BUILD/barry-0.15/src' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/home/Chris/rpmbuild/BUILD/barry-0.15' make: *** [all] Error 2 error: Bad exit status from /var/tmp/rpm-tmp.Lvk50T (%build) Any help would be greatly appreciated! Chris
barry-includes.patch
Description: Binary data
------------------------------------------------------------------------------ Stay on top of everything new and different, both inside and around Java (TM) technology - register by April 22, and save $200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco. 300 plus technical and hands-on sessions. Register today. Use priority code J9JMT32. http://p.sf.net/sfu/p
_______________________________________________ Barry-devel mailing list Barry-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/barry-devel