View Single Post
  #14  
Old 30th May 2007, 00:13
modul8r modul8r is offline
Junior Member
 
Join Date: May 2007
Posts: 10
Thanks: 4
Thanked 0 Times in 0 Posts
Default

I just re-installed Debian 3.1 r4 then ran the command "apt-get install gcc-2.95" before following your instructions.

Now I'm getting a different error after I enter the "fakeroot make-kpkg --revision=custom.1.0 kernel_image" command:

/usr/bin/make ARCH=i386 \
bzImage
make[1]: Entering directory `/usr/src/linux'
gcc -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -o scripts/split-include scripts/split-include.c
scripts/split-include include/linux/autoconf.h include/config
gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fomit-frame-pointer -fno-strict-aliasing -fno-common -pipe -mpreferred-stack-boundary=2 -march=i686 -c -o init/main.o init/main.c
In file included from /usr/src/linux/include/linux/prefetch.h:13,
from /usr/src/linux/include/linux/list.h:6,
from /usr/src/linux/include/linux/wait.h:14,
from /usr/src/linux/include/linux/fs.h:12,
from /usr/src/linux/include/linux/capability.h:17,
from /usr/src/linux/include/linux/binfmts.h:5,
from /usr/src/linux/include/linux/sched.h:9,
from /usr/src/linux/include/linux/mm.h:4,
from /usr/src/linux/include/linux/slab.h:14,
from /usr/src/linux/include/linux/proc_fs.h:5,
from init/main.c:15:
/usr/src/linux/include/asm/processor.h:73: error: array type has incomplete element type
In file included from /usr/src/linux/include/linux/fs.h:200,
from /usr/src/linux/include/linux/capability.h:17,
from /usr/src/linux/include/linux/binfmts.h:5,
from /usr/src/linux/include/linux/sched.h:9,
from /usr/src/linux/include/linux/mm.h:4,
from /usr/src/linux/include/linux/slab.h:14,
from /usr/src/linux/include/linux/proc_fs.h:5,
from init/main.c:15:
/usr/src/linux/include/asm/byteorder.h:14: warning: type qualifiers ignored on function return type
/usr/src/linux/include/asm/byteorder.h:28: warning: type qualifiers ignored on function return type
In file included from /usr/src/linux/include/linux/byteorder/little_endian.h:11,
from /usr/src/linux/include/asm/byteorder.h:45,
from /usr/src/linux/include/linux/fs.h:200,
from /usr/src/linux/include/linux/capability.h:17,
from /usr/src/linux/include/linux/binfmts.h:5,
from /usr/src/linux/include/linux/sched.h:9,
from /usr/src/linux/include/linux/mm.h:4,
from /usr/src/linux/include/linux/slab.h:14,
from /usr/src/linux/include/linux/proc_fs.h:5,
from init/main.c:15:
/usr/src/linux/include/linux/byteorder/swab.h:132: warning: type qualifiers ignored on function return type
/usr/src/linux/include/linux/byteorder/swab.h:145: warning: type qualifiers ignored on function return type
/usr/src/linux/include/linux/byteorder/swab.h:159: warning: type qualifiers ignored on function return type
In file included from /usr/src/linux/include/linux/fs.h:313,
from /usr/src/linux/include/linux/capability.h:17,
from /usr/src/linux/include/linux/binfmts.h:5,
from /usr/src/linux/include/linux/sched.h:9,
from /usr/src/linux/include/linux/mm.h:4,
from /usr/src/linux/include/linux/slab.h:14,
from /usr/src/linux/include/linux/proc_fs.h:5,
from init/main.c:15:
/usr/src/linux/include/linux/ncp_fs_i.h:26: warning: 'packed' attribute ignored for field of type '__u8'
/usr/src/linux/include/linux/ncp_fs_i.h:27: warning: 'packed' attribute ignored for field of type '__u8[6]'
In file included from /usr/src/linux/include/linux/ncp_mount.h:12,
from /usr/src/linux/include/linux/ncp_fs_sb.h:12,
from /usr/src/linux/include/linux/fs.h:689,
from /usr/src/linux/include/linux/capability.h:17,
from /usr/src/linux/include/linux/binfmts.h:5,
from /usr/src/linux/include/linux/sched.h:9,
from /usr/src/linux/include/linux/mm.h:4,
from /usr/src/linux/include/linux/slab.h:14,
from /usr/src/linux/include/linux/proc_fs.h:5,
from init/main.c:15:
/usr/src/linux/include/linux/ncp.h:24: warning: 'packed' attribute ignored for field of type '__u8'
/usr/src/linux/include/linux/ncp.h:25: warning: 'packed' attribute ignored for field of type '__u8'
/usr/src/linux/include/linux/ncp.h:26: warning: 'packed' attribute ignored for field of type '__u8'
/usr/src/linux/include/linux/ncp.h:27: warning: 'packed' attribute ignored for field of type '__u8'
/usr/src/linux/include/linux/ncp.h:28: warning: 'packed' attribute ignored for field of type '__u8'
/usr/src/linux/include/linux/ncp.h:29: warning: 'packed' attribute ignored for field of type '__u8[]'
/usr/src/linux/include/linux/ncp.h:37: warning: 'packed' attribute ignored for field of type '__u8'
/usr/src/linux/include/linux/ncp.h:38: warning: 'packed' attribute ignored for field of type '__u8'
/usr/src/linux/include/linux/ncp.h:39: warning: 'packed' attribute ignored for field of type '__u8'
/usr/src/linux/include/linux/ncp.h:40: warning: 'packed' attribute ignored for field of type '__u8'
/usr/src/linux/include/linux/ncp.h:41: warning: 'packed' attribute ignored for field of type '__u8'
/usr/src/linux/include/linux/ncp.h:42: warning: 'packed' attribute ignored for field of type '__u8'
/usr/src/linux/include/linux/ncp.h:43: warning: 'packed' attribute ignored for field of type '__u8[]'
/usr/src/linux/include/linux/ncp.h:137: warning: 'packed' attribute ignored for field of type '__u8'
/usr/src/linux/include/linux/ncp.h:138: warning: 'packed' attribute ignored for field of type '__u8[256]'
/usr/src/linux/include/linux/ncp.h:174: warning: 'packed' attribute ignored for field of type '__u8'
In file included from /usr/src/linux/include/asm/smp.h:17,
from /usr/src/linux/include/linux/smp.h:14,
from /usr/src/linux/include/linux/sched.h:23,
from /usr/src/linux/include/linux/mm.h:4,
from /usr/src/linux/include/linux/slab.h:14,
from /usr/src/linux/include/linux/proc_fs.h:5,
from init/main.c:15:
/usr/src/linux/include/asm/mpspec.h:86: warning: 'packed' attribute ignored for field of type 'unsigned char[6]'
In file included from /usr/src/linux/include/linux/sched.h:23,
from /usr/src/linux/include/linux/mm.h:4,
from /usr/src/linux/include/linux/slab.h:14,
from /usr/src/linux/include/linux/proc_fs.h:5,
from init/main.c:15:
/usr/src/linux/include/linux/smp.h:29: error: conflicting types for 'smp_send_reschedule'
/usr/src/linux/include/asm/smp.h:65: error: previous declaration of 'smp_send_reschedule' was here
In file included from /usr/src/linux/include/linux/unistd.h:9,
from init/main.c:17:
/usr/src/linux/include/asm/unistd.h:348: warning: conflicting types for built-in function '_exit'
make[1]: *** [init/main.o] Error 1
make[1]: Leaving directory `/usr/src/linux'
make: *** [debian/stamp-build-kernel] Error 2
debian:/usr/src/linux#
Reply With Quote