LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   ld error in -lm (https://www.linuxquestions.org/questions/linux-software-2/ld-error-in-lm-425215/)

LinToWinWin 03-15-2006 07:53 PM

ld error in -lm
 
Hi,
I tried to compile the nvmixer (nvidia mizer control) in my system. It gives the following output... It says it cant find -lm... but no problem found when i tried to compile another program with
g++ -lm newton.cpp

##############################################################
cd commonlib && make -f Makefile
make[1]: Entering directory `/home/tslssd/tmp/nvmixer/commonlib'
cc -g -O2 -Wall -I../.. -I../../main -I. -M *.c > .depend
ld -r main.o -o commain.o --start-group -L/usr/lib64 -lm --end-group
ld: cannot find -lm
make[1]: *** [commain.o] Error 1
make[1]: Leaving directory `/home/tslssd/tmp/nvmixer/commonlib'
make: *** [sub-commonlib] Error 2
##############################################################

Can anyone help me resolve this problem?


All times are GMT -5. The time now is 06:55 AM.