On Fri, 15 Jul 2011, Hendrik Sattler wrote: > Note that the transport only works on Linux. Although it also compiles on > Windows, the operating system itself does not support it. FreeBSD and NetBSD > do > not seem to support ERTM, yet. The code for the last two is not > compile-tested.
The only change I needed to build on NetBSD was addition of two lines as per below. (the FreeBSD build should be ok I think) I only tried bootstrap-configure though, my cmake 2.8.4 is too old :) iain --- bluez_compat.h.orig 2011-07-15 19:58:02.000000000 +0100 +++ bluez_compat.h 2011-07-15 19:53:40.000000000 +0100 @@ -75,9 +75,11 @@ #define rc_family bt_family #define rc_bdaddr bt_bdaddr #define rc_channel bt_channel +#define sockaddr_l2 sockaddr_bt #define l2_family bt_family #define l2_bdaddr bt_bdaddr #define l2_psm bt_psm +#define SOL_L2CAP BTPROTO_L2CAP #define bacpy(dst,src) memcpy((dst),(src),sizeof(bdaddr_t)) #define bacmp(a,b) memcmp((a),(b),sizeof(bdaddr_t)) #define str2ba(str, ba) (bt_aton((str), (ba)) == 1 ? 0 : -1) ------------------------------------------------------------------------------ AppSumo Presents a FREE Video for the SourceForge Community by Eric Ries, the creator of the Lean Startup Methodology on "Lean Startup Secrets Revealed." This video shows you how to validate your ideas, optimize your ideas and identify your business strategy. http://p.sf.net/sfu/appsumosfdev2dev _______________________________________________ Openobex-users mailing list Openobex-users@lists.sourceforge.net http://lists.sourceforge.net/lists/listinfo/openobex-users