{"action":"created","issue":{"url":"https://api.github.com/repos/cnplab/cosmos/issues/12","labels_url":"https://api.github.com/repos/cnplab/cosmos/issues/12/labels{/name}","comments_url":"https://api.github.com/repos/cnplab/cosmos/issues/12/comments","events_url":"https://api.github.com/repos/cnplab/cosmos/issues/12/events","html_url":"https://github.com/cnplab/cosmos/issues/12","id":54387940,"number":12,"title":"errors with make, 'undefined reference'","user":{"login":"Fruglemonkey","id":7358629,"avatar_url":"https://avatars.githubusercontent.com/u/7358629?v=3","gravatar_id":"","url":"https://api.github.com/users/Fruglemonkey","html_url":"https://github.com/Fruglemonkey","followers_url":"https://api.github.com/users/Fruglemonkey/followers","following_url":"https://api.github.com/users/Fruglemonkey/following{/other_user}","gists_url":"https://api.github.com/users/Fruglemonkey/gists{/gist_id}","starred_url":"https://api.github.com/users/Fruglemonkey/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Fruglemonkey/subscriptions","organizations_url":"https://api.github.com/users/Fruglemonkey/orgs","repos_url":"https://api.github.com/users/Fruglemonkey/repos","events_url":"https://api.github.com/users/Fruglemonkey/events{/privacy}","received_events_url":"https://api.github.com/users/Fruglemonkey/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":8,"created_at":"2015-01-14T22:43:48Z","updated_at":"2015-01-19T22:13:29Z","closed_at":null,"body":"Trying to get clickOS up and running, and hitting a brick wall when running the makefile for cosmos. I'm quite new to xen in general so I could just be hitting some really naive error and be unaware of it; if that's the case then please excuse my inexperience.\r\n\r\nHere's the output of the makefile:\r\n\r\n```\r\njeff@JeffSDNLaptop:~/cosmos$ sudo make\r\nmake: *** xen: No such file or directory.  Stop.\r\n  LD  /home/jeff/cosmos/dist/bin/cosmos\r\n/home/jeff/cosmos/build/libcosmos/clickos.o: In function `xenstore_init':\r\nclickos.c:(.text+0xc): undefined reference to `xs_daemon_open'\r\nclickos.c:(.text+0x49): undefined reference to `xs_get_domain_path'\r\n/home/jeff/cosmos/build/libcosmos/clickos.o: In function `clickos_read_handler':\r\nclickos.c:(.text+0x135): undefined reference to `xs_transaction_start'\r\nclickos.c:(.text+0x161): undefined reference to `xs_write'\r\nclickos.c:(.text+0x17d): undefined reference to `xs_transaction_end'\r\nclickos.c:(.text+0x19a): undefined reference to `xs_watch'\r\nclickos.c:(.text+0x1cb): undefined reference to `xs_fileno'\r\nclickos.c:(.text+0x204): undefined reference to `xs_transaction_start'\r\nclickos.c:(.text+0x226): undefined reference to `xs_read'\r\nclickos.c:(.text+0x246): undefined reference to `xs_transaction_end'\r\nclickos.c:(.text+0x28d): undefined reference to `xs_unwatch'\r\nclickos.c:(.text+0x2a2): undefined reference to `xs_transaction_start'\r\nclickos.c:(.text+0x2ce): undefined reference to `xs_write'\r\nclickos.c:(.text+0x2ea): undefined reference to `xs_transaction_end'\r\n/home/jeff/cosmos/build/libcosmos/clickos.o: In function `clickos_write_handler':\r\nclickos.c:(.text+0x3a3): undefined reference to `xs_write'\r\n/home/jeff/cosmos/build/libcosmos/clickos.o: In function `clickos_start':\r\nclickos.c:(.text+0x5c8): undefined reference to `xs_transaction_start'\r\nclickos.c:(.text+0x636): undefined reference to `xs_read'\r\nclickos.c:(.text+0x709): undefined reference to `xs_write'\r\nclickos.c:(.text+0x732): undefined reference to `xs_write'\r\nclickos.c:(.text+0x75b): undefined reference to `xs_set_permissions'\r\nclickos.c:(.text+0x784): undefined reference to `xs_set_permissions'\r\nclickos.c:(.text+0x7bb): undefined reference to `xs_write'\r\nclickos.c:(.text+0x90c): undefined reference to `xs_write'\r\nclickos.c:(.text+0x948): undefined reference to `xs_transaction_end'\r\nclickos.c:(.text+0x96f): undefined reference to `xs_transaction_start'\r\nclickos.c:(.text+0x99e): undefined reference to `xs_write'\r\nclickos.c:(.text+0x9ba): undefined reference to `xs_transaction_end'\r\n/home/jeff/cosmos/build/libcosmos/clickos.o: In function `clickos_stop':\r\nclickos.c:(.text+0xa4b): undefined reference to `xs_transaction_start'\r\nclickos.c:(.text+0xa77): undefined reference to `xs_write'\r\nclickos.c:(.text+0xa93): undefined reference to `xs_transaction_end'\r\ncollect2: error: ld returned 1 exit status\r\nmake: *** [/home/jeff/cosmos/dist/bin/cosmos] Error 1\r\n```\r\n\r\nFor reference, I've followed the instructions as found here: http://cnp.neclab.eu/getting-started#clickos\r\n\r\nI've successfully built the image, and am currently at the step of \r\n\r\n```\r\nFor the toolstack, just clone the toolstack and run make.\r\n```\r\n\r\nIs this error the result of something like having mismatching versions of xen installed? ```xl info``` tells me I'm running 4.4.1, and I've downloaded the sources for 4.4.1.\r\n\r\nAny help/advice would be appreciated!"},"comment":{"url":"https://api.github.com/repos/cnplab/cosmos/issues/comments/70570678","html_url":"https://github.com/cnplab/cosmos/issues/12#issuecomment-70570678","issue_url":"https://api.github.com/repos/cnplab/cosmos/issues/12","id":70570678,"user":{"login":"fmanco","id":1463347,"avatar_url":"https://avatars.githubusercontent.com/u/1463347?v=3","gravatar_id":"","url":"https://api.github.com/users/fmanco","html_url":"https://github.com/fmanco","followers_url":"https://api.github.com/users/fmanco/followers","following_url":"https://api.github.com/users/fmanco/following{/other_user}","gists_url":"https://api.github.com/users/fmanco/gists{/gist_id}","starred_url":"https://api.github.com/users/fmanco/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fmanco/subscriptions","organizations_url":"https://api.github.com/users/fmanco/orgs","repos_url":"https://api.github.com/users/fmanco/repos","events_url":"https://api.github.com/users/fmanco/events{/privacy}","received_events_url":"https://api.github.com/users/fmanco/received_events","type":"User","site_admin":false},"created_at":"2015-01-19T22:13:28Z","updated_at":"2015-01-19T22:13:28Z","body":"I guess you messed up your permissions. You shouldn't need `sudo`.\r\n\r\nMy advice: delete cosmos and clone again, if you still get errors post here the output. please allways use `verbose=y` in your `make` commands before posting."}}