I am trying to build google protocol buffers in linux, and then link it into a build.
for configure options, I am passing in --prefix=SOME_LOCAL_DIRECTORY make, make check, and make install all work just fine, and the library files are chilling in SOME_LOCAL_DIRECTORY. Elsewhere, I have a crazy folder heirarchy //one_folder/another/ and_another/CompileDirectory/ I copy the built protocol buffers library files from SOME_LOCAL_DIRECTORY and move them to /CompileDirectory/libs /CompileDirectory/includes has the include files In the makefile in CompileDirectory, I specific /CompileDirectory/libs for linking, and -lprotobuf Everything builds just fine, but during linking, I get a billion "undefined reference" errors. Clearly it is not linking properly with the library file. I went into the libs directory and "nm libprotobuf.a" and I see the symbols are properly published. Anyone have any ideas why its not properly linking libprotobuf.a? Is it a ./configfure option I am missing? -- You received this message because you are subscribed to the Google Groups "Protocol Buffers" group. To post to this group, send email to protobuf@googlegroups.com. To unsubscribe from this group, send email to protobuf+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/protobuf?hl=en.