{"action":"closed","issue":{"url":"https://api.github.com/repos/efficient/libcuckoo/issues/99","repository_url":"https://api.github.com/repos/efficient/libcuckoo","labels_url":"https://api.github.com/repos/efficient/libcuckoo/issues/99/labels{/name}","comments_url":"https://api.github.com/repos/efficient/libcuckoo/issues/99/comments","events_url":"https://api.github.com/repos/efficient/libcuckoo/issues/99/events","html_url":"https://github.com/efficient/libcuckoo/issues/99","id":308267959,"number":99,"title":"unable to compile with gcc for C example","user":{"login":"mmanoj","id":1105057,"avatar_url":"https://avatars2.githubusercontent.com/u/1105057?v=4","gravatar_id":"","url":"https://api.github.com/users/mmanoj","html_url":"https://github.com/mmanoj","followers_url":"https://api.github.com/users/mmanoj/followers","following_url":"https://api.github.com/users/mmanoj/following{/other_user}","gists_url":"https://api.github.com/users/mmanoj/gists{/gist_id}","starred_url":"https://api.github.com/users/mmanoj/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mmanoj/subscriptions","organizations_url":"https://api.github.com/users/mmanoj/orgs","repos_url":"https://api.github.com/users/mmanoj/repos","events_url":"https://api.github.com/users/mmanoj/events{/privacy}","received_events_url":"https://api.github.com/users/mmanoj/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2018-03-24T14:43:43Z","updated_at":"2018-05-26T21:42:18Z","closed_at":"2018-05-26T21:42:18Z","author_association":"NONE","body":"I'm try to compile c example with gcc. However I'm getting below error. Please advice to resolve it.\r\n\r\ngcc -Wall -g -o c_hash c_hash.c -I/opt/libtest/libcuckoo/install/include -rdynamic -L -l/opt/libcuckoo/build/examples/libint_str_table.a -L -l/opt/libcuckoo/build/examples/libblob_blob_table.a -pthread -std=gnu99\r\n/tmp/ccUwUNxK.o: In function `main':\r\n/lib/c_hash.c:23: undefined reference to `int_str_table_init'\r\n/lib/c_hash.c:28: undefined reference to `int_str_table_insert'\r\n/lib/c_hash.c:39: undefined reference to `int_str_table_find'\r\n/lib/c_hash.c:48: undefined reference to `blob_blob_table_init'\r\n/lib/c_hash.c:52: undefined reference to `blob_blob_table_lock_table'\r\n/lib/c_hash.c:74: undefined reference to `blob_blob_table_locked_table_insert'\r\n/lib/c_hash.c:81: undefined reference to `blob_blob_table_locked_table_cbegin'\r\n/lib/c_hash.c:83: undefined reference to `blob_blob_table_locked_table_cend'\r\n/lib/c_hash.c:96: undefined reference to `blob_blob_table_const_iterator_key'\r\n/lib/c_hash.c:97: undefined reference to `blob_blob_table_const_iterator_mapped'\r\n/lib/c_hash.c:92: undefined reference to `blob_blob_table_const_iterator_increment'\r\n/lib/c_hash.c:91: undefined reference to `blob_blob_table_const_iterator_equal'\r\n/lib/c_hash.c:103: undefined reference to `blob_blob_table_const_iterator_free'\r\n/lib/c_hash.c:104: undefined reference to `blob_blob_table_const_iterator_free'\r\n/lib/c_hash.c:105: undefined reference to `blob_blob_table_locked_table_free'\r\n/lib/c_hash.c:106: undefined reference to `blob_blob_table_free'\r\n/lib/c_hash.c:107: undefined reference to `int_str_table_free'\r\ncollect2: error: ld returned 1 exit status\r\nMakefile:18: recipe for target 'hashtest' failed\r\nmake: *** [hashtest] Error 1"}}
{"actor":{"display_login":"manugoyal"}}