- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi all,
I am trying to compile the gpio driver which comes with ds-5 examples .when i try to run the make file for it .it doesnt compile and says missing linux/init.h no such file .on googling i redirected make file to downloaded kernel source bt then it finds init.h bt gives errors in init.h itself .i am using linaro tool chain that comes with yocto source package to cross compile for cyclone v on my ubuntu host machine. Is there any source code and compiler version mismatch issue?? Plz helpLink Copied
1 Reply
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Folks ..we solved the problem finally.earlier i was using the linaro tool chain provided with yocto source package to cross compile the driver bt when i used cross compiler
provided with the ds-5 design suite ,the driver module compiled correctly :) what i can conclude is that there was some version mismatch between kernel source header files and compiler as i can think of ..rest if anyone can give good explainations plz feel free to :)
Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page