Re: Compiling kernel-3.4.xxx with gcc-9.x. Need some help.

2021-04-18 Thread Willy Tarreau
On Sun, Apr 18, 2021 at 07:25:08PM +0200, Fawad Lateef wrote: > I tried booting the userspace compiled with gcc-9.1 and kernel > compiled with gcc-5.5. But seems like the kernel 3.4.111 is not > compatible with user-space compiled with gcc-9.1. > During boot getting error: "FATAL: kernel too old."

Re: Compiling kernel-3.4.xxx with gcc-9.x. Need some help.

2021-04-18 Thread Fawad Lateef
Hi Greg, (Sending again as seems like I had rich-text available by mistake, so likely my message is rejected) On Tue, 30 Mar 2021 at 15:40, Greg KH wrote: > > On Tue, Mar 30, 2021 at 03:23:10PM +0200, Fawad Lateef wrote: > > So can I still use kernel-3.4 compiled with gcc-5.5, and boot full > >

Re: Compiling kernel-3.4.xxx with gcc-9.x. Need some help.

2021-03-30 Thread Arnd Bergmann
On Tue, Mar 30, 2021 at 3:23 PM Fawad Lateef wrote: > On Mon, 29 Mar 2021 at 22:06, Arnd Bergmann wrote: > > > > On Mon, Mar 29, 2021 at 9:23 PM Fawad Lateef wrote: > > > > > > On Mon, 29 Mar 2021 at 06:57, Greg KH wrote: > > > > > > > > On Sun, Mar 28, 2021 at 10:20:50PM +0200, Fawad Lateef wr

Re: Compiling kernel-3.4.xxx with gcc-9.x. Need some help.

2021-03-30 Thread Greg KH
On Tue, Mar 30, 2021 at 03:23:10PM +0200, Fawad Lateef wrote: > So can I still use kernel-3.4 compiled with gcc-5.5, and boot full > user-space with gcc-9.1? Yes, of course. > I was expecting it to be possible but might not work due to > incompatibility? As I know that when I tried to compile bui

Re: Compiling kernel-3.4.xxx with gcc-9.x. Need some help.

2021-03-30 Thread Fawad Lateef
Hi Arnd, On Mon, 29 Mar 2021 at 22:06, Arnd Bergmann wrote: > > On Mon, Mar 29, 2021 at 9:23 PM Fawad Lateef wrote: > > > > On Mon, 29 Mar 2021 at 06:57, Greg KH wrote: > > > > > > On Sun, Mar 28, 2021 at 10:20:50PM +0200, Fawad Lateef wrote: > > > > Hi > > > > > > > > I am using an Olimex A20

Re: Compiling kernel-3.4.xxx with gcc-9.x. Need some help.

2021-03-29 Thread Arnd Bergmann
On Mon, Mar 29, 2021 at 9:23 PM Fawad Lateef wrote: > > On Mon, 29 Mar 2021 at 06:57, Greg KH wrote: > > > > On Sun, Mar 28, 2021 at 10:20:50PM +0200, Fawad Lateef wrote: > > > Hi > > > > > > I am using an Olimex A20 SOM with NAND and due to some binary blob for > > > NAND driver, I am stuck with

Re: Compiling kernel-3.4.xxx with gcc-9.x. Need some help.

2021-03-29 Thread Greg KH
On Mon, Mar 29, 2021 at 09:20:32PM +0200, Fawad Lateef wrote: > Hi Greg, > > > > On Mon, 29 Mar 2021 at 06:57, Greg KH wrote: > > > > On Sun, Mar 28, 2021 at 10:20:50PM +0200, Fawad Lateef wrote: > > > Hi > > > > > > I am using an Olimex A20 SOM with NAND and due to some binary blob for > > > N

Re: Compiling kernel-3.4.xxx with gcc-9.x. Need some help.

2021-03-29 Thread Fawad Lateef
Hi Greg, On Mon, 29 Mar 2021 at 06:57, Greg KH wrote: > > On Sun, Mar 28, 2021 at 10:20:50PM +0200, Fawad Lateef wrote: > > Hi > > > > I am using an Olimex A20 SOM with NAND and due to some binary blob for > > NAND driver, I am stuck with the sunxi kernel 3.4.xxx version. (Repo > > here: https:

Re: Compiling kernel-3.4.xxx with gcc-9.x. Need some help.

2021-03-28 Thread Greg KH
On Sun, Mar 28, 2021 at 10:20:50PM +0200, Fawad Lateef wrote: > Hi > > I am using an Olimex A20 SOM with NAND and due to some binary blob for > NAND driver, I am stuck with the sunxi kernel 3.4.xxx version. (Repo > here: https://github.com/linux-sunxi/linux-sunxi) Please work with the vendor that

Re: Compiling kernel-3.4.xxx with gcc-9.x. Need some help.

2021-03-28 Thread Fawad Lateef
On Sun, 28 Mar 2021 at 22:49, Andy Shevchenko wrote: > > > > On Sunday, March 28, 2021, Fawad Lateef wrote: >> >> Hi >> >> I am using an Olimex A20 SOM with NAND and due to some binary blob for >> NAND driver, I am stuck with the sunxi kernel 3.4.xxx version. (Repo >> here: https://github.com/lin

Compiling kernel-3.4.xxx with gcc-9.x. Need some help.

2021-03-28 Thread Fawad Lateef
Hi I am using an Olimex A20 SOM with NAND and due to some binary blob for NAND driver, I am stuck with the sunxi kernel 3.4.xxx version. (Repo here: https://github.com/linux-sunxi/linux-sunxi) I am currently using buildroot-2016 and gcc-5.5 for building the kernel and every other package needed.

Failure to distribute distcc jobs compiling kernel versions >=5.2.0

2019-10-09 Thread John
Compiling the kernel using distcc since version 5.1.16 works but versions >=5.2.0 fail to distribute jobs. This is true compiling 5.4-rc2. Whatever is causing this breakage, it has not been backported to the 4.19-lts series. I can build 4.19.78 with distcc working just fine. distcc v3.3.3 gcc v9.

Building and cross-compiling kernel source on Mac OS

2019-03-12 Thread Pintu Agarwal
Hi, I have a Mac Book Pro with macOS High Sierra 10.13.x installed (with Mac OS Extended (Journaled, Encrypted)). I also have the Xcode installed so I can compile a C program using gcc. Now, I wanted to build linux kernel code (cross compile for arm or risc-v) on Mac OS. I know this is possible,

mismatches when compiling kernel 2.6.24-git12

2008-02-02 Thread Martin Prout
The last kernel that compiled and worked for me was 2.6.24-git7. Attached are the warnings (warnings.txt) and the .config I was using for 2.6.24-git12 when it complained about mismatches. MODPOST vmlinux.o WARNING: vmlinux.o(.text+0xcd8ac): Section mismatch in re

Re: Compiling kernel 2.6.23.1 HELP

2007-10-13 Thread Willy Tarreau
On Sat, Oct 13, 2007 at 10:16:08PM +0530, animesh saxena wrote: > Hi, >I am a kernel newbie, so need some help trying to compile it. > I have fedora 7 installed. > > While compiling it, I get errors as follows. > > HOSTCC scripts/basic/fixdep > scripts/basic/fixdep.c:107:23: error: sy

Re: Compiling kernel 2.6.23.1 HELP

2007-10-13 Thread Kristoffer Ericson
Greetings, This is not the proper forum for compilation help (if nothing is broken of course). You would probably get good help asking on fedora forum (or simply do a search there). Looking at your log it seems to more reflect headers missing than anything wrong with the kernel in it self. If

Compiling kernel 2.6.23.1 HELP

2007-10-13 Thread animesh saxena
Hi, I am a kernel newbie, so need some help trying to compile it. I have fedora 7 installed. While compiling it, I get errors as follows. HOSTCC scripts/basic/fixdep scripts/basic/fixdep.c:107:23: error: sys/types.h: No such file or directory scripts/basic/fixdep.c:108:22: error: sys/s

Re: compiling Kernel Modules with debugging information enabled

2005-07-16 Thread Brice Goglin
Le 16.07.2005 19:11, k8 s a écrit : > To be more clear, say I have selected CONFIG_XFRM=y in .config file > I want to make a change such that net/xfrm/Makefile has an entry > CFLAGS += -g so that it generates debugging information for all the > modules in that directory Look at Documentation/kbui

compiling Kernel Modules with debugging information enabled

2005-07-16 Thread k8 s
Hello, How can I compile a kernel module ,that is statically compiled at the kernel compilation time, with debugging information. To be more clear, say I have selected CONFIG_XFRM=y in .config file I want to make a change such that net/xfrm/Makefile has an entry CFLAGS += -g so that it generates

Re: Errors on compiling kernel with iomega buz support

2001-07-19 Thread Alan Cox
> Any ideas when this thing will be fixed in the kernel? The buz driver is obsolete. Use a -ac kernel or 2.4.7pre if you need buz support - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.ker

scsi drive error compiling kernel-2.4.5

2001-06-17 Thread Don Werder
Hello, I just upgraded to Red Hat 7.0 from 6.2, and I am now trying to build kernel-2.4.5. After executing bzImage, at "Install db development libraries" I got the following error: aicasm_symbol.c:39:19: acidb.h: No such file or directory make[5]: *** [aicasm] Error 1 make[5]: Leaving d

Re: Problem compiling kernel 2.4.5 with gcc 2.96

2001-05-27 Thread Erik Mouw
On Sun, May 27, 2001 at 01:53:03PM +0200, Peter Klotz wrote: > When creating the modules (make modules) for my 2.4.5 kernel the compilation > aborts with the following error messages. The problem seems to be related > with Video for Linux and the Iomega Buz Driver. buz.c is broken, you need 2.4

Problem compiling kernel 2.4.5 with gcc 2.96

2001-05-27 Thread Peter Klotz
Hi folks When creating the modules (make modules) for my 2.4.5 kernel the compilation aborts with the following error messages. The problem seems to be related with Video for Linux and the Iomega Buz Driver. gcc -D__KERNEL__ -I/usr/src/linux-2.4.5/include -Wall -Wstrict-prototypes -O2 -fomit-

Re: newbie problem: compiling kernel 2.4.4, make modules_install , Help please !

2001-05-17 Thread Keith Owens
On Thu, 17 May 2001 20:50:46 +0200 (CEST), Joel Cordonnier <[EMAIL PROTECTED]> wrote: >It's the first time that i try to compile my own >kernel. At the moment, I have an old RH 6.1 with a >2.2.12 kernel. >- make modules_install ==> PROBLEM ! >FIRST the message say that no argument -F exist for >t

newbie problem: compiling kernel 2.4.4, make modules_install , Help please !

2001-05-17 Thread Joel Cordonnier
Hi ! It's the first time that i try to compile my own kernel. At the moment, I have an old RH 6.1 with a 2.2.12 kernel. I have downloaded the latest stable kernel 2.4.4 tar.gz kernel. I follow these steps: - make xonfig (a give what i need) - make dep (for dependencies) - make bzImage. All seem

Re: Compiling kernel

2001-05-02 Thread jlnance
On Wed, May 02, 2001 at 06:00:00PM +0530, [EMAIL PROTECTED] wrote: > suppose I am making some change in sched.c and now I want to build my kernel > that reflects the change.. > Is there any way I can avoid answering all the questions when I do make zImage ? > > In short how should I compile the

Re: Compiling kernel

2001-05-02 Thread Anton Altaparmakov
On Wed, 2 May 2001 [EMAIL PROTECTED] wrote: > The question may sound very stupid... But I have following doubt. > > suppose I am making some change in sched.c and now I want to build my kernel > that reflects the change.. > Is there any way I can avoid answering all the questions when I do m

Compiling kernel

2001-05-02 Thread alad
Hi, The question may sound very stupid... But I have following doubt. suppose I am making some change in sched.c and now I want to build my kernel that reflects the change.. Is there any way I can avoid answering all the questions when I do make zImage ? In short how should I compile the

Re: problem with compiling kernel 2.4.1 on top of 2.2.14

2001-01-31 Thread J . A . Magallon
On 01.31 Lukasz Gogolewski wrote: > Hello, > > Just recently I've tried to compile kernel 2.4.1 on my RH 6.2 machine > that runs 2.2.14. > All my utilities needed in order to compile that kernel are up to date. > > When I got thru xmake config and I configure all the options. I try to > compile

Re: problem with compiling kernel 2.4.1 on top of 2.2.14

2001-01-31 Thread Greg KH
On Wed, Jan 31, 2001 at 11:43:52AM -0500, Lukasz Gogolewski wrote: > > Someone please help. I need my USB and Sound Card to work. USB support is pretty good in 2.2.18 :) greg k-h -- greg@(kroah|wirex).com http://immunix.org/~greg - To unsubscribe from this list: send the line "unsubscribe lin

problem with compiling kernel 2.4.1 on top of 2.2.14

2001-01-31 Thread Lukasz Gogolewski
e in this function) make: *** [init/main.o] Error 1 This is just a part of the error messages that appear. It happens at the very beginning. Can someone help. I don't know what I'm doing wrong. Since in the past I've compiled kernel 2.4.0 w/o any problems. I even reinstalled R

Re: problem with Compiling kernel sources.

2000-10-11 Thread David Relson
Hiren, The gcc-2.96 released with RedHat 7.0 is a development snapshot of the compiler, not an offical gcc release. It has some changes which makes it impossible to build a kernel. RedHat 7.0 also includes a rpm with kgcc ( "Kernel GCC" ) which provides the compile you should use for this ta

problem with Compiling kernel sources.

2000-10-11 Thread hiren_mehta
Hi All, Just 2 days back I bought RedHat Linux7. And I was trying to build the kernel (make bzImage). But the build failed. It looks like the compiler issue. But I am not sure and hence, I have posted this on this list. Well, I tried one more thing. The RedHat Linux7 came with gcc package gcc-2

Re: compiling kernel and modules issues

2000-10-09 Thread Alan Cox
> make xconfig > make dep > make clean [make bzImage] you need the kernel image here > make modules > make modules_install > edit /etc/lilo.conf and add lilo header. - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] Please re

Re: compiling kernel and modules issues

2000-10-03 Thread lkml recipient
On Tue, 3 Oct 2000, Tom Cheung wrote: > Would anyone tell me how can I update the kernel and modules > simultaneously without losing previous installed modules.Thanks a lot !! Hi. Let me first say that although I'm subscribed to lkml, I'm really only an aspiring kernel hacker, not in any way a g

Re: compiling kernel and modules issues

2000-10-03 Thread Keith Owens
On Tue, 03 Oct 2000 16:17:54 +0800, Tom Cheung <[EMAIL PROTECTED]> wrote: >make mrproper >make xconfig >make dep >make clean >make modules >make modules_install >edit /etc/lilo.conf and add lilo header. > >Then after reboot I only see net directory under new modules directory >/lib/modules/2.2-17

compiling kernel and modules issues

2000-10-03 Thread Tom Cheung
Hello Everyone: The kernel(2.2.14) seems to be no problem when newly installing RedHat 6.2 Then I download new kernel(2.2.17) for updating kernel. Before update I see the modules are OK in directory /lib/modules/kernel-version. Then I extract the 2.2.17 kernel source code in the /usr/src and re