{"action":"created","issue":{"url":"https://api.github.com/repos/0xsky/xredis/issues/4","repository_url":"https://api.github.com/repos/0xsky/xredis","labels_url":"https://api.github.com/repos/0xsky/xredis/issues/4/labels{/name}","comments_url":"https://api.github.com/repos/0xsky/xredis/issues/4/comments","events_url":"https://api.github.com/repos/0xsky/xredis/issues/4/events","html_url":"https://github.com/0xsky/xredis/issues/4","id":147202506,"number":4,"title":"Error Building Examples","user":{"login":"AO-StreetArt","id":13925538,"avatar_url":"https://avatars.githubusercontent.com/u/13925538?v=3","gravatar_id":"","url":"https://api.github.com/users/AO-StreetArt","html_url":"https://github.com/AO-StreetArt","followers_url":"https://api.github.com/users/AO-StreetArt/followers","following_url":"https://api.github.com/users/AO-StreetArt/following{/other_user}","gists_url":"https://api.github.com/users/AO-StreetArt/gists{/gist_id}","starred_url":"https://api.github.com/users/AO-StreetArt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AO-StreetArt/subscriptions","organizations_url":"https://api.github.com/users/AO-StreetArt/orgs","repos_url":"https://api.github.com/users/AO-StreetArt/repos","events_url":"https://api.github.com/users/AO-StreetArt/events{/privacy}","received_events_url":"https://api.github.com/users/AO-StreetArt/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2016-04-10T07:21:42Z","updated_at":"2016-04-13T22:31:03Z","closed_at":null,"body":"Hello,\r\n  I get the following error building the example files (demo.cpp and xredis-example.cpp) on Debian 8:\r\n\r\nalex@Odysseus:~/Documents/Documents/cpp/xredis/xredis/examples$ g++ -lxredis -I /usr/local/include/xredis -o example xredis-example.cpp \r\nxredis-example.cpp:28:11: error: expected initializer before ‘RedisList1’\r\n RedisNode RedisList1[3]=\r\n"},"comment":{"url":"https://api.github.com/repos/0xsky/xredis/issues/comments/209675057","html_url":"https://github.com/0xsky/xredis/issues/4#issuecomment-209675057","issue_url":"https://api.github.com/repos/0xsky/xredis/issues/4","id":209675057,"user":{"login":"AO-StreetArt","id":13925538,"avatar_url":"https://avatars.githubusercontent.com/u/13925538?v=3","gravatar_id":"","url":"https://api.github.com/users/AO-StreetArt","html_url":"https://github.com/AO-StreetArt","followers_url":"https://api.github.com/users/AO-StreetArt/followers","following_url":"https://api.github.com/users/AO-StreetArt/following{/other_user}","gists_url":"https://api.github.com/users/AO-StreetArt/gists{/gist_id}","starred_url":"https://api.github.com/users/AO-StreetArt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AO-StreetArt/subscriptions","organizations_url":"https://api.github.com/users/AO-StreetArt/orgs","repos_url":"https://api.github.com/users/AO-StreetArt/repos","events_url":"https://api.github.com/users/AO-StreetArt/events{/privacy}","received_events_url":"https://api.github.com/users/AO-StreetArt/received_events","type":"User","site_admin":false},"created_at":"2016-04-13T22:31:03Z","updated_at":"2016-04-13T22:31:03Z","body":"Fixed a few other problems with the demo.cpp, will submit a pull request.\r\n\r\nNow seeing the below error, am I missing a dependency?\r\n\r\n'alex@Odysseus:~/Documents/Documents/cpp/xredis/xredis/examples$ g++ -lxredis -I /usr/local/include/xredis -o demo demo.cpp \r\n//usr/local/lib/libxredis.so: undefined reference to `redisCommandArgv'\r\n//usr/local/lib/libxredis.so: undefined reference to `pthread_mutexattr_settype'\r\n//usr/local/lib/libxredis.so: undefined reference to `freeReplyObject'\r\n//usr/local/lib/libxredis.so: undefined reference to `redisConnectWithTimeout'\r\n//usr/local/lib/libxredis.so: undefined reference to `redisFree'\r\n//usr/local/lib/libxredis.so: undefined reference to `pthread_mutexattr_init'\r\n//usr/local/lib/libxredis.so: undefined reference to `redisvCommand'\r\n//usr/local/lib/libxredis.so: undefined reference to `redisCommand'\r\ncollect2: error: ld returned 1 exit status'"}}