Nios® V/II Embedded Design Suite (EDS)
Support for Embedded Development Tools, Processors (SoCs and Nios® V/II processor), Embedded Development Suites (EDSs), Boot and Configuration, Operating Systems, C and C++
Announcements
All support for Intel NUC 7 - 13 systems has transitioned to ASUS. Read latest update.
12578 Discussions

Gpio driver example code for cyclone 5 not able to compile ...kernel headers missing

Altera_Forum
Honored Contributor II
990 Views

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 help
0 Kudos
1 Reply
Altera_Forum
Honored Contributor II
288 Views

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 :)
0 Kudos
Reply