config command
   ./configure --prefix=$HOME/libusb/local CC=arm-softfloat-linux-gcc LDFLAGS=-L/armtools/arm-softfloat-linux/gcc-3.3.3-glibc-2.3.2/arm-softfloat-linux/lib --host=arm-linux-gnu
   CC=arm-none-linux-gnueabi-gcc LDFLAGS=-L/opt/arm-2011.09/arm-none-linux-gnueabi/libc/lib ./configure --prefix=/home/waan/libusb/local_new --host=arm-linux-gnu

There is no CLOCK_MONOTONIC for SEC.
To compile, must comment related codes at: 

/libusb/os/linux_usbfs.c

   /* the monotonic clock is not usable on all systems (e.g. embedded ones often
    * seem to lack it). fall back to REALTIME if we have to. */
   static clockid_t find_monotonic_clock( void )
   {
       /*
        struct timespec ts;
        int r;
        */
   
       /* Linux 2.6.28 adds CLOCK_MONOTONIC_RAW but we don't use it
        * because it's not available through timerfd */
   
       /* AKCP_HACK */
       /*
        r = clock_gettime(CLOCK_MONOTONIC, &ts);
        if (r == 0) {
        return CLOCK_MONOTONIC;
        } else {
        */
       usbi_dbg("monotonic clock doesn't work, errno %d", errno);
       return CLOCK_REALTIME;
       /*
        }
        */
   }

libusbi.h
   #define DEVICE_FILENAME_LENGTH (8)

struct libusb_device:
add unsigned char device_filename[DEVICE_FILENAME_LENGTH]; before unsigned char os_priv[0];.

linux_usbfs.c
	static int enumerate_device(~):
	add strncpy(dev->device_filename, sysfs_dir, DEVICE_FILENAME_LENGTH); before discdevs = discovered_devs_append(*_discdevs, dev); to store the device name.

core.c
   API_EXPORTED unsigned char * libusb_get_device_filename(libusb_device *dev)
   {
       return dev->device_filename;
   }

libusb.h
   unsigned char * libusb_get_device_filename(libusb_device *dev);