马麟
2004-Jan-14 19:06 UTC
[Asterisk-Users] zaptel compile erro!(asterisk last version0.7.1)
erro cocent:cc -shared -Wl,-soname,libtonezone.so.1 -lm -o libtonezone.so.1.0 zonedata.lo tonezone.lo /sbin/ldconfig -n . ln -sf libtonezone.so.1 libtonezone.so cc -o ztcfg ztcfg.o -lm -L. -ltonezone ./libtonezone.so: undefined reference to `cos' ./libtonezone.so: undefined reference to `sin' ./libtonezone.so: undefined reference to `pow' collect2: ld returned 1 exit status make: *** [ztcfg] Error 1
Martin Pycko
2004-Jan-15 09:06 UTC
[Asterisk-Users] zaptel compile erro!(asterisk last version0.7.1)
you don't have libm (m for math) library ? Martin On Thu, 15 Jan 2004, [gb2312] ???? wrote:> erro cocent:cc -shared -Wl,-soname,libtonezone.so.1 -lm -o libtonezone.so.1.0 zonedata.lo tonezone.lo > /sbin/ldconfig -n . > ln -sf libtonezone.so.1 libtonezone.so > cc -o ztcfg ztcfg.o -lm -L. -ltonezone > ./libtonezone.so: undefined reference to `cos' > ./libtonezone.so: undefined reference to `sin' > ./libtonezone.so: undefined reference to `pow' > collect2: ld returned 1 exit status > make: *** [ztcfg] Error 1 > _______________________________________________ > Asterisk-Users mailing list > Asterisk-Users@lists.digium.com > http://lists.digium.com/mailman/listinfo/asterisk-users > To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-users >