Displaying 4 results from an estimated 4 matches for "dgoogle_protobuf_no_rtti".
2011 Jul 15
2
[LLVMdev] Makefile Question
...ate a .so that I
can load into opt without getting duplicate symbols. Here's what I have
right now:
LIBRARYNAME=previrt
SHARED_LIBRARY=previrt
LINK_COMPONENTS := transformUtils
LINK_LIBS_IN_SHARED=1
include $(LEVEL)/Makefile.common
LIBS += -lprotobuf
CPPFLAGS += -I${HOME}/.root/usr/include -DGOOGLE_PROTOBUF_NO_RTTI
LDFLAGS += -Wl,-L${HOME}/.root/usr/lib/
PROTOC=${HOME}/.root/usr/bin/protoc
I'm pretty sure the problem comes from LINK_LIBS_IN_SHARED, but my code
depends on the google protobuf library so I need to link against that
otherwise I get undefined symbols.
Does anyone know how to solve this probl...
2011 Jul 15
2
[LLVMdev] Makefile Question
...he transformUtils library.
>
> -- John T.
>
>
> LIBRARYNAME=previrt
> SHARED_LIBRARY=previrt
> LINK_COMPONENTS := transformUtils
> LINK_LIBS_IN_SHARED=1
>
> include $(LEVEL)/Makefile.common
>
> LIBS += -lprotobuf
>
> CPPFLAGS += -I${HOME}/.root/usr/include -DGOOGLE_PROTOBUF_NO_RTTI
> LDFLAGS += -Wl,-L${HOME}/.root/usr/lib/
> PROTOC=${HOME}/.root/usr/bin/protoc
>
> I'm pretty sure the problem comes from LINK_LIBS_IN_SHARED, but my code
> depends on the google protobuf library so I need to link against that
> otherwise I get undefined symbols.
>
> Do...
2011 Jul 15
0
[LLVMdev] Makefile Question
...everying in the transformUtils library.
-- John T.
>
> LIBRARYNAME=previrt
> SHARED_LIBRARY=previrt
> LINK_COMPONENTS := transformUtils
> LINK_LIBS_IN_SHARED=1
>
> include $(LEVEL)/Makefile.common
>
> LIBS += -lprotobuf
>
> CPPFLAGS += -I${HOME}/.root/usr/include -DGOOGLE_PROTOBUF_NO_RTTI
> LDFLAGS += -Wl,-L${HOME}/.root/usr/lib/
> PROTOC=${HOME}/.root/usr/bin/protoc
>
> I'm pretty sure the problem comes from LINK_LIBS_IN_SHARED, but my
> code depends on the google protobuf library so I need to link against
> that otherwise I get undefined symbols.
>
>...
2011 Jul 15
0
[LLVMdev] Makefile Question
...>>
>>
>> LIBRARYNAME=previrt
>> SHARED_LIBRARY=previrt
>> LINK_COMPONENTS := transformUtils
>> LINK_LIBS_IN_SHARED=1
>>
>> include $(LEVEL)/Makefile.common
>>
>> LIBS += -lprotobuf
>>
>> CPPFLAGS += -I${HOME}/.root/usr/include -DGOOGLE_PROTOBUF_NO_RTTI
>> LDFLAGS += -Wl,-L${HOME}/.root/usr/lib/
>> PROTOC=${HOME}/.root/usr/bin/protoc
>>
>> I'm pretty sure the problem comes from LINK_LIBS_IN_SHARED, but my code
>> depends on the google protobuf library so I need to link against that
>> otherwise I get undefin...