Asterisk on arm

i want to port the asterisk on my arm. when i cross compile it ,the info apperance as follow:

rm-linux/bin/ld: erro:/usr/local/xscale/3.3.3-kernel-2.6.4/lib/gcc-lib/arm-linux/3.3.3/crtendS.o use Hard FP,but use Soft FP: failed to merge target specific data of file /usr/local/xscale/3.3.3-kernel-2.6.4/lib/gcc-lib/arm-linux/3.3.3/crtendS.o

i use s3c2410 arm ,and i want to use scratchbox cross compiler ,but i didn’t know where put the lib ,such as termcap ,ncurses and openssl , i cross compiled these libs ,but the compiler could’ not find these libs ,tell my what shall i do? thanks