qpid-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Fraser Adams <fraser.ad...@blueyonder.co.uk>
Subject Proton revision 1627945 barfs on cmake -DCMAKE_BUILD_TYPE=Debug ..
Date Sat, 27 Sep 2014 15:18:30 GMT
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'
CMakeFiles/qpid-proton.dir/src/codec/codec.c.o: In function 
`pni_node_index':
/home/fadams/qpid/qpid-trunk/proton/proton-c/src/codec/codec.c:117: 
undefined reference to `pn_data_node'
CMakeFiles/qpid-proton.dir/src/codec/codec.c.o: In function 
`pni_inspect_enter':
/home/fadams/qpid/qpid-trunk/proton/proton-c/src/codec/codec.c:254: 
undefined reference to `pn_data_node'
/home/fadams/qpid/qpid-trunk/proton/proton-c/src/codec/codec.c:256: 
undefined reference to `pn_data_node'
CMakeFiles/qpid-proton.dir/src/codec/codec.c.o: In function 
`pni_next_nonnull':
/home/fadams/qpid/qpid-trunk/proton/proton-c/src/codec/codec.c:303: 
undefined reference to `pn_data_node'
CMakeFiles/qpid-proton.dir/src/codec/codec.c.o:/home/fadams/qpid/qpid-trunk/proton/proton-c/src/codec/codec.c:315:

more undefined references to `pn_data_node' follow
collect2: ld returned 1 exit status
make[2]: *** [proton-c/libqpid-proton.so.2.0.0] Error 1
make[1]: *** [proton-c/CMakeFiles/qpid-proton.dir/all] Error 2
make: *** [all] Error 2


when I do:
rm CMakeCache.txt
cmake ..
make

It makes fine, so RelWithDebInfo seems OK, but Debug not


Not a show-stopper, but a bit weird.......
Frase


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


Mime
View raw message