Problem with Headers in CodeBlocks

0

I'm using CodeBlocks and testing some applications to use on FriendlyARM Mini 210s

#include "linux/fs.h"
#include "linux/cdev.h"
#include "linux/module.h"
#include "linux/kernel.h"
#include "linux/device.h"
#include "asm/uaccess.h"
#include "asm/io.h"
#include "linux/slab.h"

I installed all headers on Linux, and then I go and configure for example the path in the "Search directories" tab usr / src / include / . When I do this configuration the program does not give the error "No Such file or directory" in the code but rather an error in another header that opens, in this case linkage.h in the line:

#include <asm/linkage.h>

Remember that without any configuration it gives error in the code already in the line: #include "linux/module.h "

I then go back to "Search directories" and then I put the path to // asm / linkage and then it gives error in another header that calls another header and so on as I find the paths . Could someone give me some help?

Thank you very much in advance.

    
asked by anonymous 09.08.2018 / 16:56

0 answers