public inbox for linux-bluetooth@vger.kernel.org
 help / color / mirror / Atom feed
* [Bluez-devel] Error Compiling Bluez-Util
@ 2007-01-02  7:31 Kelvin Xu
  2007-01-02  8:11 ` Marcel Holtmann
  0 siblings, 1 reply; 4+ messages in thread
From: Kelvin Xu @ 2007-01-02  7:31 UTC (permalink / raw)
  To: bluez-devel

Dear all,

When i was trying to compile Bluez-Util 3.7 in a scratchbox environment, i 
ran into the following errors:
In function 'uart_speed'
hciattach.c:106: error:'B230400' undeclared (first use in this function)
hciattach.c:108: error:'B460800' undeclared (first use in this function)
..
..
..
etc

May i know whether i have missed out on any header files or any linking 
problems
I am trying to a arm target board.

Regards,
Kelvin

_________________________________________________________________
Get an advanced look at the new version of Windows Live Messenger. 
http://get.live.com/messenger/overview


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Bluez-devel mailing list
Bluez-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-devel

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [Bluez-devel] Error Compiling Bluez-Util
  2007-01-02  7:31 [Bluez-devel] Error Compiling Bluez-Util Kelvin Xu
@ 2007-01-02  8:11 ` Marcel Holtmann
  2007-01-02  8:53   ` Kelvin Xu
  0 siblings, 1 reply; 4+ messages in thread
From: Marcel Holtmann @ 2007-01-02  8:11 UTC (permalink / raw)
  To: BlueZ development

Hi Kelvin,

> When i was trying to compile Bluez-Util 3.7 in a scratchbox environment, i 
> ran into the following errors:
> In function 'uart_speed'
> hciattach.c:106: error:'B230400' undeclared (first use in this function)
> hciattach.c:108: error:'B460800' undeclared (first use in this function)
> ..
> ..
> ..
> etc
> 
> May i know whether i have missed out on any header files or any linking 
> problems
> I am trying to a arm target board.

I have no idea, but this error shouldn't happen. Do you actually need
hciattach? If not, then you can disable its compilation or simple
comment out these lines.

Regards

Marcel



-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Bluez-devel mailing list
Bluez-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-devel

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [Bluez-devel] Error Compiling Bluez-Util
  2007-01-02  8:11 ` Marcel Holtmann
@ 2007-01-02  8:53   ` Kelvin Xu
  2007-01-02  9:03     ` Marcel Holtmann
  0 siblings, 1 reply; 4+ messages in thread
From: Kelvin Xu @ 2007-01-02  8:53 UTC (permalink / raw)
  To: bluez-devel

Hi,

May i know what is hciattach.c used for?

The function uart_speed() returns an int however B230400 are not. i guess 
there are some files which declared them as integers.

Regards,
Kelvin


>From: Marcel Holtmann <marcel@holtmann.org>
>Reply-To: BlueZ development <bluez-devel@lists.sourceforge.net>
>To: BlueZ development <bluez-devel@lists.sourceforge.net>
>Subject: Re: [Bluez-devel] Error Compiling Bluez-Util
>Date: Tue, 02 Jan 2007 09:11:25 +0100
>
>Hi Kelvin,
>
> > When i was trying to compile Bluez-Util 3.7 in a scratchbox environment, 
>i
> > ran into the following errors:
> > In function 'uart_speed'
> > hciattach.c:106: error:'B230400' undeclared (first use in this function)
> > hciattach.c:108: error:'B460800' undeclared (first use in this function)
> > ..
> > ..
> > ..
> > etc
> >
> > May i know whether i have missed out on any header files or any linking
> > problems
> > I am trying to a arm target board.
>
>I have no idea, but this error shouldn't happen. Do you actually need
>hciattach? If not, then you can disable its compilation or simple
>comment out these lines.
>
>Regards
>
>Marcel
>
>
>
>-------------------------------------------------------------------------
>Take Surveys. Earn Cash. Influence the Future of IT
>Join SourceForge.net's Techsay panel and you'll get the chance to share 
>your
>opinions on IT & business topics through brief surveys - and earn cash
>http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
>_______________________________________________
>Bluez-devel mailing list
>Bluez-devel@lists.sourceforge.net
>https://lists.sourceforge.net/lists/listinfo/bluez-devel

_________________________________________________________________
Get MSN Messenger emoticons and display pictures here! 
http://ilovemessenger.msn.com/?mkt=en-sg


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Bluez-devel mailing list
Bluez-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-devel

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [Bluez-devel] Error Compiling Bluez-Util
  2007-01-02  8:53   ` Kelvin Xu
@ 2007-01-02  9:03     ` Marcel Holtmann
  0 siblings, 0 replies; 4+ messages in thread
From: Marcel Holtmann @ 2007-01-02  9:03 UTC (permalink / raw)
  To: BlueZ development

Hi,

> May i know what is hciattach.c used for?

it is needed for attaching serial port based Bluetooth chip to the
system. It basically initializes the chip and attaches the UART line
discipline.

> The function uart_speed() returns an int however B230400 are not. i guess 
> there are some files which declared them as integers.

They are actually simple constants for the UART speed. Don't ask me why
especially some of them are not defined for your system.

Regards

Marcel



-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Bluez-devel mailing list
Bluez-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-devel

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2007-01-02  9:03 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-01-02  7:31 [Bluez-devel] Error Compiling Bluez-Util Kelvin Xu
2007-01-02  8:11 ` Marcel Holtmann
2007-01-02  8:53   ` Kelvin Xu
2007-01-02  9:03     ` Marcel Holtmann

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox