0 کاربر و 1 مهمان درحال مشاهده موضوع.
خب چه errorی میده؟
root@mohammad-desktop:~# gcc farzadho.c -o mmfarzadho.c:1:3: error: invalid preprocessing directive #Authorfarzadho.c:2:3: error: invalid preprocessing directive #Versionfarzadho.c:3:3: error: invalid preprocessing directive #Testedfarzadho.c:4:3: error: invalid preprocessing directive #Greetzfarzadho.c:5:3: error: invalid preprocessing directive #Codefarzadho.c:5:29: warning: missing terminating ' characterfarzadho.c:18:22: error: asm/page.h: No such file or directoryfarzadho.c: In function ‘main’:farzadho.c:199: error: ‘PAGE_SIZE’ undeclared (first use in this function)farzadho.c:199: error: (Each undeclared identifier is reported only oncefarzadho.c:199: error: for each function it appears in.)farzadho.c:209: warning: format ‘%lx’ expects type ‘long unsigned int’, but argument 2 has type ‘char *’farzadho.c:209: warning: format ‘%lx’ expects type ‘long unsigned int’, but argument 3 has type ‘char *’farzadho.c:210: warning: format ‘%lx’ expects type ‘long unsigned int’, but argument 2 has type ‘struct page *’farzadho.c:211: warning: format ‘%lx’ expects type ‘long unsigned int’, but argument 2 has type ‘struct page *’farzadho.c:229: warning: format ‘%lx’ expects type ‘long unsigned int’, but argument 2 has type ‘char *’farzadho.c:229: warning: format ‘%lx’ expects type ‘long unsigned int’, but argument 3 has type ‘char *’farzadho.c:230: warning: format ‘%lx’ expects type ‘long unsigned int’, but argument 2 has type ‘struct page *’farzadho.c:231: warning: format ‘%lx’ expects type ‘long unsigned int’, but argument 2 has type ‘struct page *’farzadho.c:246: warning: format ‘%lx’ expects type ‘long unsigned int’, but argument 2 has type ‘char *’farzadho.c:246: warning: format ‘%lx’ expects type ‘long unsigned int’, but argument 3 has type ‘char *’farzadho.c:247: warning: format ‘%lx’ expects type ‘long unsigned int’, but argument 2 has type ‘struct page *’farzadho.c:257: warning: format ‘%lx’ expects type ‘long unsigned int’, but argument 2 has type ‘char *’farzadho.c:257: warning: format ‘%lx’ expects type ‘long unsigned int’, but argument 3 has type ‘char *’