Hello, I'm trying to compile kernel 2.4.19. I performed "wget" and retrieved it successfully, performed "tar" and unpacked it successfully, and finally "make menuconfig" and "make dep" both work fine. But when I go to "make" or "make bzImage" i get an error as follows:
Code:
/home/neily/linux-2.4.19/include/asm/processor.h:74:26: error: array type has incomplete element type
In file included from /home/neily/linux-2.4.19/include/linux/fs.h:317:0,
                 from /home/neily/linux-2.4.19/include/linux/capability.h:17,
                 from /home/neily/linux-2.4.19/include/linux/binfmts.h:5,
                 from /home/neily/linux-2.4.19/include/linux/sched.h:9,
                 from /home/neily/linux-2.4.19/include/linux/mm.h:4,
                 from /home/neily/linux-2.4.19/include/linux/slab.h:14,
                 from /home/neily/linux-2.4.19/include/linux/proc_fs.h:5,
                 from init/main.c:15:
/home/neily/linux-2.4.19/include/linux/ncp_fs_i.h:26:2: warning: ‘packed’ attribute ignored for field of type ‘__u8’ [-Wattributes]
/home/neily/linux-2.4.19/include/linux/ncp_fs_i.h:27:2: warning: ‘packed’ attribute ignored for field of type ‘__u8[6]’ [-Wattributes]
In file included from /home/neily/linux-2.4.19/include/linux/ncp_mount.h:12:0,
                 from /home/neily/linux-2.4.19/include/linux/ncp_fs_sb.h:12,
                 from /home/neily/linux-2.4.19/include/linux/fs.h:701,
                 from /home/neily/linux-2.4.19/include/linux/capability.h:17,
                 from /home/neily/linux-2.4.19/include/linux/binfmts.h:5,
                 from /home/neily/linux-2.4.19/include/linux/sched.h:9,
                 from /home/neily/linux-2.4.19/include/linux/mm.h:4,
                 from /home/neily/linux-2.4.19/include/linux/slab.h:14,
                 from /home/neily/linux-2.4.19/include/linux/proc_fs.h:5,
                 from init/main.c:15:
/home/neily/linux-2.4.19/include/linux/ncp.h:24:2: warning: ‘packed’ attribute ignored for field of type ‘__u8’ [-Wattributes]
/home/neily/linux-2.4.19/include/linux/ncp.h:25:2: warning: ‘packed’ attribute ignored for field of type ‘__u8’ [-Wattributes]
/home/neily/linux-2.4.19/include/linux/ncp.h:26:2: warning: ‘packed’ attribute ignored for field of type ‘__u8’ [-Wattributes]
/home/neily/linux-2.4.19/include/linux/ncp.h:27:2: warning: ‘packed’ attribute ignored for field of type ‘__u8’ [-Wattributes]
/home/neily/linux-2.4.19/include/linux/ncp.h:28:2: warning: ‘packed’ attribute ignored for field of type ‘__u8’ [-Wattributes]
/home/neily/linux-2.4.19/include/linux/ncp.h:29:2: warning: ‘packed’ attribute ignored for field of type ‘__u8[]’ [-Wattributes]
/home/neily/linux-2.4.19/include/linux/ncp.h:37:2: warning: ‘packed’ attribute ignored for field of type ‘__u8’ [-Wattributes]
/home/neily/linux-2.4.19/include/linux/ncp.h:38:2: warning: ‘packed’ attribute ignored for field of type ‘__u8’ [-Wattributes]
/home/neily/linux-2.4.19/include/linux/ncp.h:39:2: warning: ‘packed’ attribute ignored for field of type ‘__u8’ [-Wattributes]
/home/neily/linux-2.4.19/include/linux/ncp.h:40:2: warning: ‘packed’ attribute ignored for field of type ‘__u8’ [-Wattributes]
/home/neily/linux-2.4.19/include/linux/ncp.h:41:2: warning: ‘packed’ attribute ignored for field of type ‘__u8’ [-Wattributes]
/home/neily/linux-2.4.19/include/linux/ncp.h:42:2: warning: ‘packed’ attribute ignored for field of type ‘__u8’ [-Wattributes]
/home/neily/linux-2.4.19/include/linux/ncp.h:43:2: warning: ‘packed’ attribute ignored for field of type ‘__u8[]’ [-Wattributes]
/home/neily/linux-2.4.19/include/linux/ncp.h:137:2: warning: ‘packed’ attribute ignored for field of type ‘__u8’ [-Wattributes]
/home/neily/linux-2.4.19/include/linux/ncp.h:138:2: warning: ‘packed’ attribute ignored for field of type ‘__u8[256]’ [-Wattributes]
/home/neily/linux-2.4.19/include/linux/ncp.h:174:2: warning: ‘packed’ attribute ignored for field of type ‘__u8’ [-Wattributes]
In file included from /home/neily/linux-2.4.19/include/asm/smp.h:17:0,
                 from /home/neily/linux-2.4.19/include/linux/smp.h:14,
                 from /home/neily/linux-2.4.19/include/linux/sched.h:23,
                 from /home/neily/linux-2.4.19/include/linux/mm.h:4,
                 from /home/neily/linux-2.4.19/include/linux/slab.h:14,
                 from /home/neily/linux-2.4.19/include/linux/proc_fs.h:5,
                 from init/main.c:15:
/home/neily/linux-2.4.19/include/asm/mpspec.h:86:2: warning: ‘packed’ attribute ignored for field of type ‘unsigned char[6]’ [-Wattributes]
In file included from /home/neily/linux-2.4.19/include/linux/sched.h:23:0,
                 from /home/neily/linux-2.4.19/include/linux/mm.h:4,
                 from /home/neily/linux-2.4.19/include/linux/slab.h:14,
                 from /home/neily/linux-2.4.19/include/linux/proc_fs.h:5,
                 from init/main.c:15:
/home/neily/linux-2.4.19/include/linux/smp.h:29:13: error: conflicting types for ‘smp_send_reschedule’
/home/neily/linux-2.4.19/include/asm/smp.h:65:13: note: previous declaration of ‘smp_send_reschedule’ was here
In file included from /home/neily/linux-2.4.19/include/linux/unistd.h:9:0,
                 from init/main.c:17:
/home/neily/linux-2.4.19/include/asm/unistd.h:365:15: warning: conflicting types for built-in function ‘_exit’ [enabled by default]
init/main.c: In function ‘start_kernel’:
init/main.c:357:2: warning: format not a string literal and no format arguments [-Wformat-security]
make: *** [init/main.o] Error 1
If you need anymore information, please let me know. Thank you.