This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

CC2431 problem building application

Other Parts Discussed in Thread: CC2431, Z-STACK


I'm trying to build a test application around the cc2431 chip to test how the location engine works (i'll spare you the details, ask if you find them necessary)

i've worked with a sample project, by that i mean i used the code from a sample project and added mine.

Then i tried to compile it, which worked fine, then i tried to "make" to get a hex file to test out my application.

During linking i seem te get this error every time:

Error[e46]: Undefined external "main" referred in ?cmain ( C:\Program Files (x86)\IAR Systems\Embedded Workbench 6.5\8051\LIB\CLIB\cl-pli-nsid-1e16x01.r51 )

I have no clue whatsoever how to approach this, as i cannot read that file (not even notepad++). So i have no clue of how to solve it, or what it even signifies.

Could any of you help me?

extra info: IAR workbench 6.5, example project from Z-stack 1.1.0, example project from Z-stack 1.4.3-1.2.1 (same error)

Thanks in advance