[Asterisk-Users] zaptel compile erro!(asterisk last version0.7.1)

Martin Pycko martinp at digium.com
Thu Jan 15 09:06:05 MST 2004


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 at 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
>




More information about the asterisk-users mailing list