* [Bluez-users] compile on apple
@ 2008-06-11 9:51 nico bats
2008-06-11 13:15 ` Marcel Holtmann
0 siblings, 1 reply; 4+ messages in thread
From: nico bats @ 2008-06-11 9:51 UTC (permalink / raw)
To: bluez-users
[-- Attachment #1.1: Type: text/plain, Size: 832 bytes --]
hi all,
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
?
best regards
nicolas
[-- Attachment #1.2: Type: text/html, Size: 921 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
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [Bluez-users] compile on apple
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
0 siblings, 1 reply; 4+ messages in thread
From: Marcel Holtmann @ 2008-06-11 13:15 UTC (permalink / raw)
To: BlueZ users
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
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [Bluez-users] compile on apple
2008-06-11 13:15 ` Marcel Holtmann
@ 2008-06-12 9:01 ` nico bats
2008-06-12 9:10 ` Marcel Holtmann
0 siblings, 1 reply; 4+ messages in thread
From: nico bats @ 2008-06-12 9:01 UTC (permalink / raw)
To: BlueZ users
[-- 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
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [Bluez-users] compile on apple
2008-06-12 9:01 ` nico bats
@ 2008-06-12 9:10 ` Marcel Holtmann
0 siblings, 0 replies; 4+ messages in thread
From: Marcel Holtmann @ 2008-06-12 9:10 UTC (permalink / raw)
To: BlueZ users
Hi Nico,
> 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
I don't think so. Especially since it makes no sense to have BlueZ
running on OS X anyway. Without the kernel part it is useless.
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
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2008-06-12 9:10 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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
2008-06-12 9:10 ` Marcel Holtmann
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox