Talk:Connecting your Windows Mobile 2005 device via USB


From SynCE-Wiki

Has anyone received this error while configuring usb-rndis-ng:

checking for LIBUSB... yes 
checking for HAL... yes
checking for location of HAL fdi files... /usr/share/hal/fdi
checking for location of HAL callouts... configure: error: not found
See `config.log' for more details.

I can skip it by using ./configure --enable-hal=no but hal would be nice
Harking 17:30, 29 November 2006 (UTC)

This'd be a tad easier on the -windowsmobile5 list, or IRC, but you should find where fdi files are kept. Use this hack to quickly find out:

cd /
find | grep hal/fdi/information/20thirdparty

I'm sure there's a better way to do this, but hey. --Jonnylamb 07:26, 1 December 2006 (UTC)

To fix the problem above, you have to install HAL development files. For example, under ubuntu: "sudo apt-get install libhal-dev"

I can't find where to submit a bug report. Here's a change I had to do in order to compile usb-rndis-ng on Dapper (see text source):

Index: src/main.c

=======================================================

--- src/main.c (revision 2696) +++ src/main.c (working copy) @@ -32,6 +32,7 @@

#include <linux/if.h>
#include <linux/if_arp.h>
#include <linux/if_tun.h>

+#include <linux/if_ether.h>

#include <linux/usbdevice_fs.h>
#ifdef HAVE_HAL
#include <libhal.h>