Hi,

On Wed, Jul 21, 2010 at 7:53 PM, Hendrik Sattler
<p...@hendrik-sattler.de> wrote:
> Am Mittwoch 21 Juli 2010, 08:31:12 schrieb Hendrik Sattler:
>> Zitat von Luiz Augusto von Dentz <luiz.de...@gmail.com>:
>> > The build is broken when using autotools.
>>
>> Did you run "autoreconf -f"?
>> I will try autotools-build tonight.
>
> Works here just fine.
>
> autoreconf -f -i
> mkdir build
> cd build
> ../configure --enable-apps --enable-maintainer-mode
> make
> make install DESTDIR=$(pwd)/local

I haven't tried it outside the source tree like you did with build,
but inside it seems pretty broken see the attachment.


-- 
Luiz Augusto von Dentz
Computer Engineer
de...@dentz-laptop:~/git/openobex$[for-mainline]$ autoreconf -f -i
configure.ac:30: warning: AC_CACHE_VAL(irda_found, ...): suspicious cache-id, must contain _cv_ to be cached
../../lib/autoconf/general.m4:1998: AC_CACHE_VAL is expanded from...
../../lib/autoconf/general.m4:2019: AC_CACHE_CHECK is expanded from...
acinclude.m4:68: AC_PATH_IRDA_LINUX is expanded from...
acinclude.m4:92: AC_PATH_IRDA is expanded from...
configure.ac:30: the top level
acinclude.m4:80: AC_PATH_IRDA_WIN32 is expanded from...
configure.ac:31: warning: AC_CACHE_VAL(freebsdbt_found, ...): suspicious cache-id, must contain _cv_ to be cached
acinclude.m4:130: AC_PATH_FREEBSDBT is expanded from...
acinclude.m4:144: AC_PATH_BLUETOOTH is expanded from...
configure.ac:31: the top level
configure.ac:31: warning: AC_CACHE_VAL(netbsdbt_found, ...): suspicious cache-id, must contain _cv_ to be cached
acinclude.m4:120: AC_PATH_NETBSDBT is expanded from...
configure.ac:31: warning: AC_CACHE_VAL(winbt_found, ...): suspicious cache-id, must contain _cv_ to be cached
acinclude.m4:108: AC_PATH_WINBT is expanded from...
configure.ac:30: warning: AC_CACHE_VAL(irda_found, ...): suspicious cache-id, must contain _cv_ to be cached
../../lib/autoconf/general.m4:1998: AC_CACHE_VAL is expanded from...
../../lib/autoconf/general.m4:2019: AC_CACHE_CHECK is expanded from...
acinclude.m4:68: AC_PATH_IRDA_LINUX is expanded from...
acinclude.m4:92: AC_PATH_IRDA is expanded from...
configure.ac:30: the top level
acinclude.m4:80: AC_PATH_IRDA_WIN32 is expanded from...
configure.ac:31: warning: AC_CACHE_VAL(freebsdbt_found, ...): suspicious cache-id, must contain _cv_ to be cached
acinclude.m4:130: AC_PATH_FREEBSDBT is expanded from...
acinclude.m4:144: AC_PATH_BLUETOOTH is expanded from...
configure.ac:31: the top level
configure.ac:31: warning: AC_CACHE_VAL(netbsdbt_found, ...): suspicious cache-id, must contain _cv_ to be cached
acinclude.m4:120: AC_PATH_NETBSDBT is expanded from...
configure.ac:31: warning: AC_CACHE_VAL(winbt_found, ...): suspicious cache-id, must contain _cv_ to be cached
acinclude.m4:108: AC_PATH_WINBT is expanded from...
libtoolize: putting auxiliary files in `.'.
libtoolize: copying file `./config.guess'
libtoolize: copying file `./config.sub'
libtoolize: copying file `./install-sh'
libtoolize: copying file `./ltmain.sh'
libtoolize: Consider adding `AC_CONFIG_MACRO_DIR([m4])' to configure.ac and
libtoolize: rerunning libtoolize, to keep the correct libtool macros in-tree.
libtoolize: Consider adding `-I m4' to ACLOCAL_AMFLAGS in Makefile.am.
configure.ac:30: warning: AC_CACHE_VAL(irda_found, ...): suspicious cache-id, must contain _cv_ to be cached
../../lib/autoconf/general.m4:1998: AC_CACHE_VAL is expanded from...
../../lib/autoconf/general.m4:2019: AC_CACHE_CHECK is expanded from...
acinclude.m4:68: AC_PATH_IRDA_LINUX is expanded from...
acinclude.m4:92: AC_PATH_IRDA is expanded from...
configure.ac:30: the top level
acinclude.m4:80: AC_PATH_IRDA_WIN32 is expanded from...
configure.ac:31: warning: AC_CACHE_VAL(freebsdbt_found, ...): suspicious cache-id, must contain _cv_ to be cached
acinclude.m4:130: AC_PATH_FREEBSDBT is expanded from...
acinclude.m4:144: AC_PATH_BLUETOOTH is expanded from...
configure.ac:31: the top level
configure.ac:31: warning: AC_CACHE_VAL(netbsdbt_found, ...): suspicious cache-id, must contain _cv_ to be cached
acinclude.m4:120: AC_PATH_NETBSDBT is expanded from...
configure.ac:31: warning: AC_CACHE_VAL(winbt_found, ...): suspicious cache-id, must contain _cv_ to be cached
acinclude.m4:108: AC_PATH_WINBT is expanded from...
configure.ac:30: warning: AC_CACHE_VAL(irda_found, ...): suspicious cache-id, must contain _cv_ to be cached
../../lib/autoconf/general.m4:1998: AC_CACHE_VAL is expanded from...
../../lib/autoconf/general.m4:2019: AC_CACHE_CHECK is expanded from...
acinclude.m4:68: AC_PATH_IRDA_LINUX is expanded from...
acinclude.m4:92: AC_PATH_IRDA is expanded from...
configure.ac:30: the top level
acinclude.m4:80: AC_PATH_IRDA_WIN32 is expanded from...
configure.ac:31: warning: AC_CACHE_VAL(freebsdbt_found, ...): suspicious cache-id, must contain _cv_ to be cached
acinclude.m4:130: AC_PATH_FREEBSDBT is expanded from...
acinclude.m4:144: AC_PATH_BLUETOOTH is expanded from...
configure.ac:31: the top level
configure.ac:31: warning: AC_CACHE_VAL(netbsdbt_found, ...): suspicious cache-id, must contain _cv_ to be cached
acinclude.m4:120: AC_PATH_NETBSDBT is expanded from...
configure.ac:31: warning: AC_CACHE_VAL(winbt_found, ...): suspicious cache-id, must contain _cv_ to be cached
acinclude.m4:108: AC_PATH_WINBT is expanded from...
configure.ac:30: warning: AC_CACHE_VAL(irda_found, ...): suspicious cache-id, must contain _cv_ to be cached
../../lib/autoconf/general.m4:1998: AC_CACHE_VAL is expanded from...
../../lib/autoconf/general.m4:2019: AC_CACHE_CHECK is expanded from...
acinclude.m4:68: AC_PATH_IRDA_LINUX is expanded from...
acinclude.m4:92: AC_PATH_IRDA is expanded from...
configure.ac:30: the top level
acinclude.m4:80: AC_PATH_IRDA_WIN32 is expanded from...
configure.ac:31: warning: AC_CACHE_VAL(freebsdbt_found, ...): suspicious cache-id, must contain _cv_ to be cached
acinclude.m4:130: AC_PATH_FREEBSDBT is expanded from...
acinclude.m4:144: AC_PATH_BLUETOOTH is expanded from...
configure.ac:31: the top level
configure.ac:31: warning: AC_CACHE_VAL(netbsdbt_found, ...): suspicious cache-id, must contain _cv_ to be cached
acinclude.m4:120: AC_PATH_NETBSDBT is expanded from...
configure.ac:31: warning: AC_CACHE_VAL(winbt_found, ...): suspicious cache-id, must contain _cv_ to be cached
acinclude.m4:108: AC_PATH_WINBT is expanded from...
configure.ac:30: warning: AC_CACHE_VAL(irda_found, ...): suspicious cache-id, must contain _cv_ to be cached
../../lib/autoconf/general.m4:1998: AC_CACHE_VAL is expanded from...
../../lib/autoconf/general.m4:2019: AC_CACHE_CHECK is expanded from...
acinclude.m4:68: AC_PATH_IRDA_LINUX is expanded from...
acinclude.m4:92: AC_PATH_IRDA is expanded from...
configure.ac:30: the top level
acinclude.m4:80: AC_PATH_IRDA_WIN32 is expanded from...
configure.ac:31: warning: AC_CACHE_VAL(freebsdbt_found, ...): suspicious cache-id, must contain _cv_ to be cached
acinclude.m4:130: AC_PATH_FREEBSDBT is expanded from...
acinclude.m4:144: AC_PATH_BLUETOOTH is expanded from...
configure.ac:31: the top level
configure.ac:31: warning: AC_CACHE_VAL(netbsdbt_found, ...): suspicious cache-id, must contain _cv_ to be cached
acinclude.m4:120: AC_PATH_NETBSDBT is expanded from...
configure.ac:31: warning: AC_CACHE_VAL(winbt_found, ...): suspicious cache-id, must contain _cv_ to be cached
acinclude.m4:108: AC_PATH_WINBT is expanded from...
de...@dentz-laptop:~/git/openobex$[for-mainline*]$ ./configure --enable-apps --enable-maintainer-mode
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether to enable maintainer-specific portions of Makefiles... yes
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables... 
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking whether gcc accepts -fPIE... yes
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking for a sed that does not truncate output... /bin/sed
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for fgrep... /bin/grep -F
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 1572864
checking whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... yes
checking for /usr/bin/ld option to reload object files... -r
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for ar... ar
checking for strip... strip
checking for ranlib... ranlib
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking how to run the C preprocessor... gcc -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for dlfcn.h... yes
checking for objdir... .libs
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC -DPIC
checking if gcc PIC flag -fPIC -DPIC works... yes
checking if gcc static flag -static works... yes
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.o... (cached) yes
checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking for simple visibility declarations... yes
checking for IrDA support... no
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for BLUETOOTH... yes
checking for USB... yes
checking for /usr/local/lib/pkgconfig/libusb.pc... no
checking for usb_get_busses in -lusb... yes
checking for usb_interrupt_read in -lusb... yes
checking for USB1... no
checking for libusb_get_device_list in -lusb-1.0... no
configure: creating ./config.status
config.status: creating Makefile
config.status: creating include/Makefile
config.status: creating include/openobex/Makefile
config.status: creating lib/Makefile
config.status: creating glib/Makefile
config.status: creating apps/Makefile
config.status: creating apps/lib/Makefile
config.status: creating apps/obex_test/Makefile
config.status: creating apps/ircp/Makefile
config.status: creating doc/Makefile
config.status: creating openobex.pc
config.status: creating openobex-glib.pc
config.status: creating config.h
config.status: config.h is unchanged
config.status: executing depfiles commands
config.status: executing libtool commands
de...@dentz-laptop:~/git/openobex$[for-mainline*]$ make
make  all-recursive
make[1]: Entering directory `/home/dentz/git/openobex'
Making all in include
make[2]: Entering directory `/home/dentz/git/openobex/include'
Making all in openobex
make[3]: Entering directory `/home/dentz/git/openobex/include/openobex'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/home/dentz/git/openobex/include/openobex'
make[3]: Entering directory `/home/dentz/git/openobex/include'
make[3]: Nothing to be done for `all-am'.
make[3]: Leaving directory `/home/dentz/git/openobex/include'
make[2]: Leaving directory `/home/dentz/git/openobex/include'
Making all in lib
make[2]: Entering directory `/home/dentz/git/openobex/lib'
/bin/bash ../libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I..  -I./include -I./include -D_GNU_SOURCE -fvisibility=hidden  -Wall -O2 -D_FORTIFY_SOURCE=2 -Werror -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -Wdeclaration-after-statement -Wmissing-declarations -Wredundant-decls -Wcast-align -D_FORTIFY_SOURCE=2 -MT libopenobex_la-obex.lo -MD -MP -MF .deps/libopenobex_la-obex.Tpo -c -o libopenobex_la-obex.lo `test -f 'obex.c' || echo './'`obex.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -I./include -I./include -D_GNU_SOURCE -fvisibility=hidden -Wall -O2 -D_FORTIFY_SOURCE=2 -Werror -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -Wdeclaration-after-statement -Wmissing-declarations -Wredundant-decls -Wcast-align -D_FORTIFY_SOURCE=2 -MT libopenobex_la-obex.lo -MD -MP -MF .deps/libopenobex_la-obex.Tpo -c obex.c  -fPIC -DPIC -o .libs/libopenobex_la-obex.o
obex.c: In function ‘OBEX_Init’:
obex.c:104: error: request for member ‘eventcb’ in something not a structure or union
obex.c:105: error: request for member ‘init_flags’ in something not a structure or union
obex.c:106: error: request for member ‘mode’ in something not a structure or union
obex.c:107: error: request for member ‘state’ in something not a structure or union
obex.c:112: error: request for member ‘mtu_rx’ in something not a structure or union
obex.c:113: error: request for member ‘mtu_tx’ in something not a structure or union
obex.c:114: error: request for member ‘mtu_tx_max’ in something not a structure or union
obex.c:122: error: request for member ‘rx_msg’ in something not a structure or union
obex.c:122: error: request for member ‘mtu_rx’ in something not a structure or union
obex.c:123: error: request for member ‘rx_msg’ in something not a structure or union
obex.c:126: error: request for member ‘tx_msg’ in something not a structure or union
obex.c:126: error: request for member ‘mtu_tx_max’ in something not a structure or union
obex.c:127: error: request for member ‘tx_msg’ in something not a structure or union
obex.c: In function ‘OBEX_Cleanup’:
obex.c:169: error: request for member ‘tx_msg’ in something not a structure or union
obex.c:170: error: request for member ‘tx_msg’ in something not a structure or union
obex.c:172: error: request for member ‘rx_msg’ in something not a structure or union
obex.c:173: error: request for member ‘rx_msg’ in something not a structure or union
obex.c: In function ‘OBEX_SetUserData’:
obex.c:189: error: request for member ‘userdata’ in something not a structure or union
obex.c: In function ‘OBEX_GetUserData’:
obex.c:203: error: request for member ‘userdata’ in something not a structure or union
obex.c: In function ‘OBEX_SetUserCallBack’:
obex.c:218: error: request for member ‘eventcb’ in something not a structure or union
obex.c:221: error: request for member ‘userdata’ in something not a structure or union
obex.c: In function ‘OBEX_SetTransportMTU’:
obex.c:241: error: request for member ‘object’ in something not a structure or union
obex.c:253: error: request for member ‘mtu_rx’ in something not a structure or union
obex.c:254: error: request for member ‘mtu_tx_max’ in something not a structure or union
obex.c:256: error: request for member ‘rx_msg’ in something not a structure or union
obex.c:256: error: request for member ‘mtu_rx’ in something not a structure or union
obex.c:257: error: request for member ‘rx_msg’ in something not a structure or union
obex.c:259: error: request for member ‘tx_msg’ in something not a structure or union
obex.c:259: error: request for member ‘mtu_tx_max’ in something not a structure or union
obex.c:260: error: request for member ‘tx_msg’ in something not a structure or union
obex.c: In function ‘OBEX_ServerRegister’:
obex.c:288: error: request for member ‘trans’ in something not a structure or union
cc1: warnings being treated as errors
obex.c:290: error: passing argument 1 of ‘obex_transport_listen’ from incompatible pointer type
obex_transport.h:123: note: expected ‘struct obex *’ but argument is of type ‘void **’
obex.c: In function ‘OBEX_ServerAccept’:
obex.c:322: error: request for member ‘trans’ in something not a structure or union
obex.c:323: error: request for member ‘trans’ in something not a structure or union
obex.c:327: error: request for member ‘object’ in something not a structure or union
obex.c:339: error: request for member ‘eventcb’ in something not a structure or union
obex.c:341: error: request for member ‘eventcb’ in something not a structure or union
obex.c:341: error: request for member ‘eventcb’ in something not a structure or union
obex.c:344: error: request for member ‘userdata’ in something not a structure or union
obex.c:346: error: request for member ‘userdata’ in something not a structure or union
obex.c:346: error: request for member ‘userdata’ in something not a structure or union
obex.c:348: error: request for member ‘init_flags’ in something not a structure or union
obex.c:348: error: request for member ‘init_flags’ in something not a structure or union
obex.c:352: error: request for member ‘mtu_rx’ in something not a structure or union
obex.c:352: error: request for member ‘mtu_rx’ in something not a structure or union
obex.c:353: error: request for member ‘mtu_tx’ in something not a structure or union
obex.c:353: error: request for member ‘mtu_tx’ in something not a structure or union
obex.c:354: error: request for member ‘mtu_tx_max’ in something not a structure or union
obex.c:354: error: request for member ‘mtu_tx_max’ in something not a structure or union
obex.c:357: error: request for member ‘rx_msg’ in something not a structure or union
obex.c:357: error: request for member ‘mtu_rx’ in something not a structure or union
obex.c:358: error: request for member ‘rx_msg’ in something not a structure or union
obex.c:362: error: request for member ‘tx_msg’ in something not a structure or union
obex.c:362: error: request for member ‘mtu_tx_max’ in something not a structure or union
obex.c:363: error: request for member ‘tx_msg’ in something not a structure or union
obex.c:367: error: request for member ‘mode’ in something not a structure or union
obex.c:368: error: request for member ‘state’ in something not a structure or union
obex.c:373: error: request for member ‘tx_msg’ in something not a structure or union
obex.c:374: error: request for member ‘tx_msg’ in something not a structure or union
obex.c:375: error: request for member ‘rx_msg’ in something not a structure or union
obex.c:376: error: request for member ‘rx_msg’ in something not a structure or union
obex.c: In function ‘OBEX_HandleInput’:
obex.c:401: error: passing argument 1 of ‘obex_transport_handle_input’ from incompatible pointer type
obex_transport.h:120: note: expected ‘struct obex *’ but argument is of type ‘void **’
obex.c: In function ‘OBEX_CustomDataFeed’:
obex.c:419: error: request for member ‘rx_msg’ in something not a structure or union
obex.c:421: error: passing argument 1 of ‘obex_data_indication’ from incompatible pointer type
obex_main.h:66: note: expected ‘struct obex *’ but argument is of type ‘void **’
obex.c: In function ‘OBEX_TransportConnect’:
obex.c:439: error: request for member ‘trans’ in something not a structure or union
obex.c:441: error: passing argument 1 of ‘obex_transport_connect_request’ from incompatible pointer type
obex_transport.h:121: note: expected ‘struct obex *’ but argument is of type ‘void **’
obex.c: In function ‘OBEX_TransportDisconnect’:
obex.c:455: error: passing argument 1 of ‘obex_transport_disconnect_request’ from incompatible pointer type
obex_transport.h:122: note: expected ‘struct obex *’ but argument is of type ‘void **’
obex.c: In function ‘OBEX_GetFD’:
obex.c:481: error: request for member ‘trans’ in something not a structure or union
obex.c:482: error: request for member ‘trans’ in something not a structure or union
obex.c:483: error: request for member ‘trans’ in something not a structure or union
obex.c: In function ‘OBEX_Request’:
obex.c:499: error: request for member ‘object’ in something not a structure or union
obex.c:506: error: request for member ‘object’ in something not a structure or union
obex.c:507: error: request for member ‘mode’ in something not a structure or union
obex.c:508: error: request for member ‘state’ in something not a structure or union
obex.c:510: error: passing argument 1 of ‘obex_client’ from incompatible pointer type
obex_client.h:28: note: expected ‘struct obex *’ but argument is of type ‘void **’
obex.c: In function ‘OBEX_CancelRequest’:
obex.c:524: error: passing argument 1 of ‘obex_cancelrequest’ from incompatible pointer type
obex_main.h:70: note: expected ‘struct obex *’ but argument is of type ‘void **’
obex.c: In function ‘OBEX_SuspendRequest’:
obex.c:536: error: request for member ‘object’ in something not a structure or union
obex.c:537: error: request for member ‘object’ in something not a structure or union
obex.c: In function ‘OBEX_ResumeRequest’:
obex.c:548: error: request for member ‘object’ in something not a structure or union
obex.c:549: error: request for member ‘object’ in something not a structure or union
obex.c:549: error: passing argument 1 of ‘obex_object_resume’ from incompatible pointer type
obex_object.h:107: note: expected ‘struct obex *’ but argument is of type ‘void **’
obex.c: In function ‘OBEX_ObjectNew’:
obex.c:565: error: assignment from incompatible pointer type
obex.c:569: error: passing argument 1 of ‘obex_object_setcmd’ from incompatible pointer type
obex_object.h:96: note: expected ‘struct obex_object *’ but argument is of type ‘void **’
obex.c:572: error: passing argument 1 of ‘obex_insert_connectframe’ from incompatible pointer type
obex_connect.h:29: note: expected ‘struct obex *’ but argument is of type ‘void **’
obex.c:572: error: passing argument 2 of ‘obex_insert_connectframe’ from incompatible pointer type
obex_connect.h:29: note: expected ‘struct obex_object *’ but argument is of type ‘void **’
obex.c:573: error: passing argument 1 of ‘obex_object_delete’ from incompatible pointer type
obex_object.h:88: note: expected ‘struct obex_object *’ but argument is of type ‘void **’
obex.c: In function ‘OBEX_ObjectDelete’:
obex.c:594: error: passing argument 1 of ‘obex_object_delete’ from incompatible pointer type
obex_object.h:88: note: expected ‘struct obex_object *’ but argument is of type ‘void **’
obex.c: At top level:
obex.c:611: error: no previous declaration for ‘OBEX_ObjectGetSpace’
obex.c: In function ‘OBEX_ObjectGetSpace’:
obex.c:616: error: passing argument 1 of ‘obex_object_getspace’ from incompatible pointer type
obex_object.h:89: note: expected ‘struct obex *’ but argument is of type ‘void **’
obex.c:616: error: passing argument 2 of ‘obex_object_getspace’ from incompatible pointer type
obex_object.h:89: note: expected ‘struct obex_object *’ but argument is of type ‘void **’
obex.c: In function ‘OBEX_ObjectAddHeader’:
obex.c:656: error: passing argument 1 of ‘obex_object_addheader’ from incompatible pointer type
obex_object.h:90: note: expected ‘struct obex *’ but argument is of type ‘void **’
obex.c:656: error: passing argument 2 of ‘obex_object_addheader’ from incompatible pointer type
obex_object.h:90: note: expected ‘struct obex_object *’ but argument is of type ‘void **’
obex.c: In function ‘OBEX_ObjectGetNextHeader’:
obex.c:681: error: passing argument 1 of ‘obex_object_getnextheader’ from incompatible pointer type
obex_object.h:93: note: expected ‘struct obex *’ but argument is of type ‘void **’
obex.c:681: error: passing argument 2 of ‘obex_object_getnextheader’ from incompatible pointer type
obex_object.h:93: note: expected ‘struct obex_object *’ but argument is of type ‘void **’
obex.c: In function ‘OBEX_ObjectReParseHeaders’:
obex.c:700: error: passing argument 1 of ‘obex_object_reparseheaders’ from incompatible pointer type
obex_object.h:95: note: expected ‘struct obex *’ but argument is of type ‘void **’
obex.c:700: error: passing argument 2 of ‘obex_object_reparseheaders’ from incompatible pointer type
obex_object.h:95: note: expected ‘struct obex_object *’ but argument is of type ‘void **’
obex.c: In function ‘OBEX_ObjectReadStream’:
obex.c:725: error: passing argument 1 of ‘obex_object_readstream’ from incompatible pointer type
obex_object.h:105: note: expected ‘struct obex *’ but argument is of type ‘void **’
obex.c:725: error: passing argument 2 of ‘obex_object_readstream’ from incompatible pointer type
obex_object.h:105: note: expected ‘struct obex_object *’ but argument is of type ‘void **’
obex.c: In function ‘OBEX_ObjectSetRsp’:
obex.c:739: error: passing argument 1 of ‘obex_object_setrsp’ from incompatible pointer type
obex_object.h:97: note: expected ‘struct obex_object *’ but argument is of type ‘void **’
obex.c: In function ‘OBEX_ObjectGetNonHdrData’:
obex.c:752: error: request for member ‘rx_nonhdr_data’ in something not a structure or union
obex.c:755: error: request for member ‘rx_nonhdr_data’ in something not a structure or union
obex.c:756: error: request for member ‘rx_nonhdr_data’ in something not a structure or union
obex.c: In function ‘OBEX_ObjectSetNonHdrData’:
obex.c:777: error: request for member ‘tx_nonhdr_data’ in something not a structure or union
obex.c:780: error: request for member ‘tx_nonhdr_data’ in something not a structure or union
obex.c:781: error: request for member ‘tx_nonhdr_data’ in something not a structure or union
obex.c:784: error: request for member ‘tx_nonhdr_data’ in something not a structure or union
obex.c: In function ‘OBEX_ObjectSetHdrOffset’:
obex.c:803: error: request for member ‘headeroffset’ in something not a structure or union
obex.c: In function ‘OBEX_ObjectGetCommand’:
obex.c:818: error: request for member ‘object’ in something not a structure or union
obex.c:821: error: request for member ‘cmd’ in something not a structure or union
obex.c:823: error: request for member ‘object’ in something not a structure or union
obex.c: In function ‘TcpOBEX_ServerRegister’:
obex.c:896: error: passing argument 1 of ‘obex_transport_listen’ from incompatible pointer type
obex_transport.h:123: note: expected ‘struct obex *’ but argument is of type ‘void **’
obex.c: In function ‘TcpOBEX_TransportConnect’:
obex.c:917: error: request for member ‘object’ in something not a structure or union
obex.c:925: error: passing argument 1 of ‘obex_transport_connect_request’ from incompatible pointer type
obex_transport.h:121: note: expected ‘struct obex *’ but argument is of type ‘void **’
obex.c: In function ‘IrOBEX_TransportConnect’:
obex.c:968: error: implicit declaration of function ‘OBEX_EnumerateInterfaces’
obex.c:972: error: implicit declaration of function ‘OBEX_GetInterfaceByIndex’
obex.c:972: error: assignment makes pointer from integer without a cast
obex.c:973: error: ‘obex_interface_t’ has no member named ‘irda’
obex.c: In function ‘BtOBEX_ServerRegister’:
obex.c:998: error: passing argument 1 of ‘obex_transport_listen’ from incompatible pointer type
obex_transport.h:123: note: expected ‘struct obex *’ but argument is of type ‘void **’
obex.c: In function ‘BtOBEX_TransportConnect’:
obex.c:1022: error: request for member ‘object’ in something not a structure or union
obex.c:1033: error: passing argument 1 of ‘obex_transport_connect_request’ from incompatible pointer type
obex_transport.h:121: note: expected ‘struct obex *’ but argument is of type ‘void **’
obex.c: In function ‘FdOBEX_TransportSetup’:
obex.c:1055: error: request for member ‘object’ in something not a structure or union
obex.c:1059: error: request for member ‘trans’ in something not a structure or union
obex.c:1060: error: request for member ‘trans’ in something not a structure or union
obex.c:1061: error: request for member ‘trans’ in something not a structure or union
obex.c:1061: error: request for member ‘mtu_tx_max’ in something not a structure or union
obex.c:1062: error: passing argument 1 of ‘obex_transport_connect_request’ from incompatible pointer type
obex_transport.h:121: note: expected ‘struct obex *’ but argument is of type ‘void **’
obex.c: In function ‘OBEX_InterfaceConnect’:
obex.c:1081: error: request for member ‘object’ in something not a structure or union
obex.c:1087: error: request for member ‘trans’ in something not a structure or union
obex.c:1088: error: request for member ‘trans’ in something not a structure or union
obex.c:1090: error: passing argument 1 of ‘obex_transport_connect_request’ from incompatible pointer type
obex_transport.h:121: note: expected ‘struct obex *’ but argument is of type ‘void **’
obex.c: At top level:
obex.c:1101: error: no previous declaration for ‘OBEX_EnumerateInterfaces’
obex.c: In function ‘OBEX_EnumerateInterfaces’:
obex.c:1108: error: passing argument 1 of ‘obex_transport_enumerate’ from incompatible pointer type
obex_transport.h:127: note: expected ‘struct obex *’ but argument is of type ‘void **’
obex.c:1110: error: request for member ‘interfaces_number’ in something not a structure or union
obex.c: At top level:
obex.c:1120: error: no previous declaration for ‘OBEX_GetInterfaceByIndex’
obex.c:1120: error: conflicting types for ‘OBEX_GetInterfaceByIndex’
obex.c:972: note: previous implicit declaration of ‘OBEX_GetInterfaceByIndex’ was here
obex.c: In function ‘OBEX_GetInterfaceByIndex’:
obex.c:1126: error: request for member ‘interfaces_number’ in something not a structure or union
obex.c:1128: error: request for member ‘interfaces’ in something not a structure or union
obex.c: In function ‘OBEX_FreeInterfaces’:
obex.c:1146: error: request for member ‘interfaces’ in something not a structure or union
obex.c:1147: error: request for member ‘trans’ in something not a structure or union
obex.c:1148: error: request for member ‘interfaces_number’ in something not a structure or union
obex.c:1149: error: request for member ‘trans’ in something not a structure or union
obex.c:1149: error: request for member ‘interfaces’ in something not a structure or union
obex.c:1151: error: request for member ‘interfaces’ in something not a structure or union
obex.c:1152: error: request for member ‘interfaces’ in something not a structure or union
obex.c:1154: error: request for member ‘interfaces_number’ in something not a structure or union
make[2]: *** [libopenobex_la-obex.lo] Error 1
make[2]: Leaving directory `/home/dentz/git/openobex/lib'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/dentz/git/openobex'
make: *** [all] Error 2

------------------------------------------------------------------------------
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
_______________________________________________
Openobex-users mailing list
Openobex-users@lists.sourceforge.net
http://lists.sourceforge.net/lists/listinfo/openobex-users

Reply via email to