임베디드 | 라즈베리파이 | ARM | 리눅스 | Qt | 딥러닝




sysinfo.h:8:2: error: unknown type name '__kernel_long_t'

위와같은 에러나타나면

You just have to edit /usr/include/linux/sysinfo.h and add the following code :


#ifndef __kernel_long_t

typedef long     __kernel_long_t;

typedef unsigned long   __kernel_ulong_t;

#endif

위에것을 #include <linux/types.h> 바로아래에 넣어주라


한후 

sudo make