linux-bluetooth.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Marcel Holtmann <marcel@holtmann.org>
To: BlueZ development <bluez-devel@lists.sourceforge.net>
Subject: Re: [Bluez-devel] bluez-utils do not cross compile
Date: Mon, 26 Jun 2006 14:02:03 +0200	[thread overview]
Message-ID: <1151323323.7694.7.camel@localhost> (raw)
In-Reply-To: <6297d67c0606260453ud6da167ic88d8ddee45ca072@mail.gmail.com>

[-- Attachment #1: Type: text/plain, Size: 660 bytes --]

Hi Mayank,

> It works after I give the options --with-bluez=PATH
> But now when I say make, I get the following error:
>  
> arm-linux-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../common
> -I/usr/local/include -Wall -O2 -D_FORTIFY_SOURCE=2 -c `test -f
> 'hciattach.c' || echo './'`hciattach.c
> hciattach.c: In function `main':
> hciattach.c:1006: `PATH_MAX' undeclared (first use in this function) 
> hciattach.c:1006: (Each undeclared identifier is reported only once
> hciattach.c:1006: for each function it appears in.)
> hciattach.c:1006: warning: unused variable `dev'
> make[2]: *** [hciattach.o] Error 1

check if the attached patch helps.

Regards

Marcel


[-- Attachment #2: patch --]
[-- Type: text/x-patch, Size: 457 bytes --]

Index: tools/hciattach.c
===================================================================
RCS file: /cvsroot/bluez/utils/tools/hciattach.c,v
retrieving revision 1.38
diff -u -r1.38 hciattach.c
--- tools/hciattach.c	29 Apr 2006 18:21:14 -0000	1.38
+++ tools/hciattach.c	26 Jun 2006 12:00:51 -0000
@@ -39,6 +39,7 @@
 #include <time.h>
 #include <sys/time.h>
 #include <sys/poll.h>
+#include <sys/param.h>
 #include <sys/ioctl.h>
 #include <sys/socket.h>
 

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

Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642

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

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

  reply	other threads:[~2006-06-26 12:02 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-06-26 11:04 [Bluez-devel] bluez-utils do not cross compile Mayank Batra
2006-06-26 11:30 ` Dimitry Andric
2006-06-26 11:53   ` Mayank Batra
2006-06-26 12:02     ` Marcel Holtmann [this message]
2006-06-27  4:40       ` Mayank Batra
2006-06-27  7:35         ` Marcel Holtmann

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=1151323323.7694.7.camel@localhost \
    --to=marcel@holtmann.org \
    --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;
as well as URLs for NNTP newsgroup(s).