Re: [protobuf] Linker issues: undefined reference to `a_message__get_packed_size'

2011-01-04 Thread Kenton Varda
The author of protobuf-c might not read this list. You might want to e-mail him directly. But I would suggest looking at the contents of tut.pb-c.c to see whether it actually defines a_message__pack. Maybe the problem will be obvious. On Tue, Dec 28, 2010 at 3:08 PM, Suhail Doshi

[protobuf] Linker issues: undefined reference to `a_message__get_packed_size'

2010-12-28 Thread Suhail Doshi
I am using the protobuf-c extension out there. Getting the following errors: gcc tut.c tut.pb-c.c -o tut -lprotobuf-c -lprotobuf -lpthread /tmp/ccBHwTBl.o: In function `main': tut.c:(.text+0xab): undefined reference to `a_message__get_packed_size' tut.c:(.text+0xcc): undefined reference to