I am trying to run the ZmodADC1410 demo directly on Ubuntu with a Petalinux built kernel running on the Eclypse Z7 board. I have successfully run the demo using SDK but want to do development directly on the device.
When I try to build the project natively I get errors, in part:
zmod.cpp:(.text+0x22): undefined reference to `fnInitZmod(unsigned int, int, void*, void*)'
zmod.cpp:(.text+0x32): undefined reference to `fnInitDMA(unsigned int, dma_direction, int)'
zmod.cpp:(.text+0x44): undefined reference to `fnInitFlash(unsigned int, unsigned short)'
All other errors are similar in that they are looking for 'fnSOMETHING()' type definitions.
Is there a file or library specifically in the sysroot files or somewhere else I am missing?
I can see the device in /sys/class/uio and the dma device.
Question
bpwilliams
I am trying to run the ZmodADC1410 demo directly on Ubuntu with a Petalinux built kernel running on the Eclypse Z7 board. I have successfully run the demo using SDK but want to do development directly on the device.
When I try to build the project natively I get errors, in part:
zmod.cpp:(.text+0x22): undefined reference to `fnInitZmod(unsigned int, int, void*, void*)'
zmod.cpp:(.text+0x32): undefined reference to `fnInitDMA(unsigned int, dma_direction, int)'
zmod.cpp:(.text+0x44): undefined reference to `fnInitFlash(unsigned int, unsigned short)'
All other errors are similar in that they are looking for 'fnSOMETHING()' type definitions.
Is there a file or library specifically in the sysroot files or somewhere else I am missing?
I can see the device in /sys/class/uio and the dma device.
Thanks!
Link to comment
Share on other sites
10 answers to this question
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now