digideskio / protobuf-c

Automatically exported from code.google.com/p/protobuf-c
BSD 3-Clause "New" or "Revised" License
0 stars 0 forks source link

build fails, lacking google::protobuf::internal::WireFormat declaration #27

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Install Fedora 11 + updates
2. Install protobuf* packages
3. ./configure ; make

What is the expected output?
successful build

What do you see instead?
The following build output:

if g++ -DPACKAGE_NAME=\"protobuf-c\" -DPACKAGE_TARNAME=\"protobuf-c\"
-DPACKAGE_VERSION=\"0.11\" -DPACKAGE_STRING=\"protobuf-c\ 0.11\"
-DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"protobuf-c\" -DVERSION=\"0.11\"
-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 -DHAVE_INTTYPES_H=1
-DHAVE_SYS_POLL_H=1 -DHAVE_SYS_SELECT_H=1 -DHAVE_ALLOCA_H=1
-DHAVE_MALLOC_H=1 -DPROTOC_VERSION=2002000 -DHAVE_ENDIAN_H=1
-DIS_LITTLE_ENDIAN=1 -I. -I.     -g -O2 -MT c_enum_field.o -MD -MP -MF
".deps/c_enum_field.Tpo" -c -o c_enum_field.o `test -f
'google/protobuf/compiler/c/c_enum_field.cc' || echo
'./'`google/protobuf/compiler/c/c_enum_field.cc; \
    then mv -f ".deps/c_enum_field.Tpo" ".deps/c_enum_field.Po"; else rm -f
".deps/c_enum_field.Tpo"; exit 1; fi
google/protobuf/compiler/c/c_enum_field.cc:26:45: error:
google/protobuf/wire_format_inl.h: No such file or directory
google/protobuf/compiler/c/c_enum_field.cc:33: error:
‘google::protobuf::internal::WireFormat’ has not been declared
make[2]: *** [c_enum_field.o] Error 1
make[2]: Leaving directory `/spare/tmp/protobuf-c-0.11/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/spare/tmp/protobuf-c-0.11/src'
make: *** [all-recursive] Error 1

What version of the product are you using? On what operating system?
protobuf-c-0.11.tar.gz

Fedora 11/x86-64

Please provide any additional information below.

[jgarzik@bd protobuf-c-0.11]$ rpm -qa | grep protob | sort
protobuf-2.2.0-2.fc11.x86_64
protobuf-compiler-2.2.0-2.fc11.x86_64
protobuf-devel-2.2.0-2.fc11.x86_64
protobuf-lite-2.2.0-2.fc11.x86_64
protobuf-lite-devel-2.2.0-2.fc11.x86_64

Original issue reported on code.google.com by jgar...@gmail.com on 7 Nov 2009 at 7:41

GoogleCodeExporter commented 8 years ago
I fixed it in http://code.google.com/p/protobuf-c/issues/detail?id=28#c2

Original comment by ivaxer on 9 Nov 2009 at 8:40

GoogleCodeExporter commented 8 years ago
fixed in 0.12.   thanks!

Original comment by lahike...@gmail.com on 24 Jan 2010 at 5:12