Date: Tue, 5 Dec 2006 05:24:59 GMT From: pluknet<pluknet@gmail.com> To: freebsd-gnats-submit@FreeBSD.org Subject: ports/106357: comms/openobex fails on build Message-ID: <200612050524.kB55Ox8g018559@www.freebsd.org> Resent-Message-ID: <200612050530.kB55U6MR094731@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 106357 >Category: ports >Synopsis: comms/openobex fails on build >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Tue Dec 05 05:30:06 GMT 2006 >Closed-Date: >Last-Modified: >Originator: pluknet >Release: 6.2-PRE, 7.0-CURRENT >Organization: n/a >Environment: FreeBSD notebook.h3 6.2-PRERELEASE FreeBSD 6.2-PRERELEASE #4: Wed Nov 15 04:05:58 MSK 2006 root@notebook.h3:/usr/src/sys/i386/compile/MYKERNEL i386 FreeBSD pl.h3 7.0-CURRENT FreeBSD 7.0-CURRENT #2: Thu Nov 23 23:26:51 MSK 2006 root@pl.h3:/usr/src/sys/i386/compile/MYKERNEL i386 >Description: It seems that comms/openobex was not completely patched on last commit 04 Dec 2006. Leastwise it fails in build-time on absent bluetooth/bluetooh.h and bluetooth/rfcomm.h and numerous incomplete types, which all are normally located in linux. This behavior repeats on both systems. .. Making all in lib gmake[2]: Entering directory `/var/ports/comms/openobex/work/openobex-1.3/lib' if /bin/sh /usr/local/bin/libtool --tag=CC --mode=compile cc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -O2 -fno-strict-aliasing -pipe -D_FORTIFY_SOURCE=2 -MT obex.lo -MD -MP -MF ".deps/obex.Tpo" -c -o obex.lo obex.c; \ then mv -f ".deps/obex.Tpo" ".deps/obex.Plo"; else rm -f ".deps/obex.Tpo"; exit 1; fi cc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -O2 -fno-strict-aliasing -pipe -D_FORTIFY_SOURCE=2 -MT obex.lo -MD -MP -MF .deps/obex.Tpo -c obex.c -fPIC -DPIC -o .libs/obex.o In file included from obex_main.h:61, from obex.c:49: obex_transport.h:43:33: bluetooth/bluetooth.h: No such file or directory obex_transport.h:44:30: bluetooth/rfcomm.h: No such file or directory In file included from obex_main.h:61, from obex.c:49: obex_transport.h:58: error: field `rfcomm' has incomplete type In file included from obex.c:62: btobex.h:33: error: syntax error before "bdaddr_t" btobex.h:34: error: syntax error before "bdaddr_t" obex.c:1026: error: syntax error before "bdaddr_t" obex.c: In function `BtOBEX_ServerRegister': obex.c:1030: error: `self' undeclared (first use in this function) obex.c:1030: error: (Each undeclared identifier is reported only once obex.c:1030: error: for each function it appears in.) obex.c:1033: error: `src' undeclared (first use in this function) obex.c:1034: error: `BDADDR_ANY' undeclared (first use in this function) obex.c:1035: error: `channel' undeclared (first use in this function) obex.c: At top level: obex.c:1049: error: syntax error before "bdaddr_t" obex.c: In function `BtOBEX_TransportConnect': obex.c:1053: error: `self' undeclared (first use in this function) obex.c:1060: error: `dst' undeclared (first use in this function) obex.c:1063: error: `src' undeclared (first use in this function) obex.c:1064: error: `BDADDR_ANY' undeclared (first use in this function) obex.c:1065: error: `channel' undeclared (first use in this function) gmake[2]: *** [obex.lo] Error 1 gmake[2]: Leaving directory `/var/ports/comms/openobex/work/openobex-1.3/lib' gmake[1]: *** [all-recursive] Error 1 gmake[1]: Leaving directory `/var/ports/comms/openobex/work/openobex-1.3' gmake: *** [all] Error 2 *** Error code 2 >How-To-Repeat: `make` >Fix: in all corresponding places: 1) remove absent #include <bluetooth/bluetooth.h> and #include <bluetooth/rfcomm.h>; 2) adapt Linux vars with analogous FreeBSD names via #define (for ex. #define BDADDR_ANY NG_HCI_BDADDR_ANY etc) >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200612050524.kB55Ox8g018559>