{"action":"created","issue":{"url":"https://api.github.com/repos/elix22/bluecove/issues/132","repository_url":"https://api.github.com/repos/elix22/bluecove","labels_url":"https://api.github.com/repos/elix22/bluecove/issues/132/labels{/name}","comments_url":"https://api.github.com/repos/elix22/bluecove/issues/132/comments","events_url":"https://api.github.com/repos/elix22/bluecove/issues/132/events","html_url":"https://github.com/elix22/bluecove/issues/132","id":80269696,"number":132,"title":"undefined symbol: sdp_extract_pdu","user":{"login":"GoogleCodeExporter","id":9614759,"avatar_url":"https://avatars.githubusercontent.com/u/9614759?v=3","gravatar_id":"","url":"https://api.github.com/users/GoogleCodeExporter","html_url":"https://github.com/GoogleCodeExporter","followers_url":"https://api.github.com/users/GoogleCodeExporter/followers","following_url":"https://api.github.com/users/GoogleCodeExporter/following{/other_user}","gists_url":"https://api.github.com/users/GoogleCodeExporter/gists{/gist_id}","starred_url":"https://api.github.com/users/GoogleCodeExporter/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GoogleCodeExporter/subscriptions","organizations_url":"https://api.github.com/users/GoogleCodeExporter/orgs","repos_url":"https://api.github.com/users/GoogleCodeExporter/repos","events_url":"https://api.github.com/users/GoogleCodeExporter/events{/privacy}","received_events_url":"https://api.github.com/users/GoogleCodeExporter/received_events","type":"User","site_admin":false},"labels":[{"id":215624631,"url":"https://api.github.com/repos/elix22/bluecove/labels/auto-migrated","name":"auto-migrated","color":"ededed","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":5,"created_at":"2015-05-24T20:59:13Z","updated_at":"2017-01-06T03:34:19Z","closed_at":null,"body":"```\nWhat steps will reproduce the problem?\n1. Grabbed latest gpl code and bluecove binary file. Followed developer readme \ninstructions.\n2. Installed libbluetooth-dev and libbluetooth3 as well as bluez\n3. ant build. Then copied succesffuly compiled binary file and shared native \nfiles to java program.\n\nWhat is the expected output? What do you see instead?\nExpecting bluecove library to run, however it errors about: undefined symbol: \nsdp_extract_pdu\n\nRunning ldd on the produced native file \".so\" only displays \"statically linked\"\n\nWhat BlueCove version are you using (include build number for SNAPSHOT)? On \nwhat operating system and jvm? Is this 64-bit or 32-bit OS and jvm?\nbluecove-2.1.1-SNAPSHOT\nUbuntu 12.04\narm7 \nOpenJDK Runtime Environment (IcedTea6 1.11.1) (6b24-1.11.1-4ubuntu3)\n\nPlease provide any additional information below.\nPlease use \"Attach a file\" when uploading stack traces or other big files!\n\n\n```\n\nOriginal issue reported on code.google.com by `m...@dknox.co.uk` on 20 Jun 2012 at 10:40\n\nAttachments:\n- [log_err.txt](https://storage.googleapis.com/google-code-attachments/bluecove/issue-132/comment-0/log_err.txt)\n"},"comment":{"url":"https://api.github.com/repos/elix22/bluecove/issues/comments/270823572","html_url":"https://github.com/elix22/bluecove/issues/132#issuecomment-270823572","issue_url":"https://api.github.com/repos/elix22/bluecove/issues/132","id":270823572,"user":{"login":"Kanaris","id":2885934,"avatar_url":"https://avatars.githubusercontent.com/u/2885934?v=3","gravatar_id":"","url":"https://api.github.com/users/Kanaris","html_url":"https://github.com/Kanaris","followers_url":"https://api.github.com/users/Kanaris/followers","following_url":"https://api.github.com/users/Kanaris/following{/other_user}","gists_url":"https://api.github.com/users/Kanaris/gists{/gist_id}","starred_url":"https://api.github.com/users/Kanaris/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Kanaris/subscriptions","organizations_url":"https://api.github.com/users/Kanaris/orgs","repos_url":"https://api.github.com/users/Kanaris/repos","events_url":"https://api.github.com/users/Kanaris/events{/privacy}","received_events_url":"https://api.github.com/users/Kanaris/received_events","type":"User","site_admin":false},"created_at":"2017-01-06T03:34:19Z","updated_at":"2017-01-06T03:34:19Z","body":"I got the same error under Ubuntu. The issue is in version of gcc. Different versions have different default parametrs. I had to update build.xml for bluecove-gpl-2.1.1-SNAPSHOT.jar to make it work.\r\n\r\n1)\r\n<property name=»bluecove.native.linker.options» value=»-nodefaultlibs«/> => <property name=»bluecove.native.linker.options» value=»»/>\r\n2)\r\n<arg value=»-Wl,-soname,libbluecove${library_sufix}-${product_version}»/> => <arg value=»-Wl,--no-as-needed,-soname,libbluecove${library_sufix}-${product_version}»/>\r\n3)\r\n<arg value=»-L${libs-universal}»/>\r\n<arg value=»-lbluetooth»/>\r\n<arg line=»${bluecove.native.linker.options}»/>\r\n<arg value=»-Wl,-soname,libbluecove${library_sufix}-${product_version}»/>\r\n=>\r\n<arg value=»-L${libs-universal}»/>\r\n<arg line=»${bluecove.native.linker.options}»/>\r\n<arg value=»-Wl,—no-as-needed,-soname,libbluecove${library_sufix}-${product_version}»/>\r\n<arg value=»-lbluetooth»/>\r\n\r\n[http://privateblog.info/raspberry-pi-kak-rabotat-s-bluetooth-na-java/](http://privateblog.info/raspberry-pi-kak-rabotat-s-bluetooth-na-java/)"}}
{"actor":{"display_login":"Kanaris"}}