View previous topic :: View next topic |
Author |
Message |
lateralus01 Tux's lil' helper
Joined: 24 Jan 2008 Posts: 86
|
Posted: Mon Jun 30, 2008 4:52 pm Post subject: I just can't compile a 2.4 kernel! |
|
|
I am already running a 2.4.34 kernel on my xbox but I need to downgrade it to at least a 2.4.26. I need to use a 2.4 kernel because I'm running gentoo on my xbox and 2.6 kernels just have way too many issues. The problem is I haven't been able to successfully compile any 2.4 kernel. All I have done is downloaded and unpacked the fresh kernel source (linux-2.4.26), made /usr/src/linux point to the right directory, and then ran genkernel --menuconfig all (and by the way I didn't change anything with menuconfig i just saved it).
Here's what I get:
Code: |
Saving your kernel configuration...
*** End of Linux kernel configuration.
*** Check the top-level Makefile for additional configuration.
*** Next, you must run 'make dep'.
* kernel: >> Making dependencies...
* >> Compiling 2.4.26 bzImage...
* ERROR: Failed to compile the "bzImage" target...
* -- Grepping log... --
* Linux Kernel 2.4.26 for x86...
* kernel: >> Running mrproper...
COMMAND: make -j2 CC="gcc" LD="ld" AS="as"
make[1]: Entering directory `/usr/src/linux-2.4.26/arch/i386/boot'
make[1]: warning: jobserver unavailable: using -j1. Add `+' to parent make rule.
--
*
* Some SCSI devices (e.g. CD jukebox) support multiple LUNs
*
Enable extra checks in new queueing code (CONFIG_SCSI_DEBUG_QUEUES) [Y/n/?]
Probe all LUNs on each SCSI device (CONFIG_SCSI_MULTI_LUN) [Y/n/?]
Verbose SCSI error reporting (kernel size +=12K) (CONFIG_SCSI_CONSTANTS) [Y/n/?]
--
*
* Fusion MPT device support
*
Fusion MPT (base + ScsiHost) drivers (CONFIG_FUSION) [M/n/?]
Maximum number of scatter gather entries (CONFIG_FUSION_MAX_SGE) [40]
Enhanced SCSI error reporting (CONFIG_FUSION_ISENSE) [M/n/?]
--
*** Next, you must run 'make dep'.
* kernel: >> Cleaning...
COMMAND: make -j2 CC="gcc" LD="ld" AS="as"
make[1]: Entering directory `/usr/src/linux-2.4.26/arch/i386/boot'
make[1]: warning: jobserver unavailable: using -j1. Add `+' to parent make rule.
--
COMMAND: make j1 menuconfig
* kernel: >> Making dependencies...
COMMAND: make -j2 CC="gcc" LD="ld" AS="as"
gcc -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -o scripts/mkdep scripts/mkdep.c
make[1]: Entering directory `/usr/src/linux-2.4.26/arch/i386/boot'
make[1]: warning: jobserver unavailable: using -j1. Add `+' to parent make rule.
--
/usr/src/linux-2.4.26/scripts/mkdep -D__KERNEL__ -I/usr/src/linux-2.4.26/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -pipe -mpreferred-stack-boundary=2 -march=i586 -nostdinc -iwithprefix include -- core.c crc.c sock.c tty.c > .depend
make[6]: Leaving directory `/usr/src/linux-2.4.26/net/bluetooth/rfcomm'
make[5]: Leaving directory `/usr/src/linux-2.4.26/net/bluetooth'
make[4]: Leaving directory `/usr/src/linux-2.4.26/net/bluetooth'
make -C bridge fastdep
md5sum: WARNING: 1 of 13 computed checksums did NOT match
--
make[6]: Entering directory `/usr/src/linux-2.4.26/drivers/scsi/aacraid'
/usr/src/linux-2.4.26/scripts/mkdep -D__KERNEL__ -I/usr/src/linux-2.4.26/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -pipe -mpreferred-stack-boundary=2 -march=i586 -I/usr/src/linux-2.4.26/drivers/scsi -nostdinc -iwithprefix include -- aachba.c aacraid.h commctrl.c comminit.c commsup.c dpcsup.c linit.c rx.c sa.c > .depend
make[6]: Leaving directory `/usr/src/linux-2.4.26/drivers/scsi/aacraid'
make -C aic7xxx fastdep
make[6]: Entering directory `/usr/src/linux-2.4.26/drivers/scsi/aic7xxx'
/usr/src/linux-2.4.26/scripts/mkdep -D__KERNEL__ -I/usr/src/linux-2.4.26/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -pipe -mpreferred-stack-boundary=2 -march=i586 -I/usr/src/linux-2.4.26/drivers/scsi -Werror -nostdinc -iwithprefix include -- aic7770.c aic7770_osm.c aic79xx.h aic79xx_core.c aic79xx_inline.h aic79xx_osm.c aic79xx_osm.h aic79xx_osm_pci.c aic79xx_pci.c aic79xx_proc.c aic79xx_reg.h aic79xx_reg_print.c aic79xx_seq.h aic7xxx.h aic7xxx_93cx6.c aic7xxx_93cx6.h aic7xxx_core.c aic7xxx_inline.h aic7xxx_osm.c aic7xxx_osm.h aic7xxx_osm_pci.c aic7xxx_pci.c aic7xxx_proc.c aic7xxx_reg.h aic7xxx_reg_print.c aic7xxx_seq.h aiclib.c aiclib.h cam.h queue.h scsi_iu.h scsi_message.h > .depend
--
from /usr/src/linux-2.4.26/include/linux/sched.h:9,
from /usr/src/linux-2.4.26/include/linux/mm.h:4,
from /usr/src/linux-2.4.26/include/linux/slab.h:14,
from /usr/src/linux-2.4.26/include/linux/proc_fs.h:5,
from init/main.c:15:
/usr/src/linux-2.4.26/include/asm/byteorder.h:14: warning: type qualifiers ignored on function return type
--
from /usr/src/linux-2.4.26/include/linux/binfmts.h:5,
from /usr/src/linux-2.4.26/include/linux/sched.h:9,
from /usr/src/linux-2.4.26/include/linux/mm.h:4,
from /usr/src/linux-2.4.26/include/linux/slab.h:14,
from init/do_mounts.c:3:
/usr/src/linux-2.4.26/include/asm/byteorder.h:14: warning: type qualifiers ignored on function return type
/usr/src/linux-2.4.26/include/asm/byteorder.h:30: warning: type qualifiers ignored on function return type
/usr/src/linux-2.4.26/include/asm/byteorder.h:30: warning: type qualifiers ignored on function return type
--
from /usr/src/linux-2.4.26/include/linux/binfmts.h:5,
from /usr/src/linux-2.4.26/include/linux/sched.h:9,
from /usr/src/linux-2.4.26/include/linux/mm.h:4,
from /usr/src/linux-2.4.26/include/linux/slab.h:14,
from init/do_mounts.c:3:
/usr/src/linux-2.4.26/include/linux/byteorder/swab.h:160: warning: type qualifiers ignored on function return type
--
from /usr/src/linux-2.4.26/include/linux/sched.h:9,
from /usr/src/linux-2.4.26/include/linux/mm.h:4,
from /usr/src/linux-2.4.26/include/linux/slab.h:14,
from /usr/src/linux-2.4.26/include/linux/proc_fs.h:5,
from init/main.c:15:
/usr/src/linux-2.4.26/include/linux/byteorder/swab.h:160: warning: type qualifiers ignored on function return type
/usr/src/linux-2.4.26/include/linux/byteorder/swab.h:173: warning: type qualifiers ignored on function return type
/usr/src/linux-2.4.26/include/linux/byteorder/swab.h:173: warning: type qualifiers ignored on function return type
/usr/src/linux-2.4.26/include/linux/byteorder/swab.h:186: warning: type qualifiers ignored on function return type
/usr/src/linux-2.4.26/include/linux/byteorder/swab.h:200: warning: type qualifiers ignored on function return type
/usr/src/linux-2.4.26/include/linux/byteorder/swab.h:186: warning: type qualifiers ignored on function return type
/usr/src/linux-2.4.26/include/linux/byteorder/swab.h:200: warning: type qualifiers ignored on function return type
--
from /usr/src/linux-2.4.26/include/linux/binfmts.h:5,
from /usr/src/linux-2.4.26/include/linux/sched.h:9,
from /usr/src/linux-2.4.26/include/linux/mm.h:4,
from /usr/src/linux-2.4.26/include/linux/slab.h:14,
from init/do_mounts.c:3:
/usr/src/linux-2.4.26/include/asm/processor.h:75: error: array type has incomplete element type
--
from /usr/src/linux-2.4.26/include/linux/sched.h:9,
from /usr/src/linux-2.4.26/include/linux/mm.h:4,
from /usr/src/linux-2.4.26/include/linux/slab.h:14,
from /usr/src/linux-2.4.26/include/linux/proc_fs.h:5,
from init/main.c:15:
/usr/src/linux-2.4.26/include/asm/processor.h:75: error: array type has incomplete element type
--
from /usr/src/linux-2.4.26/include/linux/binfmts.h:5,
from /usr/src/linux-2.4.26/include/linux/sched.h:9,
from /usr/src/linux-2.4.26/include/linux/mm.h:4,
from /usr/src/linux-2.4.26/include/linux/slab.h:14,
from init/do_mounts.c:3:
/usr/src/linux-2.4.26/include/linux/ncp_fs_i.h:26: warning: 'packed' attribute ignored for field of type '__u8'
--
from /usr/src/linux-2.4.26/include/linux/sched.h:9,
from /usr/src/linux-2.4.26/include/linux/mm.h:4,
from /usr/src/linux-2.4.26/include/linux/slab.h:14,
from /usr/src/linux-2.4.26/include/linux/proc_fs.h:5,
from init/main.c:15:
/usr/src/linux-2.4.26/include/linux/ncp_fs_i.h:26: warning: 'packed' attribute ignored for field of type '__u8'
/usr/src/linux-2.4.26/include/linux/ncp_fs_i.h:27: warning: 'packed' attribute ignored for field of type '__u8[5u]'
/usr/src/linux-2.4.26/include/linux/ncp_fs_i.h:27: warning: 'packed' attribute ignored for field of type '__u8[5u]'
--
from /usr/src/linux-2.4.26/include/linux/sched.h:9,
from /usr/src/linux-2.4.26/include/linux/mm.h:4,
from /usr/src/linux-2.4.26/include/linux/slab.h:14,
from /usr/src/linux-2.4.26/include/linux/proc_fs.h:5,
from init/main.c:15:
/usr/src/linux-2.4.26/include/linux/ncp.h:24: warning: 'packed' attribute ignored for field of type '__u8'
/usr/src/linux-2.4.26/include/linux/ncp.h:25: warning: 'packed' attribute ignored for field of type '__u8'
/usr/src/linux-2.4.26/include/linux/ncp.h:26: warning: 'packed' attribute ignored for field of type '__u8'
/usr/src/linux-2.4.26/include/linux/ncp.h:27: warning: 'packed' attribute ignored for field of type '__u8'
/usr/src/linux-2.4.26/include/linux/ncp.h:28: warning: 'packed' attribute ignored for field of type '__u8'
/usr/src/linux-2.4.26/include/linux/ncp.h:29: warning: 'packed' attribute ignored for field of type '__u8[]'
/usr/src/linux-2.4.26/include/linux/ncp.h:37: warning: 'packed' attribute ignored for field of type '__u8'
/usr/src/linux-2.4.26/include/linux/ncp.h:38: warning: 'packed' attribute ignored for field of type '__u8'
/usr/src/linux-2.4.26/include/linux/ncp.h:39: warning: 'packed' attribute ignored for field of type '__u8'
/usr/src/linux-2.4.26/include/linux/ncp.h:40: warning: 'packed' attribute ignored for field of type '__u8'
/usr/src/linux-2.4.26/include/linux/ncp.h:41: warning: 'packed' attribute ignored for field of type '__u8'
/usr/src/linux-2.4.26/include/linux/ncp.h:42: warning: 'packed' attribute ignored for field of type '__u8'
/usr/src/linux-2.4.26/include/linux/ncp.h:43: warning: 'packed' attribute ignored for field of type '__u8[]'
/usr/src/linux-2.4.26/include/linux/ncp.h:137: warning: 'packed' attribute ignored for field of type '__u8'
/usr/src/linux-2.4.26/include/linux/ncp.h:138: warning: 'packed' attribute ignored for field of type '__u8[255u]'
/usr/src/linux-2.4.26/include/linux/ncp.h:174: warning: 'packed' attribute ignored for field of type '__u8'
--
from /usr/src/linux-2.4.26/include/linux/binfmts.h:5,
from /usr/src/linux-2.4.26/include/linux/sched.h:9,
from /usr/src/linux-2.4.26/include/linux/mm.h:4,
from /usr/src/linux-2.4.26/include/linux/slab.h:14,
from init/do_mounts.c:3:
/usr/src/linux-2.4.26/include/linux/ncp.h:24: warning: 'packed' attribute ignored for field of type '__u8'
/usr/src/linux-2.4.26/include/linux/ncp.h:25: warning: 'packed' attribute ignored for field of type '__u8'
/usr/src/linux-2.4.26/include/linux/ncp.h:26: warning: 'packed' attribute ignored for field of type '__u8'
/usr/src/linux-2.4.26/include/linux/ncp.h:27: warning: 'packed' attribute ignored for field of type '__u8'
/usr/src/linux-2.4.26/include/linux/ncp.h:28: warning: 'packed' attribute ignored for field of type '__u8'
/usr/src/linux-2.4.26/include/linux/ncp.h:29: warning: 'packed' attribute ignored for field of type '__u8[]'
/usr/src/linux-2.4.26/include/linux/ncp.h:37: warning: 'packed' attribute ignored for field of type '__u8'
/usr/src/linux-2.4.26/include/linux/ncp.h:38: warning: 'packed' attribute ignored for field of type '__u8'
/usr/src/linux-2.4.26/include/linux/ncp.h:39: warning: 'packed' attribute ignored for field of type '__u8'
/usr/src/linux-2.4.26/include/linux/ncp.h:40: warning: 'packed' attribute ignored for field of type '__u8'
/usr/src/linux-2.4.26/include/linux/ncp.h:41: warning: 'packed' attribute ignored for field of type '__u8'
/usr/src/linux-2.4.26/include/linux/ncp.h:42: warning: 'packed' attribute ignored for field of type '__u8'
/usr/src/linux-2.4.26/include/linux/ncp.h:43: warning: 'packed' attribute ignored for field of type '__u8[]'
/usr/src/linux-2.4.26/include/linux/ncp.h:137: warning: 'packed' attribute ignored for field of type '__u8'
/usr/src/linux-2.4.26/include/linux/ncp.h:138: warning: 'packed' attribute ignored for field of type '__u8[255u]'
/usr/src/linux-2.4.26/include/linux/ncp.h:174: warning: 'packed' attribute ignored for field of type '__u8'
In file included from /usr/src/linux-2.4.26/include/linux/unistd.h:9,
from init/do_mounts.c:5:
/usr/src/linux-2.4.26/include/asm/unistd.h:375: warning: conflicting types for built-in function '_exit'
In file included from /usr/src/linux-2.4.26/include/linux/unistd.h:9,
from init/main.c:17:
/usr/src/linux-2.4.26/include/asm/unistd.h:375: warning: conflicting types for built-in function '_exit'
init/do_mounts.c:54: error: static declaration of 'root_device_name' follows non-static declaration
/usr/src/linux-2.4.26/include/linux/fs.h:1568: error: previous declaration of 'root_device_name' was here
init/do_mounts.c: In function 'identify_ramdisk_image':
init/do_mounts.c:507: warning: pointer targets in passing argument 2 of 'read' differ in signedness
init/do_mounts.c:542: warning: pointer targets in passing argument 2 of 'read' differ in signedness
init/do_mounts.c: In function 'fill_inbuf':
init/do_mounts.c:1006: warning: pointer targets in passing argument 2 of 'read' differ in signedness
init/do_mounts.c: In function 'flush_window':
init/do_mounts.c:1024: warning: pointer targets in passing argument 2 of 'write' differ in signedness
In file included from /usr/src/linux-2.4.26/include/asm/smp.h:17,
from init/main.c:74:
/usr/src/linux-2.4.26/include/asm/mpspec.h:87: warning: 'packed' attribute ignored for field of type 'unsigned char[5u]'
make: *** [init/do_mounts.o] Error 1
make: *** Waiting for unfinished jobs....
make: *** [init/main.o] Error 1
* Gentoo Linux Genkernel; Version 3.4.9
* Running with options: --menuconfig all
* ERROR: Failed to compile the "bzImage" target...
* -- End log... --
* Please consult /var/log/genkernel.log for more information and any
* errors that were reported above.
* Report any genkernel bugs to bugs.gentoo.org and
* assign your bug to genkernel@gentoo.org. Please include
* as much information as you can in your bug report; attaching
* /var/log/genkernel.log so that your issue can be dealt with effectively.
*
* Please do *not* report compilation failures as genkernel bugs!
*
|
Yep all that for doing nothing
I have no clue how to fix this
Can anyone help me?
Thanks,
Lateralus01 |
|
Back to top |
|
|
poly_poly-man Advocate
Joined: 06 Dec 2006 Posts: 2477 Location: RIT, NY, US
|
Posted: Mon Jun 30, 2008 5:31 pm Post subject: |
|
|
genkernel, AFAIK, is 2.6 only. Compile manually (using 2.4 directions - they HAVE CHANGED DRAMATICALLY for 2.6)
poly-p man _________________ iVBORw0KGgoAAAANSUhEUgAAA
avatar: new version of logo - see topic 838248. Potentially still a WiP. |
|
Back to top |
|
|
lateralus01 Tux's lil' helper
Joined: 24 Jan 2008 Posts: 86
|
Posted: Mon Jun 30, 2008 6:02 pm Post subject: |
|
|
poly_poly-man wrote: | genkernel, AFAIK, is 2.6 only. Compile manually (using 2.4 directions - they HAVE CHANGED DRAMATICALLY for 2.6)
poly-p man |
Genkernel works when compiling the pre-configured kernel that came with the distro which is 2.4.34 and I still get the error running make dep; make; make modules modules_install |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|