login
Header Space

 
 

kernel-2.4 on Fedora Core-3

June 14, 2005 - 6:09am
Submitted by emanshu on June 14, 2005 - 6:09am.
Linux

Hi Folks,

i am geting a problem in compilation process of 2.4.25 kernel on fedora core 3 (FC3).

all the initial cmd works fine but make bzImage is not building up successfully.

fow: cmds works fine
make menuconfig
make dep

but problem comes in make bzImage.
i am sending the errored build Log, so, plz guys help me to get out of that problem ASAP.
**********************************************************
[root@localhost linux4]# make bzImage
gcc -D__KERNEL__ -I/usr/src/linux-2.4.25/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -fomit-frame-pointer -pipe -mpreferred-stack-boundary=2 -march=i686 -DKBUILD_BASENAME=main -c -o init/main.o init/main.c
In file included from /usr/src/linux-2.4.25/include/linux/sched.h:23,
from /usr/src/linux-2.4.25/include/linux/mm.h:4,
from /usr/src/linux-2.4.25/include/linux/slab.h:14,
from /usr/src/linux-2.4.25/include/linux/proc_fs.h:5,
from init/main.c:15:
/usr/src/linux-2.4.25/include/linux/smp.h:29: error: conflicting types for 'smp_send_reschedule'
/usr/src/linux-2.4.25/include/asm/smp.h:42: error: previous declaration of 'smp_send_reschedule' was here
/usr/src/linux-2.4.25/include/linux/smp.h:29: error: conflicting types for 'smp_send_reschedule'
/usr/src/linux-2.4.25/include/asm/smp.h:42: error: previous declaration of 'smp_send_reschedule' was here
In file included from /usr/src/linux-2.4.25/include/linux/unistd.h:9,
from init/main.c:17:
/usr/src/linux-2.4.25/include/asm/unistd.h:375: warning: conflicting types for built-in function '_exit'
make: *** [init/main.o] Error 1
[root@localhost linux4]#
******************************************************************

I will look forward for your reply.

Regards,
emanshu
"Innovative MInd:

Try compiling with gcc 2.95.

July 25, 2005 - 2:23pm
Not registred (not verified)

Try compiling with gcc 2.95. I have a script that do this for you, if u want just mail me.

gcc2.95

August 7, 2005 - 8:55pm
Azhar (not verified)

Hi, im a newbie at kernel installation, had same problem s the guy before (i.e couldnt "make" n get some error while doing the kernel configuration). My question is, is it ok if i install gcc 2.95, which means i have to overwrite it in my system, and if it is, where can i find it, since i couldnt find it in gcc-gnu website. I am using 3.4.2 20041017, and fedora core 3 by the way. is the gcc 2.95 conpatible with fedora core 3?

yea, i hv da same problem too

August 15, 2005 - 3:30am
Anonymous2002 (not verified)

yea, i hv da same problem too..
did u guys find out any solution?

I had this problem compiling

August 29, 2005 - 6:07pm
Some Guy Named Dave (not verified)

I had this problem compiling a driver against a 2.4 kernel system.

In my case, reverting to an earlier version of gcc (3.2.3 from 3.4.4) solved this problem.

Dave Thompson
UW-Madison

"Try compiling with gcc 2.95.

October 16, 2005 - 1:33pm
adriankoooo (not verified)

"Try compiling with gcc 2.95. I have a script that do this for you, if u want just mail me."

Hi, please send me this script.

Thx,

adriankoooo[a@t]centrum.cz

can u guys please help me???

February 27, 2006 - 7:43am

hii..
actually i had the same problem compiling the kernel...as posted by emanshu (june,14,2005)

The error is:
oot@localhost linux4]# make bzImage
gcc -D__KERNEL__ -I/usr/src/linux-2.4.25/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -fomit-frame-pointer -pipe -mpreferred-stack-boundary=2 -march=i686 -DKBUILD_BASENAME=main -c -o init/main.o init/main.c
In file included from /usr/src/linux-2.4.25/include/linux/sched.h:23,
from /usr/src/linux-2.4.25/include/linux/mm.h:4,
from /usr/src/linux-2.4.25/include/linux/slab.h:14,
from /usr/src/linux-2.4.25/include/linux/proc_fs.h:5,
from init/main.c:15:
/usr/src/linux-2.4.25/include/linux/smp.h:29: error: conflicting types for 'smp_send_reschedule'
/usr/src/linux-2.4.25/include/asm/smp.h:42: error: previous declaration of 'smp_send_reschedule' was here
/usr/src/linux-2.4.25/include/linux/smp.h:29: error: conflicting types for 'smp_send_reschedule'
/usr/src/linux-2.4.25/include/asm/smp.h:42: error: previous declaration of 'smp_send_reschedule' was here
In file included from /usr/src/linux-2.4.25/include/linux/unistd.h:9,
from init/main.c:17:
/usr/src/linux-2.4.25/include/asm/unistd.h:375: warning: conflicting types for built-in function '_exit'
make: *** [init/main.o] Error 1
[root@localhost linux4]#
******************************************************************

i really hope that u guys are willing to help me.
thanks.

compiling a new kernel on fedora core 3

March 10, 2006 - 8:48am
Anonymous (not verified)

Could u send me how u did it, or at least the script?
Thanks!
alain.aouad@gmail.com

Hi, I've have the same

September 6, 2007 - 11:16am
Anonymous (not verified)

Hi,
I've have the same problem when trying to go back to linux 2.4.

could you please send me the script to compile with gcc 2.95

may mail:
relloumi@serdsoft.com.tn

Thanks

hi,i too need it

May 22, 2008 - 3:06pm
Anonymous (not verified)

hi,
i am also facing the same problem.....plz mail me the script also

mail:
vsinghal555@yahoo.co.in

Neither Linux 2.4.25 nor FC3

May 22, 2008 - 7:43pm
Anonymous (not verified)

Neither Linux 2.4.25 nor FC3 are supported anymore.

Script for installing 2.4.25 on FC3

July 24, 2006 - 1:39pm
Karthik.m (not verified)

Can you please send me the script for installing 2.4.25 kernel on FC3

Why have they dropped mysql m

August 15, 2006 - 7:15am
Anonymous (not verified)

Why have they dropped mysql module in PHP basic installation in latest releases of fedora core? One has to recompile it?

No, you just only need to typ

August 16, 2006 - 8:19am
anonymous_coward (not verified)

No, you just only need to type as root:

yum install php-mysql

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
speck-geostationary