shiyilei / protobuf-c

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

Add libprotobuf to src/Makefile #7

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. link error when building protoc-c

What is the expected output? What do you see instead?
Numerous link errors.  I believe line 230 in src/Makefile needs -lprotobuf
added to it 

What version of the product are you using? On what operating system?
Protobuf 2.0.1 and Protobuf-C 0.3

Please provide any additional information below.

Original issue reported on code.google.com by AdamJMo...@gmail.com on 9 Sep 2008 at 12:14

GoogleCodeExporter commented 8 years ago
i don't reproduce this problem.  Does adding -lprotobuf actually solve it?

It shouldn't be necessary, because of the line:
  libprotoc_la_LIBADD = $(PTHREAD_LIBS) libprotobuf.la
in the core protobuf package (src/Makefile.am, line 92) which should cause
libprotobuf to be pulled in by libtool.

- If adding -lprotobuf solves it, please attach your libprotoc.la file (from 
your
"lib" directory)
- If adding -lprotobuf does not solve it, please attach the errors 'make' 
reports.

Original comment by lahike...@gmail.com on 9 Sep 2008 at 6:16

GoogleCodeExporter commented 8 years ago
Please re-open this bug if it continues to be a problem.

Original comment by lahike...@gmail.com on 12 Sep 2008 at 1:52