Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 07 Dec 2006 11:09:32 +1300
From:      Jonathan Chen <jonathan.chen@solnetsolutions.co.nz>
To:        mad@madpilot.net
Cc:        freebsd-ports@freebsd.org
Subject:   comms/openobex 1.3 fails to build on 6-STABLE
Message-ID:  <45773F9C.50606@solnetsolutions.co.nz>

next in thread | raw e-mail | index | archive | help
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>


Attention:
This email may contain information intended for the sole use of
the original recipient. Please respect this when sharing or
disclosing this email's contents with any third party. If you
believe you have received this email in error, please delete it
and notify the sender or postmaster@solnetsolutions.co.nz as
soon as possible. The content of this email does not necessarily
reflect the views of SolNet Solutions Ltd.




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