new upstream release of libwiimote

Bug #378089 reported by Andrew Elwell
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
libwiimote (Ubuntu)
New
Undecided
Unassigned

Bug Description

Ubuntu packages version 0.2, whereas the upstream version on http://libwiimote.sourceforge.net/ has been at 0.4 since March 10, 2007

Revision history for this message
Andrew Elwell (andrew-elwell) wrote :

OK - I managed to get the 0.4 release to compile on jaunty with the following 2 changes:
hci_remote_name -> hci_read_remote_name in both configure.in and src/wiimote_link.c

once done, autoconf works as expected

> checking for hci_remote_name in -lbluetooth... no
> configure: error: We require BlueZ

aelwell@pcitgdelwell:~/compile/libwiimote-0.4$ ./configure
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
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 a BSD-compatible install... /usr/bin/install -c
checking for hci_read_remote_name in -lbluetooth... yes
configure: creating ./config.status
config.status: creating config.mk
config.status: creating Makefile
config.status: creating src/Makefile
config.status: creating test/Makefile
aelwell@pcitgdelwell:~/compile/libwiimote-0.4$ make
make[1]: Entering directory `/home/aelwell/compile/libwiimote-0.4/src'
gcc -Os -Wall -pipe -D_ENABLE_TILT -D_ENABLE_FORCE -g -O2 -I../src -c wiimote_link.c wiimote_ir.c wiimote_event.c wiimote_io.c wiimote_report.c wiimote_api.c wiimote_error.c wiimote_speaker.c wiimote_mii.c wiimote_classic.c wiimote_nunchuk.c
ar: creating ../lib/libcwiimote.a
gcc -Os -Wall -pipe -D_ENABLE_TILT -D_ENABLE_FORCE -g -O2 -I../src wiimote_link.c wiimote_ir.c wiimote_event.c wiimote_io.c wiimote_report.c wiimote_api.c wiimote_error.c wiimote_speaker.c wiimote_mii.c wiimote_classic.c wiimote_nunchuk.c -shared -o libcwiimote.so
make[1]: Leaving directory `/home/aelwell/compile/libwiimote-0.4/src'
make[1]: Entering directory `/home/aelwell/compile/libwiimote-0.4/test'
gcc -Os -Wall -pipe -D_ENABLE_TILT -D_ENABLE_FORCE -g -O2 -I../src -o ../bin/test1 test1.c -L../lib -lcwiimote -lbluetooth -lm
gcc -Os -Wall -pipe -D_ENABLE_TILT -D_ENABLE_FORCE -g -O2 -I../src -o ../bin/test2 test2.c -L../lib -lcwiimote -lbluetooth -lm
gcc -Os -Wall -pipe -D_ENABLE_TILT -D_ENABLE_FORCE -g -O2 -I../src -o ../bin/test3 test3.c -L../lib -lcwiimote -lbluetooth -lm
gcc -Os -Wall -pipe -D_ENABLE_TILT -D_ENABLE_FORCE -g -O2 -I../src -o ../bin/test4 test4.c -L../lib -lcwiimote -lbluetooth -lm
make[1]: Leaving directory `/home/aelwell/compile/libwiimote-0.4/test'

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.