Linux bluetooth development
 help / color / mirror / Atom feed
From: "Andrew N. Balahonov" <sspp@cityline.ru>
To: bluez-devel@lists.sourceforge.net
Subject: [Bluez-devel] hci.c:885: storage size of `iv' isn't known
Date: Sat, 31 Dec 2005 22:10:22 +0300 (MSK)	[thread overview]
Message-ID: <Pine.LNX.4.63.0512312154150.23868@sundust> (raw)
In-Reply-To: <20051231185308.E3D14130C8@sc8-sf-spam2.sourceforge.net>

[-- Attachment #1: Type: TEXT/PLAIN, Size: 1603 bytes --]

Hello.
Please suggest anything.

~/bluez/bluez-libs-2.24$ make -s
Making all in include
Making all in src
mkdir .libs
  gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -Wall -O2 
-D_FORTIFY_SOURCE=2 -c bluetooth.c -Wp,-MD,.deps/bluetooth.TPlo  -fPIC 
-DPIC -o .libs/bluetooth.o
  gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -Wall -O2 
-D_FORTIFY_SOURCE=2 -c bluetooth.c -Wp,-MD,.deps/bluetooth.TPlo -o 
bluetooth.o >/dev/null 2>&1
  gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -Wall -O2 
-D_FORTIFY_SOURCE=2 -c hci.c -Wp,-MD,.deps/hci.TPlo  -fPIC -DPIC -o 
.libs/hci.o
hci.c: In function `hci_send_cmd':
hci.c:885: storage size of `iv' isn't known
hci.c:903: warning: implicit declaration of function `writev'
hci.c:885: warning: unused variable `iv'
make[2]: *** [hci.lo] Ошибка 1
make[1]: *** [all-recursive] Ошибка 1
make: *** [all] Ошибка 2

(sorry for cyrillic)

from src/hci.c
      881 int hci_send_cmd(int dd, uint16_t ogf, uint16_t ocf, uint8_t plen, void *param)
      882 {
      883         uint8_t type = HCI_COMMAND_PKT;
      884         hci_command_hdr hc;
      885         struct iovec iv[3];
      886         int ivn;


/usr/src/linux -> linux-2.4.31-ow1
5.7K 2005-08-19 22:31 /usr/src/linux-2.4.31-ow1/include/net/bluetooth/bluetooth.h
$Id: bluetooth.h,v 1.9 2002/05/06 21:11:55 maxk Exp $

18K  2004-08-08 03:26 /usr/src/linux-2.4.31-ow1/include/net/bluetooth/hci.h
$Id: hci.h,v 1.5 2002/06/27 17:29:30 maxk Exp $

Thank you.

-- 
Yours sincerely, Andrew N. Balahonov
1024D/3C340684 94B4 C3C5 8936 9DF5 A2B8  3E5C DB3A CC66 3C34 0684

       reply	other threads:[~2005-12-31 19:10 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <20051231185308.E3D14130C8@sc8-sf-spam2.sourceforge.net>
2005-12-31 19:10 ` Andrew N. Balahonov [this message]
2006-01-02 11:31   ` [Bluez-devel] hci.c:885: storage size of `iv' isn't known Marcel Holtmann
2006-01-02 18:32     ` Andrew N. Balahonov
2006-01-02 19:31       ` Marcel Holtmann
2006-01-02 23:07         ` Andrew N. Balahonov
2006-01-03  9:56           ` Marcel Holtmann
2006-01-04  1:29             ` [Bluez-devel] the bluetooth-alsa driver tom
2006-01-04  1:36               ` Brad Midgley
2006-01-04  2:33                 ` tom
2006-01-04  4:43                   ` 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=Pine.LNX.4.63.0512312154150.23868@sundust \
    --to=sspp@cityline.ru \
    --cc=bluez-devel@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