error

hi all;
i configure a file in ubuntu 11.04 but this error occur

configure: error: *** -lm not found! ***
i enter this commands in command line
make uninstall
make clean
make distclean
"configure --disable-shared CXXFLAGS="-02 -march=i686/.
i googling for this error and i install libc6-dev but the problem does not solve

is there anyone here????
Might help if you told us what you are trying to configure.
i configure librcsc (agent2D library)
http://en.sourceforge.jp/projects/rctools/downloads/48788/librcsc-4.0.0.tar.gz/
in static mode
Configures fine on my Debian box. What is the output of "ldconfig -p | grep libm.so"?

1
2
3
4
5
6
7
# ldconfig -p | grep libm.so
        libm.so.6 (libc6,x32, OS ABI: Linux 3.4.0) => /libx32/libm.so.6
        libm.so.6 (libc6,x86-64, OS ABI: Linux 2.6.32) => /lib/x86_64-linux-gnu/libm.so.6
        libm.so.6 (libc6, OS ABI: Linux 2.6.32) => /lib32/libm.so.6
        libm.so (libc6,x32, OS ABI: Linux 3.4.0) => /usr/libx32/libm.so
        libm.so (libc6,x86-64, OS ABI: Linux 2.6.32) => /usr/lib/x86_64-linux-gnu/libm.so
        libm.so (libc6, OS ABI: Linux 2.6.32) => /usr/lib32/libm.so
Topic archived. No new replies allowed.