"John D. Baker" <jdbaker%mylinuxisp.com@localhost> writes: > gcc -Wl,-R/usr/pkg/lib/ffmpeg010 -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -L/usr/lib -Wl,-R/usr/lib -Wl,--as-needed -Wl,-z,noexecstack -o /d0/build/pkgsrc/multimedia/ffmpeg010/work/ffmpeg-0.10.16/tmp/ffconf.869bZJIc /d0/build/pkgsrc/multimedia/ffmpeg010/work/ffmpeg-0.10.16/tmp/ffconf.Pjzpp8Un.o -lvpx -lvorbisenc -lvorbis -logg -ltheoraenc -ltheoradec -logg -lopencore-amrwb -lopencore-amrnb -lmp3lame -lfaac -lm -pthread -lbz2 -lz > /d0/build/pkgsrc/multimedia/ffmpeg010/work/.buildlink/lib/libvpx.so: undefined reference to `round' > /d0/build/pkgsrc/multimedia/ffmpeg010/work/.buildlink/lib/libvpx.so: undefined reference to `log' > /d0/build/pkgsrc/multimedia/ffmpeg010/work/.buildlink/lib/libvpx.so: undefined reference to `sqrt' > /d0/build/pkgsrc/multimedia/ffmpeg010/work/.buildlink/lib/libvpx.so: undefined reference to `log10' > /d0/build/pkgsrc/multimedia/ffmpeg010/work/.buildlink/lib/libvpx.so: undefined reference to `pow' > ERROR: libvpx decoder version must be >=0.9.1 Run ldd on libvpx.so. It should have been linked with the math library itself. on netbsd-6 i386, I get: /usr/pkg/lib/libvpx.so: -lm.0 => /usr/lib/libm.so.0 -lgcc_s.1 => /lib/libgcc_s.so.1 -lc.12 => /usr/lib/libc.so.12 -lrt.1 => /usr/lib/librt.so.1 -lpthread.1 => /usr/lib/libpthread.so.1 Surely libm on macppc must have those symbols, but you could check that too.
Attachment:
signature.asc
Description: PGP signature