make -j 2
Scanning dependencies of target onion
Scanning dependencies of target onion_static
[ 1%] [ 1%] Building C object src/onion/CMakeFiles/onion_static.dir/low_util.c.o
Building C object src/onion/CMakeFiles/onion.dir/low_util.c.o
In file included from /usr/src/Libs/onion/src/onion/low_util.c:39:0:
/usr/src/Libs/onion/src/onion/low_util.h:110:5: warning: ‘noreturn’ attribute ignored [-Wattributes]
;
^
In file included from /usr/src/Libs/onion/src/onion/low_util.c:39:0:
/usr/src/Libs/onion/src/onion/low_util.h:110:5: warning: ‘noreturn’ attribute ignored [-Wattributes]
;
^
/usr/src/Libs/onion/src/onion/low_util.c:289:2: warning: #warning this is the end of low_util.c [-Wcpp]
#warning this is the end of low_util.c
^
/usr/src/Libs/onion/src/onion/low_util.c:289:2: warning: #warning this is the end of low_util.c [-Wcpp]
#warning this is the end of low_util.c
^
Linking C shared library libonion.so
Linking C static library libonion_static.a
[ 13%] Built target onion_static
[ 17%] Built target onion_handlers_static
[ 30%] Built target onion
[ 31%] Built target onion_extras
[ 34%] Built target onioncpp
[ 38%] Built target onioncpp_static
Linking C executable opack
[ 38%] Built target crl
Linking C executable otemplate
CMakeFiles/opack.dir/__/__/src/onion/dict.c.o: In function `onion_dict_new':
dict.c:(.text+0x1bc): undefined reference to `onionlow_calloc'
CMakeFiles/opack.dir/__/__/src/onion/dict.c.o: In function `onion_dict_node_data_free':
dict.c:(.text+0x2ec): undefined reference to `onionlow_free'
CMakeFiles/opack.dir/__/__/src/onion/dict.c.o: In function `onion_dict_node_add':
dict.c:(.text+0x3c9): undefined reference to `onionlow_free'
CMakeFiles/opack.dir/__/__/src/onion/dict.c.o: In function `onion_dict_node_remove':
dict.c:(.text+0x63d): undefined reference to `onionlow_free'
CMakeFiles/opack.dir/__/__/src/onion/dict.c.o: In function `onion_dict_add':
dict.c:(.text+0x782): undefined reference to `onionlow_malloc'
dict.c:(.text+0x801): undefined reference to `onionlow_strdup'
dict.c:(.text+0x814): undefined reference to `onionlow_strdup'
CMakeFiles/opack.dir/__/__/src/onion/dict.c.o: In function `onion_dict_json_preorder':
dict.c:(.text+0xc83): undefined reference to `onionlow_free'
dict.c:(.text+0xcbc): undefined reference to `onionlow_free'
CMakeFiles/opack.dir/__/__/src/onion/dict.c.o: In function `onion_dict_free':
dict.c:(.text+0x29e): undefined reference to `onionlow_free'
CMakeFiles/opack.dir/__/__/src/onion/dict.c.o: In function `onion_dict_node_data_free':
dict.c:(.text+0x2cb): undefined reference to `onionlow_free'
CMakeFiles/opack.dir/__/__/src/onion/dict.c.o: In function `onion_dict_node_free':
dict.c:(.text+0x32d): undefined reference to `onionlow_free'
CMakeFiles/opack.dir/__/__/src/onion/block.c.o: In function `onion_block_new':
block.c:(.text+0x7): undefined reference to `onionlow_malloc'
block.c:(.text+0x14): undefined reference to `onionlow_scalar_malloc'
CMakeFiles/opack.dir/__/__/src/onion/block.c.o: In function `onion_block_free':
block.c:(.text+0x38): undefined reference to `onionlow_free'
CMakeFiles/opack.dir/__/__/src/onion/block.c.o: In function `onion_block_min_maxsize':
block.c:(.text+0x77): undefined reference to `onionlow_realloc'
CMakeFiles/opack.dir/__/__/src/onion/block.c.o: In function `onion_block_add_char':
block.c:(.text+0xef): undefined reference to `onionlow_realloc'
CMakeFiles/opack.dir/__/__/src/onion/block.c.o: In function `onion_block_add_data':
block.c:(.text+0x18d): undefined reference to `onionlow_scalar_malloc'
block.c:(.text+0x1c1): undefined reference to `onionlow_free'
CMakeFiles/opack.dir/__/__/src/onion/block.c.o: In function `onion_block_free':
block.c:(.text+0x41): undefined reference to `onionlow_free'
CMakeFiles/opack.dir/__/__/src/onion/codecs.c.o: In function `onion_base64_decode':
codecs.c:(.text+0xb3): undefined reference to `onionlow_scalar_malloc'
codecs.c:(.text+0xeb): undefined reference to `onionlow_scalar_malloc'
CMakeFiles/opack.dir/__/__/src/onion/codecs.c.o: In function `onion_base64_encode':
codecs.c:(.text+0x291): undefined reference to `onionlow_malloc'
CMakeFiles/opack.dir/__/__/src/onion/codecs.c.o: In function `onion_quote_new':
codecs.c:(.text+0x788): undefined reference to `onionlow_scalar_malloc'
CMakeFiles/opack.dir/__/__/src/onion/codecs.c.o: In function `onion_c_quote_new':
codecs.c:(.text+0x941): undefined reference to `onionlow_scalar_malloc'
CMakeFiles/opack.dir/__/__/src/onion/codecs.c.o: In function `onion_html_quote':
codecs.c:(.text+0xaa4): undefined reference to `onionlow_scalar_malloc'
collect2: error: ld returned 1 exit status
make[2]: *** [tools/opack/opack] Error 1
make[1]: *** [tools/opack/CMakeFiles/opack.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
CMakeFiles/otemplate.dir/__/__/src/onion/block.c.o: In function `onion_block_new':
block.c:(.text+0x7): undefined reference to `onionlow_malloc'
block.c:(.text+0x14): undefined reference to `onionlow_scalar_malloc'
CMakeFiles/otemplate.dir/__/__/src/onion/block.c.o: In function `onion_block_free':
block.c:(.text+0x38): undefined reference to `onionlow_free'
CMakeFiles/otemplate.dir/__/__/src/onion/block.c.o: In function `onion_block_min_maxsize':
block.c:(.text+0x77): undefined reference to `onionlow_realloc'
CMakeFiles/otemplate.dir/__/__/src/onion/block.c.o: In function `onion_block_add_char':
block.c:(.text+0xef): undefined reference to `onionlow_realloc'
CMakeFiles/otemplate.dir/__/__/src/onion/block.c.o: In function `onion_block_add_data':
block.c:(.text+0x18d): undefined reference to `onionlow_scalar_malloc'
block.c:(.text+0x1c1): undefined reference to `onionlow_free'
CMakeFiles/otemplate.dir/__/__/src/onion/block.c.o: In function `onion_block_free':
block.c:(.text+0x41): undefined reference to `onionlow_free'
CMakeFiles/otemplate.dir/__/__/src/onion/codecs.c.o: In function `onion_base64_decode':
codecs.c:(.text+0xb3): undefined reference to `onionlow_scalar_malloc'
codecs.c:(.text+0xeb): undefined reference to `onionlow_scalar_malloc'
CMakeFiles/otemplate.dir/__/__/src/onion/codecs.c.o: In function `onion_base64_encode':
codecs.c:(.text+0x291): undefined reference to `onionlow_malloc'
CMakeFiles/otemplate.dir/__/__/src/onion/codecs.c.o: In function `onion_quote_new':
codecs.c:(.text+0x788): undefined reference to `onionlow_scalar_malloc'
CMakeFiles/otemplate.dir/__/__/src/onion/codecs.c.o: In function `onion_c_quote_new':
codecs.c:(.text+0x941): undefined reference to `onionlow_scalar_malloc'
CMakeFiles/otemplate.dir/__/__/src/onion/codecs.c.o: In function `onion_html_quote':
codecs.c:(.text+0xac4): undefined reference to `onionlow_scalar_malloc'
CMakeFiles/otemplate.dir/__/__/src/onion/dict.c.o: In function `onion_dict_new':
dict.c:(.text+0x1bf): undefined reference to `onionlow_calloc'
CMakeFiles/otemplate.dir/__/__/src/onion/dict.c.o: In function `onion_dict_node_data_free':
dict.c:(.text+0x27c): undefined reference to `onionlow_free'
CMakeFiles/otemplate.dir/__/__/src/onion/dict.c.o: In function `onion_dict_node_add':
dict.c:(.text+0x359): undefined reference to `onionlow_free'
CMakeFiles/otemplate.dir/__/__/src/onion/dict.c.o: In function `onion_dict_node_remove':
dict.c:(.text+0x5cd): undefined reference to `onionlow_free'
CMakeFiles/otemplate.dir/__/__/src/onion/dict.c.o: In function `onion_dict_add':
dict.c:(.text+0x712): undefined reference to `onionlow_malloc'
dict.c:(.text+0x791): undefined reference to `onionlow_strdup'
dict.c:(.text+0x7a4): undefined reference to `onionlow_strdup'
CMakeFiles/otemplate.dir/__/__/src/onion/dict.c.o: In function `onion_dict_json_preorder':
dict.c:(.text+0xc13): undefined reference to `onionlow_free'
dict.c:(.text+0xc4c): undefined reference to `onionlow_free'
CMakeFiles/otemplate.dir/__/__/src/onion/dict.c.o: In function `onion_dict_free':
dict.c:(.text+0x231): undefined reference to `onionlow_free'
CMakeFiles/otemplate.dir/__/__/src/onion/dict.c.o: In function `onion_dict_node_data_free':
dict.c:(.text+0x25b): undefined reference to `onionlow_free'
CMakeFiles/otemplate.dir/__/__/src/onion/dict.c.o: In function `onion_dict_node_free':
dict.c:(.text+0x2bd): undefined reference to `onionlow_free'
collect2: error: ld returned 1 exit status
make[2]: *** [tools/otemplate/otemplate] Error 1
make[1]: *** [tools/otemplate/CMakeFiles/otemplate.dir/all] Error 2
make: *** [all] Error 2
Please help about cmake..... Regards.