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


aelw...@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
aelw...@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'

-- 
new upstream release of libwiimote
https://bugs.launchpad.net/bugs/378089
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to