Find the answer to your Linux question:
Results 1 to 4 of 4
Im trying to install the "Bluez" stack (version 4.75). When I try to "make" it, I get this error. Code: CCLD src/bluetoothd gdbus/watch.o: In function `update_name_cache': watch.c:(.text+0x2c6): undefined reference to ...
  1. #1
    Just Joined!
    Join Date
    Oct 2010
    Posts
    2

    [SOLVED] Bluez & make issue

    Im trying to install the "Bluez" stack (version 4.75). When I try to "make" it, I get this error.

    Code:
     CCLD   src/bluetoothd
    gdbus/watch.o: In function `update_name_cache':
    watch.c:(.text+0x2c6): undefined reference to `g_strcmp0'
    gdbus/watch.o: In function `g_dbus_add_service_watch':
    watch.c:(.text+0x8db): undefined reference to `g_strcmp0'
    audio/a2dp.o: In function `a2dp_find_sep':
    a2dp.c:(.text+0x1576): undefined reference to `g_strcmp0'
    audio/unix.o: In function `client_cb':
    unix.c:(.text+0x26c9): undefined reference to `g_strcmp0'
    audio/media.o: In function `media_unregister':
    media.c:(.text+0xa00): undefined reference to `g_strcmp0'
    audio/media.o:media.c:(.text+0xb9b): more undefined references to `g_strcmp0' follow
    collect2: ld returned 1 exit status
    make[1]: *** [src/bluetoothd] Error 1
    make: *** [all] Error 2
    I am running Ubuntu in a VM, on an AMD machine. Suggestions?
    Last edited by MikeTbob; 10-14-2010 at 02:51 AM. Reason: Title got corrupted

  2. #2
    Super Moderator MikeTbob's Avatar
    Join Date
    Apr 2006
    Location
    Texas
    Posts
    7,145
    Hello and Welcome.
    Have you tried using the package manager to install Bluez from your repos?
    Last edited by MikeTbob; 10-14-2010 at 02:50 AM. Reason: Grammar
    I do not respond to private messages asking for Linux help, Please keep it on the forums only.
    All new users please read this.** Forum FAQS. ** Adopt an unanswered post.

  3. #3
    Just Joined!
    Join Date
    Oct 2010
    Posts
    2
    Ah, the easy way...

    Success. Thanks very much.

  4. #4
    Super Moderator MikeTbob's Avatar
    Join Date
    Apr 2006
    Location
    Texas
    Posts
    7,145
    Right on!
    I'm going to mark this as solved....do start a new thread if you need help with anything else.
    I do not respond to private messages asking for Linux help, Please keep it on the forums only.
    All new users please read this.** Forum FAQS. ** Adopt an unanswered post.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
...