{"action":"created","issue":{"url":"https://api.github.com/repos/abouillot/HomeAutomation/issues/3","labels_url":"https://api.github.com/repos/abouillot/HomeAutomation/issues/3/labels{/name}","comments_url":"https://api.github.com/repos/abouillot/HomeAutomation/issues/3/comments","events_url":"https://api.github.com/repos/abouillot/HomeAutomation/issues/3/events","html_url":"https://github.com/abouillot/HomeAutomation/issues/3","id":59408567,"number":3,"title":"issues compiling","user":{"login":"mhortman","id":6402078,"avatar_url":"https://avatars.githubusercontent.com/u/6402078?v=3","gravatar_id":"","url":"https://api.github.com/users/mhortman","html_url":"https://github.com/mhortman","followers_url":"https://api.github.com/users/mhortman/followers","following_url":"https://api.github.com/users/mhortman/following{/other_user}","gists_url":"https://api.github.com/users/mhortman/gists{/gist_id}","starred_url":"https://api.github.com/users/mhortman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mhortman/subscriptions","organizations_url":"https://api.github.com/users/mhortman/orgs","repos_url":"https://api.github.com/users/mhortman/repos","events_url":"https://api.github.com/users/mhortman/events{/privacy}","received_events_url":"https://api.github.com/users/mhortman/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":10,"created_at":"2015-03-01T17:40:11Z","updated_at":"2015-03-04T20:15:11Z","closed_at":null,"body":" g++ Gateway.c rfm69.cpp -o Gateway -lwiringPi -lmosquitto -DRASPBERRY -DDEBUG\r\n/tmp/cc3NtBaU.o: In function `main':\r\nGateway.c:(.text+0x11c): undefined reference to `RFM69::initialize(unsigned char, unsigned ch\\\r\nar, unsigned char)'\r\nGateway.c:(.text+0x130): undefined reference to `RFM69::setHighPower(bool)'\r\nGateway.c:(.text+0x144): undefined reference to `RFM69::encrypt(char const*)'\r\nGateway.c:(.text+0x160): undefined reference to `RFM69::promiscuous(bool)'\r\n/tmp/cc3NtBaU.o: In function `run_loop(mosquitto*)':\r\nGateway.c:(.text+0x1f4): undefined reference to `RFM69::receiveDone()'\r\nGateway.c:(.text+0x40c): undefined reference to `RFM69::sendACK(void const*, unsigned char)'\r\nGateway.c:(.text+0x550): undefined reference to `RFM69::SENDERID'\r\nGateway.c:(.text+0x55c): undefined reference to `RFM69::TARGETID'\r\nGateway.c:(.text+0x564): undefined reference to `RFM69::DATA'\r\nGateway.c:(.text+0x56c): undefined reference to `RFM69::DATALEN'\r\nGateway.c:(.text+0x57c): undefined reference to `RFM69::RSSI'\r\nGateway.c:(.text+0x588): undefined reference to `RFM69::ACK_REQUESTED'\r\n/tmp/cc3NtBaU.o: In function `RFM69::RFM69(unsigned char, unsigned char, bool, unsigned char)\\\r\n':\r\nGateway.c:(.text._ZN5RFM69C2Ehhbh[_ZN5RFM69C5Ehhbh]+0x90): undefined reference to `vtable for\\\r\n RFM69'\r\nGateway.c:(.text._ZN5RFM69C2Ehhbh[_ZN5RFM69C5Ehhbh]+0x94): undefined reference to `RFM69::_mo\\\r\nde'\r\ncollect2: ld returned 1 exit status\r\npi@raspberrypi:~/piGateway/HomeAutomation/piGateway$ ls\r\nGateway.c  readme.md  rfm69.cpp  rfm69.h  rfm69registers.h\r\n"},"comment":{"url":"https://api.github.com/repos/abouillot/HomeAutomation/issues/comments/77236997","html_url":"https://github.com/abouillot/HomeAutomation/issues/3#issuecomment-77236997","issue_url":"https://api.github.com/repos/abouillot/HomeAutomation/issues/3","id":77236997,"user":{"login":"Gizzbert","id":11303100,"avatar_url":"https://avatars.githubusercontent.com/u/11303100?v=3","gravatar_id":"","url":"https://api.github.com/users/Gizzbert","html_url":"https://github.com/Gizzbert","followers_url":"https://api.github.com/users/Gizzbert/followers","following_url":"https://api.github.com/users/Gizzbert/following{/other_user}","gists_url":"https://api.github.com/users/Gizzbert/gists{/gist_id}","starred_url":"https://api.github.com/users/Gizzbert/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Gizzbert/subscriptions","organizations_url":"https://api.github.com/users/Gizzbert/orgs","repos_url":"https://api.github.com/users/Gizzbert/repos","events_url":"https://api.github.com/users/Gizzbert/events{/privacy}","received_events_url":"https://api.github.com/users/Gizzbert/received_events","type":"User","site_admin":false},"created_at":"2015-03-04T20:15:11Z","updated_at":"2015-03-04T20:15:11Z","body":"verbosifying the output of gateway.c gives me:\r\nListening at 915 Mhz...setup complete\r\nconnection refused code 1 unacceptable protocol version)\r\n(code from http://mosquitto.org/api/files/mosquitto-h.html#mosquitto_connect_callback_set)\r\n\r\nUpon running the command in the walkthrough in this repo, I run into several glitches:\r\nsudo wget http://repo.mosquitto.org/debian/mosquitto-stable.list does not exist, so I used the repo-list, so:\r\nsudo wget http://repo.mosquitto.org/debian/mosquitto-repo.list\r\n\r\nthen I get an error due to a dependency:\r\nThe following packages have unmet dependencies:\r\n libmosquitto-dev : Depends: libmosquitto1 (>= 1.4-0mosquitto2~nows) but 1.3.5-0mosquitto1 is to be installed\r\nE: Unable to correct problems, you have held broken packages.\r\n\r\n"}}