# undefined reference to \`FMOD\_System\_Create'

**URL:** <https://qa.fmod.com/t/undefined-reference-to-fmod-system-create/12418>\
**Category:** FMOD Engine\
**Created:** [March 30, 2016, 10:07am UTC](https://qa.fmod.com/t/undefined-reference-to-fmod-system-create/12418 "2016-03-30T10:07:32Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![wqchung](https://avatars.discourse-cdn.com/v4/letter/w/bb73d2/32.png) [@wqchung](https://qa.fmod.com/u/wqchung)\
**Post date:** [March 30, 2016, 10:07am UTC](https://qa.fmod.com/t/undefined-reference-to-fmod-system-create/12418/1 "2016-03-30T10:07:32Z")

</div>

Dears,  
I write a test sample that call fmod api, but it always occur undefined error as below. I am sure i have line to so file in the Android.mk. could you help me?  
thanks a lot.

I have another question. before i use native c to write a sample code, and it’s a pure c execute file. I don’t import fmod.jar, then it would occur fmod init failed. It means if i want to write a sample code to play music, it must be a apk file, right?

Error:(33) undefined reference to `FMOD\_System\_Create’

my sample code download path:[https://mega.nz/#!7hQGXJoK!IAwkmi3pQ-L6uS4ExFbdDGn1yaFexZ2geN7MU3Hz23s](https://mega.nz/#!7hQGXJoK!IAwkmi3pQ-L6uS4ExFbdDGn1yaFexZ2geN7MU3Hz23s)

---

<div class="post-metadata">

**Author:** ![mathew](https://yyz2.discourse-cdn.com/flex036/user_avatar/qa.fmod.com/mathew/32/431_2.png) [@mathew](https://qa.fmod.com/u/mathew)\
**Post date:** [April 1, 2016, 5:51am UTC](https://qa.fmod.com/t/undefined-reference-to-fmod-system-create/12418/2 "2016-04-01T05:51:29Z")

</div>

The error sounds like your compiler cannot find the FMOD library, therefore cannot find the FMOD\_System\_Create symbol. I recommend double checking your build setup to ensure the library is being found.

Regarding your second question, yes your application must be a proper APK that includes the fmod.jar or System::init will fail.
