I try to use the OProfile on XScale, but some error occurs when I want to install it.


My configuration is like this:

./configure –with-kernel-support –host=arm-linux –target=arm-linux CC=/usr/local/bin/arm-linux-gcc …


When I make the binary, the error is:

Liblegacy/liblegacy.a(opd_kernel.o)(text+0x51c): In function “opd_drop_module_sample”:


Undefined reference to “query_module”


My gcc is 3.4.3 and glibc is 2.3.2


Can you help me to deal with this problem?

Thank you.


Yours Sincerely,

Li Rao