{"action":"closed","issue":{"url":"https://api.github.com/repos/cnplab/cosmos/issues/16","labels_url":"https://api.github.com/repos/cnplab/cosmos/issues/16/labels{/name}","comments_url":"https://api.github.com/repos/cnplab/cosmos/issues/16/comments","events_url":"https://api.github.com/repos/cnplab/cosmos/issues/16/events","html_url":"https://github.com/cnplab/cosmos/issues/16","id":57561096,"number":16,"title":"Compiling Python API with Swig","user":{"login":"mjamshidi","id":77903,"avatar_url":"https://avatars.githubusercontent.com/u/77903?v=3","gravatar_id":"","url":"https://api.github.com/users/mjamshidi","html_url":"https://github.com/mjamshidi","followers_url":"https://api.github.com/users/mjamshidi/followers","following_url":"https://api.github.com/users/mjamshidi/following{/other_user}","gists_url":"https://api.github.com/users/mjamshidi/gists{/gist_id}","starred_url":"https://api.github.com/users/mjamshidi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mjamshidi/subscriptions","organizations_url":"https://api.github.com/users/mjamshidi/orgs","repos_url":"https://api.github.com/users/mjamshidi/repos","events_url":"https://api.github.com/users/mjamshidi/events{/privacy}","received_events_url":"https://api.github.com/users/mjamshidi/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/cnplab/cosmos/labels/bug","name":"bug","color":"fc2929"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-02-13T05:26:26Z","updated_at":"2016-01-15T15:38:14Z","closed_at":"2016-01-15T15:38:14Z","body":"Hey guys, \r\n\r\nEven correcting the order of linker options with XEN 4.4.1 (which worked for cosmos) did not help me in compiling the cosmos python API.\r\n\r\nI tried compiling the code manually... no success!\r\n\r\ngcc -fPIC -c clickos.c cosmos_wrap.c -I/usr/include/python2.7 -I/home/cosmos/src -I/home/cosmos/include -I/home/cosmos/include/xcl -I/home/xen-4.4.1/tools/libxl -I/home/xen-4.4.1/tools/libxc -I/home/xen-4.4.1/tools/include -I/home/xen-4.4.1/tools/xenstore\r\nor only ../../src/main.c \r\nswig -includeall -I/home/cosmos/include -python cosmos.i\r\nld -shared clickos.o cosmos_wrap.o -o _cosmos.so\r\n\r\nDo you have any suggestion. OR would you mind telling me the version of XEN, Linux kernel and click-os that you used?\r\n\r\nThanks,"}}