I was trying to build a new version of the meegotouch-applauncherd
package, and ran into this:
|
/usr/bin/c++ -O3 -static CMakeFiles/fala_gettime.dir/fala_gettime.cpp.o
-o fala_gettime
/usr/bin/ld: cannot find -lm
collect2: ld returned 1 exit status|
The binary it is trying to build is a simple time stamping program which
we want to start up as quickly as possible, hence the static linking.
I presume the error is caused by missing libm.a. I don't have a recent
MeeGo image handy, but at least in the pre-1.1 image I do have there was
no such file. Is there some package that provides it?
A related issue is that I do not explicitly give -lm, it is implicitly
given by /usr/bin/c++. It seems to me that the package providing c++
should depend on the package providing libm.a.
--
Pertti
_______________________________________________
MeeGo-dev mailing list
[email protected]
http://lists.meego.com/listinfo/meego-dev