From mboxrd@z Thu Jan 1 00:00:00 1970 From: jinzhao@wingtech.com (jinzhao at wingtech.com) Date: Wed, 4 Jun 2014 15:37:06 +0800 Subject: can't find References: <20140603044951.GC21381@kroah.com> <20140603054352.GA2921@kroah.com> <201406031423129081276@wingtech.com> <2089575261.1203.1401781813948.JavaMail.open-xchange@webmail.cdac.in> <201406031624232740218@wingtech.com> <201406031628268267119@wingtech.com> <1100369490.1498.1401784537504.JavaMail.open-xchange@webmail.cdac.in>, Message-ID: <201406041536051296111@wingtech.com> To: kernelnewbies@lists.kernelnewbies.org List-Id: kernelnewbies.lists.kernelnewbies.org Hi, Ayan Kumar Halder: I have changed the code to #include , compile OK now. I'll test it as you say too. Thanks! jinzhao at wingtech.com From: AYAN KUMAR HALDER Date: 2014-06-03 19:01 To: Varka Bhadram CC: kernelnewbies; jinzhao Subject: Re: Re: can't find Hi Jinzhao, Did you specify the include path ( as /usr/src/linux-headers-3.11. 0-20-generic/arch/arm/ ) with -I option while compiling your code. Regards, Ayan Kumar Halder On Tue, Jun 3, 2014 at 2:05 PM, Varka Bhadram wrote: > For which architecture you are compiling ? > > On June 3, 2014 at 1:58 PM "jinzhao at wingtech.com" > wrote: > ? > > And I can find "system.h" in the path of " > /usr/src/linux-headers-3.11.0-20-generic/arch/arm/include/asm ". > > ________________________________ > jinzhao at wingtech.com > > From: jinzhao at wingtech.com > Date: 2014-06-03 16:24 > To: Varka Bhadram; kernelnewbies > Subject: Re: Re: can't find > The kernel version is 3.11.0-20-generic > > ________________________________ > jinzhao at wingtech.com > > From: Varka Bhadram > Date: 2014-06-03 16:20 > To: kernelnewbies; jinzhao > Subject: Re: can't find > What is the kernel version that your are using? > > If the kernel version > 3.3 > #inclued asm/switch_to.h [0] > else > #include [1] > > Regards, > Varka Bhadram > > [0] : > http://lxr.free-electrons.com/source/arch/x86/include/asm/switch_to.h?v=3.4 > [1] : > http://lxr.free-electrons.com/source/arch/x86/include/asm/system.h?v=3.3 > > > On June 3, 2014 at 11:53 AM "jinzhao at wingtech.com" > wrote: > > Dears: > My system is ubuntu 12.04. In my code, I include the file , > but when compiling the code, show the error as "can't find the file or > directory asm/system.h". Why?? > > Thanks! > > > _______________________________________________ > Kernelnewbies mailing list > Kernelnewbies at kernelnewbies.org > http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies > > ------------------------------------------------------------------------------------------------------------------------------- > [ C-DAC is on Social-Media too. Kindly follow us at: > Facebook: https://www.facebook.com/CDACINDIA & Twitter: @cdacindia ] > > This e-mail is for the sole use of the intended recipient(s) and may > contain confidential and privileged information. If you are not the > intended recipient, please contact the sender by reply e-mail and destroy > all copies and the original message. Any unauthorized review, use, > disclosure, dissemination, forwarding, printing or copying of this email > is strictly prohibited and appropriate legal action will be taken. > ------------------------------------------------------------------------------------------------------------------------------- > > __________ Information from ESET NOD32 Antivirus, version of virus signature > database 9883 (20140602) __________ > > The message was checked by ESET NOD32 Antivirus. > > http://www.eset.com > > > _______________________________________________ > Kernelnewbies mailing list > Kernelnewbies at kernelnewbies.org > http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies > > ------------------------------------------------------------------------------------------------------------------------------- > [ C-DAC is on Social-Media too. Kindly follow us at: > Facebook: https://www.facebook.com/CDACINDIA & Twitter: @cdacindia ] > > This e-mail is for the sole use of the intended recipient(s) and may > contain confidential and privileged information. If you are not the > intended recipient, please contact the sender by reply e-mail and destroy > all copies and the original message. Any unauthorized review, use, > disclosure, dissemination, forwarding, printing or copying of this email > is strictly prohibited and appropriate legal action will be taken. > ------------------------------------------------------------------------------------------------------------------------------- > > _______________________________________________ > Kernelnewbies mailing list > Kernelnewbies at kernelnewbies.org > http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies > __________ Information from ESET NOD32 Antivirus, version of virus signature database 9883 (20140602) __________ The message was checked by ESET NOD32 Antivirus. http://www.eset.com -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20140604/2decc42c/attachment.html