public inbox for linux-bluetooth@vger.kernel.org
 help / color / mirror / Atom feed
From: "nico bats" <sl1200mk2@gmail.com>
To: "BlueZ users" <bluez-users@lists.sourceforge.net>
Subject: Re: [Bluez-users] compile on apple
Date: Thu, 12 Jun 2008 11:01:28 +0200	[thread overview]
Message-ID: <95bb57cb0806120201i63c7c753m4d72c9ed9138ee8e@mail.gmail.com> (raw)
In-Reply-To: <1213190155.17870.28.camel@violet.holtmann.net>


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

hi,
following this page(
http://wiki.openmoko.org/wiki/User:SNMoore#Patch_to_work_around_byteswap.h_and_endian.h_errors_on_OS_X),
byteswap macro can be re-written and use  <machine/endian.h> as header

maybe it worth the try
++

On Wed, Jun 11, 2008 at 3:15 PM, Marcel Holtmann <marcel@holtmann.org>
wrote:

> Hi Nico,
>
> > i've tried to compile Bluez on macbookpro and came across error:
> >
> > /bin/sh ../libtool --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I.
> > -I.. -I../include    -Wall -O2 -D_FORTIFY_SOURCE=2 -MT bluetooth.lo
> > -MD -MP -MF .deps/bluetooth.Tpo -c -o bluetooth.lo bluetooth.c
> > mkdir .libs
> >  gcc -DHAVE_CONFIG_H -I. -I.. -I../include -Wall -O2
> > -D_FORTIFY_SOURCE=2 -MT bluetooth.lo -MD -MP -MF .deps/bluetooth.Tpo
> > -c bluetooth.c  -fno-common -DPIC -o .libs/bluetooth.o
> > bluetooth.c:35:20: error: malloc.h: No such file or directory
> > In file included from bluetooth.c:39:
> > ../include/bluetooth/bluetooth.h:36:20: error: endian.h: No such file
> > or directory
> > ../include/bluetooth/bluetooth.h:37:22: error: byteswap.h: No such
> > file or directory
> >
> > does macros included in endian.h & byteswap.h can be coded in a
> > portable way ?
>
> I can fix the malloc.h include, because that is not needed, but for the
> others, I have no idea. Maybe or maybe not.
>
> Regards
>
> Marcel
>
>
>
> -------------------------------------------------------------------------
> Check out the new SourceForge.net Marketplace.
> It's the best place to buy or sell services for
> just about anything Open Source.
> http://sourceforge.net/services/buy/index.php
> _______________________________________________
> Bluez-users mailing list
> Bluez-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/bluez-users
>

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

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

-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php

[-- 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:[~2008-06-12  9:01 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-06-11  9:51 [Bluez-users] compile on apple nico bats
2008-06-11 13:15 ` Marcel Holtmann
2008-06-12  9:01   ` nico bats [this message]
2008-06-12  9:10     ` 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=95bb57cb0806120201i63c7c753m4d72c9ed9138ee8e@mail.gmail.com \
    --to=sl1200mk2@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