installing libudev

Phil_in_China
Anyone know how to install libudev so that I can cross compile?
My source compiles and runs OK on my x86 linux, but cannot get it
to compile for my Tiny210 using the arm cross compiler.
Thanks
Phil

Reggie
you could look at using something like buildroot.  Or qemu and the ubuntu
image.

Phil_in_China
I have installed libudev-dev from debian (armel version) using xapt and
installed the libudev.h, libudev.a, libudev.so.0 and libudev.so.0.13.0

arm-none-linux-gnueabi-g++ -o test -g Main.o ../../../lib/linux/libphil.a
-pthread -ludev
/opt/FriendlyARM/toolschain/4.5.1/lib/gcc/arm-none-linux-gnueabi/4.5.1/../../../
../arm-none-linux-gnueabi/bin/ld:
error:
/opt/FriendlyARM/toolschain/4.5.1/lib/gcc/arm-none-linux-gnueabi/4.5.1/../../../
../arm-none-linux-gnueabi/lib/libudev.a(libudev.o)
uses VFP register arguments, test does not
/opt/FriendlyARM/toolschain/4.5.1/lib/gcc/arm-none-linux-gnueabi/4.5.1/../../../
../arm-none-linux-gnueabi/bin/ld:
/opt/FriendlyARM/toolschain/4.5.1/lib/gcc/arm-none-linux-gnueabi/4.5.1/../../../
../arm-none-linux-gnueabi/lib/libudev.a(libudev.o):
Unknown mandatory EABI object attribute 44

The "error:
/opt/FriendlyARM/toolschain/4.5.1/lib/gcc/arm-none-linux-gnueabi/4.5.1/../../../
../arm-none-linux-gnueabi/lib/libudev.a(libudev.o)
uses VFP register arguments, test does not"
I use: make CROSS_COMPILE=arm-none-linux-gnueabi- 
How can I change this to remove the VFP register aguments?

The "Unknown manatory EABI object attribute 44" seems to be connection with
the DIV instruction ????
Anyway googled and read endless pages, tried many ways to fix this so far
without success.
Any help or pointers are welcomed !!!

Phil_in_China
Solved....

I was using the latest libudev 175-7-1 Wheezy version when using the
squeeze version 164-3 it compiled ok.

zhang
Could you please tell me how to install .deb on FriendlyARM board? I want
to use libudev on the board, but failed. Thank you very much.