Project

General

Profile

DSPHelloWorld won't compile

Added by Steven Hill almost 6 years ago

I am trying to compile the ARM part of DSPHelloWorld in Eclipse. Compile of arm_main is failing for really basic stuff - can't resolve printf, fgets, etc;can't resolve symbol NULL, uint16_t, etc. This must be a simple error, but I am very new to Linux and need some assistance.


Replies (4)

RE: DSPHelloWorld won't compile - Added by Dave Stehlik almost 6 years ago

Hello Steven,

I am going to assume that you have an error indicating that it can't locate an include file,
say stdio.h.

Did you follow http://support.criticallink.com/redmine/projects/arm9-platforms/wiki/DSP_Hello_World
Any variations from that guide?

Depending on where you installed things you may need to set the include path so the compiler
can find it.

Dave

RE: DSPHelloWorld won't compile - Added by Steven Hill almost 6 years ago

I'm replying to my own post - I found a problem with the lpMessageOutbound->SendMessage function. When I changed the SendMessage function to match the function in ipc_outbound.h then the project seemed to build - but it still shows errors such as cannot resolve uint16_t, can't find the appropriate function match for Register() and GetBuffer() which are tcIPCOutbound functions.

RE: DSPHelloWorld won't compile - Added by Steven Hill almost 6 years ago

To Dave Stehlik: Most of the errors disappeared when I fixed the error in the Message() functio, but I am still left with the errors mentioned in my last post. The project seems to build without errors, but Eclipse is showing the errors mentioned. I have attached the console output for the build...

console.txt View - Console output for the build (7.86 KB)

RE: DSPHelloWorld won't compile - Added by Dave Stehlik almost 6 years ago

I don't see any errors in the console.txt. Maybe eclipse has something cached and is showing errors that aren't current.
You could use the makefile to compile and eliminate eclipse: http://support.criticallink.com/redmine/attachments/download/2860
Or, if HelloWorld is there, you could always try executing it.

    (1-4/4)
    Add picture from clipboard (Maximum size: 500 MB)