Re: 2.4.15-pre4 compile problem

From: Slo Mo Snail (slomosnail@gmx.net)
Date: Mon Nov 12 2001 - 15:34:35 EST


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi
Am Montag, 12. November 2001 20:39 schrieb Daniel I. Applebaum:
> While compiling 2.4.15-pre4:
> +++++++++++++++
> 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 setup.o setup.c
> setup.c: In function `c_start':
> setup.c:2791: subscripted value is neither array nor pointer
> setup.c:2792: warning: control reaches end of non-void function
> gmake[1]: *** [setup.o] Error 1
> gmake[1]: Leaving directory `/usr/src/linux/arch/i386/kernel'
> gmake: *** [_dir_arch/i386/kernel] Error 2
> +++++++++++++++++
I have exactly the same problem...
Strange, that nobody else has reported it, yet ;)
I use gcc-2.95.3 and binutils 2.11.92.0.7 on a LFS
I'll send you my .config but I don't think it's a config-specific problem

> Do I have to generate my .config from scatch each time, or can I copy
> 2.4.14/.config to 2.4.15-pre4/.config and run 'gmake menuconfig'?
> (I've been doing the latter.)

I think this should work but it's better when you copy you .config and run a
make oldconfig in the new kernel tree to avoid errors
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQE78DJfvIHrJes3kVIRApLEAJ9/p3nhPxL7Hc5jFBDmdQX2iMM8xgCeOx/w
sIpKyjuFaAJ13ZXeYsYglbA=
=Hecv
-----END PGP SIGNATURE-----



-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Thu Nov 15 2001 - 21:00:30 EST