Hi there,
I'm having some issues compiling the GPU SDK 1.0 samples.
For reference I am using a Nitrogen MX6 board from Boundary Devices.
i.MX6Q rev 1.2
Linux kernel 3.0.35
Oneiric rootfs
Ubuntu
From what I can see all of the gpu libraries and symbolic links are preset (libGAL.so->libGAL-fb.so etc...).
I've tried to compile on the target (make -f Makefile-fbdev) and ran into the following error:
Cannot find bits/predefs.h No such file or directory.
Any ideas what could be the issue? I don't see any bits/predefs.h on my system. Where does the file come from?
Thanks,
Brian
Solved! Go to Solution.
In the end I've downloaded the LinuxLink timesys demo and used their installer script to get a working toolchain.
The demos cross compile correctly on my host machine now.
In the end I've downloaded the LinuxLink timesys demo and used their installer script to get a working toolchain.
The demos cross compile correctly on my host machine now.
In Ubuntu, the bit/predefs.h is in /usr/lib/arm-linux-gnueabi. So create a softlink like below will help
cd /usr/lib
ln -s /usr/lib/arm-linux-gnueabi/bits bits
Thank you for the reply. Interestingly I do not see a /usr/lib/arm-linux-gnueabi folder on my system.
I do see /usr/lib/arm-linux-gnueabihf but it does not contain a bits folder.
I did a search on my machine and found predefs.h in /usr/include/arm-linux-gnueabihf/bits. I will try out setting a soft link as you suggested when I get a chance later today. Let me know if there is something terribly wrong for the predefs.h file to be where it is. I worry that I do not have my system set up correctly.
Thanks again.