1

[ubuntu] error: stdio.h: No such file or directory

view story
linux-howto

http://ubuntuforums.org – when i makefile a module. i meet this problem, no such file or directory. it works if i use gcc -c. the o file appears.(i think i means the code is right). I installed the build-essential. and the stdio.h is in the direction usr/inculde/stdio.h(so the build-essential is already installed). i do not know what is going on. i tried 2 kind of Makefile both of them cannot work. Code: ifneq ($(KERNELRELEASE),)     obj-m    := d.o else     KDIR    := /lib/modules/$(shell uname -r)/build     PWD        := $(shell pwd)   (Hardware)