Re: Compiling a kernel giving me fits...

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, 2002-11-28 at 05:23, Michael Schwendt wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> On Thu, 28 Nov 2002 00:15:15 +0200, Markku Kolkka wrote:
> 
> > No, there's something wrong with "make xconfig", I just tested this.
> > If I do:
> > 
> > make mrproper
> > make xconfig
> >   load kernel-2.4.18-athlon.config
> >   save and exit
> > make dep
> > make bzImage modules
> > 
> > then the compilation fails.
> 
> Does it fail or does it segfault?
> 
> I think I'll need to try reproducing this. I'm not aware of a
> problem with make xconfig that would cause GCC to produce a
> segmentation fault. If it does, that is a bug in the compiler and
> should be reported. I only know that make xconfig is a bit more
> likely to create non-working kernel config files because it is not
> as up-to-date as make menuconfig. There's at least one bug report
> about it, related to the zlib module I think, where you would end
> with missing symbols at the end.

I just tried it my original way again:

make mrproper
make xconfig
load kernel-2.4.18-i686.config
save and exit
make dep
make bzImage

At this point, compilation fails with the following output when it
happens (this includes the last couple of successful things it did):

gcc -D__KERNEL__ -I/usr/src/linux-2.4.18-18.8.0/include -Wall
-Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common
-fomit-frame-pointer -pipe -mpreferred-stack-boundary=2 -march=i686  
-nostdinc -I /usr/lib/gcc-lib/i386-redhat-linux/3.2/include
-DKBUILD_BASENAME=strstr  -c -o strstr.o strstr.c
rm -f lib.a
ar  rcs lib.a checksum.o old-checksum.o delay.o usercopy.o getuser.o
memcpy.o strstr.o
make[2]: Leaving directory `/usr/src/linux-2.4.18-18.8.0/arch/i386/lib'
make[1]: Leaving directory `/usr/src/linux-2.4.18-18.8.0/arch/i386/lib'
make[1]: Entering directory `/usr/src/linux-2.4.18-18.8.0'
kallsyms pass 1
ld -m elf_i386 -T /usr/src/linux-2.4.18-18.8.0/arch/i386/vmlinux.lds -e
stext arch/i386/kernel/head.o arch/i386/kernel/init_task.o init/main.o
init/version.o init/do_mounts.o --start-group arch/i386/kernel/kernel.o
arch/i386/mm/mm.o kernel/kernel.o mm/mm.o fs/fs.o ipc/ipc.o 
drivers/char/char.o drivers/block/block.o drivers/misc/misc.o
drivers/net/net.o drivers/media/media.o drivers/char/drm/drm.o
drivers/net/fc/fc.o drivers/net/appletalk/appletalk.o
drivers/net/tokenring/tr.o drivers/net/wan/wan.o drivers/atm/atm.o
drivers/ide/idedriver.o drivers/cdrom/driver.o drivers/pci/driver.o
drivers/net/pcmcia/pcmcia_net.o drivers/net/wireless/wireless_net.o
drivers/pnp/pnp.o drivers/video/video.o drivers/md/mddev.o
drivers/isdn/vmlinux-obj.o drivers/sensors/sensor.o net/network.o
crypto/crypto.o abi/abi.o
/usr/src/linux-2.4.18-18.8.0/arch/i386/lib/lib.a
/usr/src/linux-2.4.18-18.8.0/lib/lib.a
/usr/src/linux-2.4.18-18.8.0/arch/i386/lib/lib.a --end-group -o
.tmp_vmlinux1
fs/fs.o: In function `zisofs_readpage':
fs/fs.o(.text+0x346ec): undefined reference to `zlib_inflateInit_'
fs/fs.o(.text+0x347ee): undefined reference to `zlib_inflate'
fs/fs.o(.text+0x348a0): undefined reference to `zlib_inflateEnd'
fs/fs.o: In function `mnt_init':
fs/fs.o(.text.init+0xafc): undefined reference to `init_rootfs'
fs/fs.o: In function `zisofs_init':
fs/fs.o(.text.init+0xf61): undefined reference to
`zlib_inflate_workspacesize'
make[1]: *** [kallsyms] Error 1
make[1]: Leaving directory `/usr/src/linux-2.4.18-18.8.0'
make: *** [vmlinux] Error 2

I have seen segfaults on occasion when trying to fix this via make
xconfig. Sounds more like the problem is with xconfig --if it's broken,
trying to change anything would likely cause anything to happen.

Cheers,

Chris Williams



====================================
"If you get to thinkin' you're a person of some influence,
try orderin' someone else's dog around."
--Cowboy Wisdom




-- 
Psyche-list mailing list
Psyche-list@redhat.com
https://listman.redhat.com/mailman/listinfo/psyche-list

[Index of Archives]     [Fedora General Discussion]     [Red Hat General Discussion]     [Centos]     [Kernel]     [Red Hat Install]     [Red Hat Watch]     [Red Hat Development]     [Red Hat 9]     [Gimp]     [Yosemite News]

  Powered by Linux