qpid-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andrew Stitcher <astitc...@redhat.com>
Subject Re: Proton revision 1627945 barfs on cmake -DCMAKE_BUILD_TYPE=Debug ..
Date Mon, 29 Sep 2014 16:01:08 GMT
On Sat, 2014-09-27 at 16:18 +0100, Fraser Adams wrote:
> I just updated to r1627945 and when I do
> cmake -DCMAKE_BUILD_TYPE=Debug ..
> make
> I get:
> Linking C shared library libqpid-proton.so
> CMakeFiles/qpid-proton.dir/src/codec/codec.c.o: In function 
> `pni_node_fields':
> /home/fadams/qpid/qpid-trunk/proton/proton-c/src/codec/codec.c:99: 
> undefined reference to `pn_data_node'

Without investigating fully, this looks like it is related to
pn_data_node() being inline. I'd guess that in a debug build nothing is
inlined, but because the function is marked inline no actual routine is
generated for it.

I think pn_data_node() was marked inline recently - perhaps it is not
also marked 'static' which I think might give this error.


To unsubscribe, e-mail: users-unsubscribe@qpid.apache.org
For additional commands, e-mail: users-help@qpid.apache.org

View raw message