Failed to compile for android due to "undefined reference to 'vorbis_encode_init'"

Hello, I’m now meet a problem:
I write a converter to convert PCM data to OGG, On Windows, it works fine. but once I try to compile it for Android, It says “undefined reference to ‘vorbis_encode_init’”.


It’s strange because there only have vorbis_encode_init undefined, other functions from libvorbis work fine. once I commit it the code will compile successfully(but I think it won’t work.).
I want to know why it can not be used on Android and how to make it works. maybe I should download another libvorbis instead of using the one that contained by the engine?