public inbox for linux-bluetooth@vger.kernel.org
 help / color / mirror / Atom feed
From: "Ricky Soh" <rickysoh@gmail.com>
To: bluez-users@lists.sourceforge.net
Subject: [Bluez-users] bccmd compilation fails (help needed)
Date: Tue, 4 Sep 2007 18:51:32 +0800	[thread overview]
Message-ID: <db972f430709040351i156c63b3kc73b3020534e838c@mail.gmail.com> (raw)


[-- Attachment #1.1: Type: text/plain, Size: 1327 bytes --]

Hi,

during normal bluez-util-3.18 installation, bccmd in the "tools" folder was
not compiled.

i tried the following compilation but have the following error.

[root@localhost tools]# gcc -lusb -lbluetooth csr.c csr_3wire.c csr_bcsp.c
csr_h4.c csr_hci.c csr_usb.c ubcsp.c bccmd.c -o bccmd
csr_usb.c: In function ‘csr_open_usb’:
csr_usb.c:68: warning: assignment makes pointer from integer without a cast
csr_usb.c:68: error: dereferencing pointer to incomplete type
csr_usb.c:69: error: dereferencing pointer to incomplete type
csr_usb.c:69: error: dereferencing pointer to incomplete type
csr_usb.c:70: error: dereferencing pointer to incomplete type
csr_usb.c:70: error: ‘USB_CLASS_HUB’ undeclared (first use in this
function)
csr_usb.c:70: error: (Each undeclared identifier is reported only once
csr_usb.c:70: error: for each function it appears in.)
csr_usb.c:73: error: dereferencing pointer to incomplete type
csr_usb.c:74: error: dereferencing pointer to incomplete type
csr_usb.c:86: warning: assignment makes pointer from integer without a cast
csr_usb.c: In function ‘do_command’:
csr_usb.c:133: error: ‘USB_TYPE_CLASS’ undeclared (first use in this
function)
csr_usb.c:133: error: ‘USB_RECIP_DEVICE’ undeclared (first use in this
function)

Please help.

Thanks.

[-- Attachment #1.2: Type: text/html, Size: 1397 bytes --]

[-- Attachment #2: Type: text/plain, Size: 315 bytes --]

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/

[-- Attachment #3: Type: text/plain, Size: 164 bytes --]

_______________________________________________
Bluez-users mailing list
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users

             reply	other threads:[~2007-09-04 10:51 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-09-04 10:51 Ricky Soh [this message]
2007-09-04 11:23 ` [Bluez-users] bccmd compilation fails (help needed) Marcel Holtmann
  -- strict thread matches above, loose matches on Subject: below --
2007-09-06  6:23 Ricky Soh
2007-09-06  6:56 ` Brad Midgley

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=db972f430709040351i156c63b3kc73b3020534e838c@mail.gmail.com \
    --to=rickysoh@gmail.com \
    --cc=bluez-users@lists.sourceforge.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox