OSX Lion build error

15 views
Skip to first unread message

Massimiliano Tarquini

unread,
Apr 30, 2012, 10:38:24 AM4/30/12
to protobuf-actionscript3
Dear all,
i'm trying to build Protobuffer as3 on osx lion 64 bit.
Everithing goes ok but the linker gives me back an error.
It seems that not all the classes are built and something is missing.
Thanks for all
Regards
Max


libtool: link: g++ -D_THREAD_SAFE -Wall -Wwrite-strings -Woverloaded-
virtual -Wno-sign-compare -O2 -g -DNDEBUG -D_THREAD_SAFE -o .libs/
protoc main.o -Wl,-bind_at_load ./.libs/libprotobuf.dylib ./.libs/
libprotoc.dylib /Volumes/WORK/Common/protobuf-2.4.1/src/.libs/
libprotobuf.dylib -lz
Undefined symbols for architecture x86_64:
"google::protobuf::compiler::as3::As3Generator::As3Generator()",
referenced from:
_main in main.o
"google::protobuf::compiler::as3::As3Generator::~As3Generator()",
referenced from:
_main in main.o
ld: symbol(s) not found for architecture x86_64
collect2: ld returned 1 exit status
make[2]: *** [protoc] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2

John Murphy

unread,
Mar 7, 2013, 2:55:08 PM3/7/13
to protobuf-ac...@googlegroups.com
I found that i was building against google protobuf 2.5 instead of 2.2

Using v 2.2 resolved the error.
Reply all
Reply to author
Forward
0 new messages