Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 06 Dec 2006 17:30:42 -0500
From:      "Frank J. Laszlo" <laszlof@FreeBSD.org>
To:        Jonathan Chen <jonathan.chen@solnetsolutions.co.nz>
Cc:        mad@madpilot.net, freebsd-ports@freebsd.org
Subject:   Re: comms/openobex 1.3 fails to build on 6-STABLE
Message-ID:  <45774492.3010100@FreeBSD.org>
In-Reply-To: <45773F9C.50606@solnetsolutions.co.nz>
References:  <45773F9C.50606@solnetsolutions.co.nz>

next in thread | previous in thread | raw e-mail | index | archive | help
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Jonathan Chen wrote:
> Hi Guido,
> 
> I'm trying to build openobex 1.3 from the ports on 6.2-PRERELEASE as of
> Nov 16 2006, and it's failing with the following error:
> 
> [...]
> gmake  all-recursive
> gmake[1]: Entering directory `/usr/ports/comms/openobex/work/openobex-1.3'
> Making all in include
> gmake[2]: Entering directory
> `/usr/ports/comms/openobex/work/openobex-1.3/includ
> e'
> gmake[2]: Leaving directory
> `/usr/ports/comms/openobex/work/openobex-1.3/include
> '
> Making all in lib
> gmake[2]: Entering directory
> `/usr/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 -M
> T 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
> mkdir .libs
> 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
> `/usr/ports/comms/openobex/work/openobex-1.3/lib'
> gmake[1]: *** [all-recursive] Error 1
> gmake[1]: Leaving directory `/usr/ports/comms/openobex/work/openobex-1.3'
> gmake: *** [all] Error 2
> *** Error code 2
> 
> Any idea what could be causing this?
> -- 
> Jonathan Chen <jonathan.chen@solnetsolutions.co.nz>

I just committed a fix for this. Please update your ports tree. Thanks

- -Frank
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (FreeBSD)

iQIVAwUBRXdEka1QwXwBI2DsAQJOmg/+KpSr2JkPCRgpbFS+O8SbyKy75xDo49TU
V3wqm3azLdCL++6MD1t5lSm7sSV/vPzrXGeQCuujw4mEP3DakuFR0HDgbHdwlRWz
qGMiQxTfgp3qZOViNUK2m0be5AQujQvlK/1XcnQ9jTMCvlqJzs7vaaVav//EitbY
tCCWk0qxzT2x+rpdDv8WNc0e6FfsGzHAIIvGmoiZTJyeXR7r5lHBAGfbiyLc0a04
DJxsTmkZ8USMtzB1qX6IbdtBG91MWZtYXc+t06dZDFfC/u9bjRpryVvMab1Eec7Q
gQWOp8fkT59zDr33Y/6+2cnp6d6y3OsZnBggdgxW2GPnRKea791fJpz4X7d1kpcN
V0K/l8WrcMw75dNR06hokroxXrFcKe/VkcgoD+YAgGApSjxdzMGhjcE4Jm0tbAzV
oRs2XF/TaAp0d2v0g59eKA824Y1rteg/Ne1Uz9sQuhjA48fN7rNPgtWFE8nxuqF3
Kqc7Drb8+/JUpwhtjeH2499imvWzzZO31CFR82a9H4aItbiYUYcl6XCfr84gbdoN
qcR7uLjxLyKf7eX6LeUwo7pAkepPW32os0Wh+BPLEWytHDbYxeh9onwqKt+RPHMC
pVTqXSwnSALx3ok9yNDZ6PqDl8zAH2G3qm7KnX6KcWxsw/0ehjcNzEcF0XwofM8g
M5n9aEh9yiA=
=OJvT
-----END PGP SIGNATURE-----



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?45774492.3010100>