Thanks, It looks like there needs to be a header include on some platforms. I'll try to get a patch checked in tomorrow.
Scott On Fri, Apr 9, 2010 at 2:33 PM, MoD <w...@ant.com> wrote: > Dear Dev, > > I just joining the group as tester for production integration of > branch release 1.4.0 > > I use: > Linux ios 2.6.32-ARCH #1 SMP PREEMPT Mon Mar 15 20:44:03 CET 2010 > x86_64 Intel(R) Core(TM) i7 CPU 940 @ 2.93GHz GenuineIntel GNU/Linux > > Thu Apr 8 16:48:19 2010 UTC (28 hours, 31 minutes ago) by sbanacho > > $ svn co http://svn.apache.org/repos/asf/hadoop/avro/trunk > $ cd trunk > $ ./build.sh test > compile: g++ -DPACKAGE_NAME=\"avro-cpp\" > -DPACKAGE_TARNAME=\"avro-cpp\" -DPACKAGE_VERSION=\"1.4.0-SNAPSHOT\" > "-DPACKAGE_STRING=\"avro-cpp 1.4.0-SNAPSHOT\"" > -DPACKAGE_BUGREPORT=\"avro-de...@apache.org\" -DPACKAGE_URL=\"\" > -DPACKAGE=\"avro-cpp\" -DVERSION=\"1.4.0-SNAPSHOT\" -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/\" -DYYTEXT_POINTER=1 > "-DHAVE_BOOST=/**/" "-DHAVE_BOOST_REGEX=/**/" > "-DHAVE_BOOST_THREAD=/**/" "-DHAVE_BOOST_SYSTEM=/**/" > -DHAVE_ALLOCA_H=1 -DHAVE_ALLOCA=1 -DSTDC_HEADERS=1 -DHAVE_INTTYPES_H=1 > -DHAVE_LIBINTL_H=1 -DHAVE_MALLOC_H=1 -DHAVE_STDDEF_H=1 > -DHAVE_STDINT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 > -DHAVE_UNISTD_H=1 -DHAVE__BOOL=1 -DHAVE_STDBOOL_H=1 -DHAVE_STDLIB_H=1 > -DHAVE_MALLOC=1 -DHAVE_STDLIB_H=1 -DHAVE_REALLOC=1 -DHAVE_MEMSET=1 -I. > -I../../lang/c++ -I../../lang/c++/api -pthread -I/usr/include -Wall > -Werror -Wno-invalid-offsetof -g -O2 -MT Resolver.lo -MD -MP -MF > .deps/Resolver.Tpo -c ../../lang/c++/impl/Resolver.cc -fPIC -DPIC -o > .libs/Resolver.o > In file included from ../../lang/c++/api/buffer/BufferReader.hh:4, > from ../../lang/c++/api/Reader.hh:28, > from ../../lang/c++/impl/Resolver.cc:24: > ../../lang/c++/api/buffer/Buffer.hh: In function ‘void > avro::toIovec(BufferType&, std::vector<avro::iovec, > std::allocator<avro::iovec> >&)’: > ../../lang/c++/api/buffer/Buffer.hh:495: error: invalid use of > incomplete type ‘struct avro::iovec’ > ../../lang/c++/api/buffer/Buffer.hh:489: error: forward declaration of > ‘struct avro::iovec’ > ../../lang/c++/api/buffer/Buffer.hh:496: error: invalid use of > incomplete type ‘struct avro::iovec’ > ../../lang/c++/api/buffer/Buffer.hh:489: error: forward declaration of > ‘struct avro::iovec’ > > I won't investigate any further, tell me if you need more info about > my installed build packages. > > Second problem is during > $ ./build.sd dist > /home/mod/@tmp/avro/trunk/lang/java/build.xml:331: Unknown licenses: > See build/rat-report.log. > > ******************************* > > Unapproved licenses: > > > > /home/mod/@tmp/avro/trunk/build/avro-src-1.4.0-SNAPSHOT/lang/c++/api/buffer/Buffer.hh > > > /home/mod/@tmp/avro/trunk/build/avro-src-1.4.0-SNAPSHOT/lang/c++/api/buffer/BufferPrint.hh > > > /home/mod/@tmp/avro/trunk/build/avro-src-1.4.0-SNAPSHOT/lang/c++/api/buffer/BufferReader.hh > > > /home/mod/@tmp/avro/trunk/build/avro-src-1.4.0-SNAPSHOT/lang/c++/api/buffer/BufferStream.hh > > > /home/mod/@tmp/avro/trunk/build/avro-src-1.4.0-SNAPSHOT/lang/c++/api/buffer/BufferStreambuf.hh > > > /home/mod/@tmp/avro/trunk/build/avro-src-1.4.0-SNAPSHOT/lang/c++/api/buffer/detail/BufferDetail.hh > > > /home/mod/@tmp/avro/trunk/build/avro-src-1.4.0-SNAPSHOT/lang/c++/api/buffer/detail/BufferDetailIterator.hh > > > /home/mod/@tmp/avro/trunk/build/avro-src-1.4.0-SNAPSHOT/lang/c++/test/buffertest.cc > > > /home/mod/@tmp/avro/trunk/build/avro-src-1.4.0-SNAPSHOT/lang/ruby/test/test_datafile.rb > > ******************************* > > I'm moving on ruby and Java > > Kind Regards, > Louis >